summaryrefslogtreecommitdiff
path: root/inc/TopTools.hxx
blob: 2bace37f9e503f64b3e323b7c25da2c9349d4f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TopTools_HeaderFile
#define _TopTools_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class TopoDS_Shape;
class TopTools_ShapeMapHasher;
class TopTools_OrientedShapeMapHasher;
class TopTools_MapOfShape;
class TopTools_MapOfOrientedShape;
class TopTools_IndexedMapOfShape;
class TopTools_DataMapOfIntegerShape;
class TopTools_DataMapOfOrientedShapeInteger;
class TopTools_DataMapOfShapeInteger;
class TopTools_DataMapOfShapeReal;
class TopTools_Array1OfShape;
class TopTools_HArray1OfShape;
class TopTools_Array2OfShape;
class TopTools_HArray2OfShape;
class TopTools_SequenceOfShape;
class TopTools_HSequenceOfShape;
class TopTools_ListOfShape;
class TopTools_Array1OfListOfShape;
class TopTools_HArray1OfListOfShape;
class TopTools_DataMapOfIntegerListOfShape;
class TopTools_DataMapOfShapeListOfShape;
class TopTools_DataMapOfShapeListOfInteger;
class TopTools_IndexedDataMapOfShapeShape;
class TopTools_IndexedDataMapOfShapeListOfShape;
class TopTools_DataMapOfShapeShape;
class TopTools_IndexedMapOfOrientedShape;
class TopTools_DataMapOfShapeSequenceOfShape;
class TopTools_IndexedDataMapOfShapeAddress;
class TopTools_DataMapOfOrientedShapeShape;
class TopTools_LocationSet;
class TopTools_ShapeSet;
class TopTools_StdMapNodeOfMapOfShape;
class TopTools_MapIteratorOfMapOfShape;
class TopTools_StdMapNodeOfMapOfOrientedShape;
class TopTools_MapIteratorOfMapOfOrientedShape;
class TopTools_IndexedMapNodeOfIndexedMapOfShape;
class TopTools_DataMapNodeOfDataMapOfIntegerShape;
class TopTools_DataMapIteratorOfDataMapOfIntegerShape;
class TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger;
class TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger;
class TopTools_DataMapNodeOfDataMapOfShapeInteger;
class TopTools_DataMapIteratorOfDataMapOfShapeInteger;
class TopTools_DataMapNodeOfDataMapOfShapeReal;
class TopTools_DataMapIteratorOfDataMapOfShapeReal;
class TopTools_SequenceNodeOfSequenceOfShape;
class TopTools_ListNodeOfListOfShape;
class TopTools_ListIteratorOfListOfShape;
class TopTools_DataMapNodeOfDataMapOfIntegerListOfShape;
class TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape;
class TopTools_DataMapNodeOfDataMapOfShapeListOfShape;
class TopTools_DataMapIteratorOfDataMapOfShapeListOfShape;
class TopTools_DataMapNodeOfDataMapOfShapeListOfInteger;
class TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger;
class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape;
class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape;
class TopTools_DataMapNodeOfDataMapOfShapeShape;
class TopTools_DataMapIteratorOfDataMapOfShapeShape;
class TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape;
class TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape;
class TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape;
class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress;
class TopTools_DataMapNodeOfDataMapOfOrientedShapeShape;
class TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape;


//! The  TopTools package provides   utilities for the <br>
//!          topological data structure. <br>
//! <br>
//!          * ShapeMapHasher. Hash a  Shape base on the TShape <br>
//!          and the Location. The Orientation is not used. <br>
//! <br>
//!          * OrientedShapeMapHasher. Hash a Shape base on the <br>
//!          TShape ,the Location and the Orientation. <br>
//! <br>
//!          * Instantiations of TCollection for Shapes : <br>
//!             MapOfShape <br>
//!             IndexedMapOfShape <br>
//!             DataMapOfIntegerShape <br>
//!             DataMapOfShapeInteger <br>
//!             DataMapOfShapeReal <br>
//!             Array1OfShape <br>
//!             HArray1OfShape <br>
//!             SequenceOfShape <br>
//!             HSequenceOfShape <br>
//!             ListOfShape <br>
//!             Array1OfListShape <br>
//!             HArray1OfListShape <br>
//!             DataMapOfIntegerListOfShape <br>
//!             DataMapOfShapeListOfShape <br>
//!             DataMapOfShapeListOfInteger <br>
//!             IndexedDataMapOfShapeShape <br>
//!             IndexedDataMapOfShapeListOfShape <br>
//!             DataMapOfShapeShape <br>
//!             IndexedMapOfOrientedShape <br>
//!             DataMapOfShapeSequenceOfShape <br>
//!             IndexedDataMapOfShapeAddress <br>
//!             DataMapOfOrientedShapeShape <br>
//! <br>
//!          * LocationSet : to write sets of locations. <br>
//! <br>
//!          * ShapeSet : to writes sets of TShapes. <br>
//! <br>
//!          Package Methods : <br>
//! <br>
//!            Dump : To dump the topology of a Shape. <br>
//! <br>
class TopTools  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Dumps the topological structure  of <Sh>  on the <br>
//!          stream <S>. <br>
  Standard_EXPORT   static  void Dump(const TopoDS_Shape& Sh,Standard_OStream& S) ;
  //! This is to bypass an extraction bug. It will force <br>
//!          the  inclusion    of  Standard_Integer.hxx  itself <br>
//!          including Standard_OStream.hxx  at   the   correct <br>
//!          position. <br>
  Standard_EXPORT   static  void Dummy(const Standard_Integer I) ;





protected:





private:




friend class TopTools_ShapeMapHasher;
friend class TopTools_OrientedShapeMapHasher;
friend class TopTools_MapOfShape;
friend class TopTools_MapOfOrientedShape;
friend class TopTools_IndexedMapOfShape;
friend class TopTools_DataMapOfIntegerShape;
friend class TopTools_DataMapOfOrientedShapeInteger;
friend class TopTools_DataMapOfShapeInteger;
friend class TopTools_DataMapOfShapeReal;
friend class TopTools_Array1OfShape;
friend class TopTools_HArray1OfShape;
friend class TopTools_Array2OfShape;
friend class TopTools_HArray2OfShape;
friend class TopTools_SequenceOfShape;
friend class TopTools_HSequenceOfShape;
friend class TopTools_ListOfShape;
friend class TopTools_Array1OfListOfShape;
friend class TopTools_HArray1OfListOfShape;
friend class TopTools_DataMapOfIntegerListOfShape;
friend class TopTools_DataMapOfShapeListOfShape;
friend class TopTools_DataMapOfShapeListOfInteger;
friend class TopTools_IndexedDataMapOfShapeShape;
friend class TopTools_IndexedDataMapOfShapeListOfShape;
friend class TopTools_DataMapOfShapeShape;
friend class TopTools_IndexedMapOfOrientedShape;
friend class TopTools_DataMapOfShapeSequenceOfShape;
friend class TopTools_IndexedDataMapOfShapeAddress;
friend class TopTools_DataMapOfOrientedShapeShape;
friend class TopTools_LocationSet;
friend class TopTools_ShapeSet;
friend class TopTools_StdMapNodeOfMapOfShape;
friend class TopTools_MapIteratorOfMapOfShape;
friend class TopTools_StdMapNodeOfMapOfOrientedShape;
friend class TopTools_MapIteratorOfMapOfOrientedShape;
friend class TopTools_IndexedMapNodeOfIndexedMapOfShape;
friend class TopTools_DataMapNodeOfDataMapOfIntegerShape;
friend class TopTools_DataMapIteratorOfDataMapOfIntegerShape;
friend class TopTools_DataMapNodeOfDataMapOfOrientedShapeInteger;
friend class TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger;
friend class TopTools_DataMapNodeOfDataMapOfShapeInteger;
friend class TopTools_DataMapIteratorOfDataMapOfShapeInteger;
friend class TopTools_DataMapNodeOfDataMapOfShapeReal;
friend class TopTools_DataMapIteratorOfDataMapOfShapeReal;
friend class TopTools_SequenceNodeOfSequenceOfShape;
friend class TopTools_ListNodeOfListOfShape;
friend class TopTools_ListIteratorOfListOfShape;
friend class TopTools_DataMapNodeOfDataMapOfIntegerListOfShape;
friend class TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape;
friend class TopTools_DataMapNodeOfDataMapOfShapeListOfShape;
friend class TopTools_DataMapIteratorOfDataMapOfShapeListOfShape;
friend class TopTools_DataMapNodeOfDataMapOfShapeListOfInteger;
friend class TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger;
friend class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeShape;
friend class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeListOfShape;
friend class TopTools_DataMapNodeOfDataMapOfShapeShape;
friend class TopTools_DataMapIteratorOfDataMapOfShapeShape;
friend class TopTools_IndexedMapNodeOfIndexedMapOfOrientedShape;
friend class TopTools_DataMapNodeOfDataMapOfShapeSequenceOfShape;
friend class TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape;
friend class TopTools_IndexedDataMapNodeOfIndexedDataMapOfShapeAddress;
friend class TopTools_DataMapNodeOfDataMapOfOrientedShapeShape;
friend class TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif