b311480e |
1 | -- Created on: 1992-10-13 |
2 | -- Created by: Ramin BARRETO |
3 | -- Copyright (c) 1992-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
b311480e |
16 | |
7fd59977 |
17 | -- Updated J.P. TIRAULT, M. MERCIEN Nov,25 1992 |
18 | -- Adding classes |
7fd59977 |
19 | -- - Array1 |
20 | -- - Array2 |
21 | -- Updated R.LEQUETTE Jan 1993 |
22 | -- Adding of modifying classes |
23 | -- - Sequence, HSequence |
bd2de396 |
24 | -- - List |
7fd59977 |
25 | -- - BasicMap, BasicMapIterator |
26 | -- - Map, DataMap, DoubleMap, IndexedMap, IndexedDataMap |
7fd59977 |
27 | |
28 | package TCollection |
29 | |
30 | ---Purpose: The package <TCollection> provides the services for the |
31 | -- transient basic data structures. |
32 | |
33 | uses |
34 | Standard, |
35 | MMgt |
36 | is |
37 | class AsciiString; |
38 | |
39 | class ExtendedString; |
40 | |
41 | class HAsciiString; |
42 | |
43 | class HExtendedString; |
44 | |
7fd59977 |
45 | generic class Array1; |
46 | |
47 | generic class HArray1; |
7fd59977 |
48 | |
49 | generic class Array2; |
50 | |
51 | generic class HArray2; |
7fd59977 |
52 | |
7fd59977 |
53 | generic class List, ListNode, ListIterator; |
7fd59977 |
54 | |
7fd59977 |
55 | class BaseSequence; |
56 | class SeqNode; |
57 | pointer SeqNodePtr to SeqNode from TCollection; |
58 | generic class Sequence,SequenceNode; |
ff8178ef |
59 | |
7fd59977 |
60 | generic class HSequence; |
7fd59977 |
61 | |
7fd59977 |
62 | generic class MapHasher; |
ff8178ef |
63 | |
7fd59977 |
64 | private deferred class BasicMap; |
65 | private class MapNode; |
66 | pointer MapNodePtr to MapNode from TCollection; |
ff8178ef |
67 | |
7fd59977 |
68 | private deferred class BasicMapIterator; |
ff8178ef |
69 | |
7fd59977 |
70 | generic class Map, MapIterator,StdMapNode; |
7fd59977 |
71 | |
72 | generic class DataMap, DataMapIterator,DataMapNode; |
ff8178ef |
73 | |
7fd59977 |
74 | generic class DoubleMap, DoubleMapIterator, DoubleMapNode; |
ff8178ef |
75 | |
7fd59977 |
76 | generic class IndexedMap,IndexedMapNode; |
ff8178ef |
77 | |
7fd59977 |
78 | generic class IndexedDataMap,IndexedDataMapNode; |
7fd59977 |
79 | |
80 | enumeration Side is Left , Right; |
81 | |
7fd59977 |
82 | NextPrimeForMap(I : Integer) returns Integer; |
83 | ---Purpose: Returns a prime number greater than <I> suitable |
84 | -- to dimension a Map. When <I> becomes great there |
85 | -- is a limit on the result (today the limit is |
86 | -- around 1 000 000). This is not a limit of the number of |
87 | -- items but a limit in the number of buckets. i.e. |
88 | -- there will be more collisions in the map. |
89 | |
90 | end TCollection; |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | |