summaryrefslogtreecommitdiff
path: root/inc/TDF.hxx
blob: 1986fc5165ea4f44c76327689331292c253781c4 (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
241
242
243
244
245
246
247
248
249
250
251
252
// 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 _TDF_HeaderFile
#define _TDF_HeaderFile

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

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class Standard_GUID;
class TCollection_ExtendedString;
class TDF_Data;
class TDF_Label;
class TDF_Attribute;
class TDF_TagSource;
class TDF_Reference;
class TDF_ClosureMode;
class TDF_ClosureTool;
class TDF_CopyTool;
class TDF_CopyLabel;
class TDF_ComparisonTool;
class TDF_Transaction;
class TDF_Delta;
class TDF_AttributeDelta;
class TDF_DeltaOnAddition;
class TDF_DeltaOnForget;
class TDF_DeltaOnResume;
class TDF_DeltaOnRemoval;
class TDF_DeltaOnModification;
class TDF_DefaultDeltaOnRemoval;
class TDF_DefaultDeltaOnModification;
class TDF_ChildIterator;
class TDF_ChildIDIterator;
class TDF_DataSet;
class TDF_RelocationTable;
class TDF_Tool;
class TDF_LabelMapHasher;
class TDF_IDFilter;
class TDF_IDList;
class TDF_AttributeList;
class TDF_LabelList;
class TDF_AttributeDeltaList;
class TDF_DeltaList;
class TDF_AttributeSequence;
class TDF_LabelSequence;
class TDF_AttributeArray1;
class TDF_HAttributeArray1;
class TDF_IDMap;
class TDF_AttributeMap;
class TDF_AttributeDataMap;
class TDF_AttributeDoubleMap;
class TDF_AttributeIndexedMap;
class TDF_LabelMap;
class TDF_LabelDataMap;
class TDF_LabelDoubleMap;
class TDF_LabelIndexedMap;
class TDF_LabelIntegerMap;
class TDF_LabelLabelMap;
class TDF_GUIDProgIDMap;
class TDF_ListNodeOfIDList;
class TDF_ListIteratorOfIDList;
class TDF_ListNodeOfAttributeList;
class TDF_ListIteratorOfAttributeList;
class TDF_ListNodeOfLabelList;
class TDF_ListIteratorOfLabelList;
class TDF_ListNodeOfAttributeDeltaList;
class TDF_ListIteratorOfAttributeDeltaList;
class TDF_ListNodeOfDeltaList;
class TDF_ListIteratorOfDeltaList;
class TDF_SequenceNodeOfAttributeSequence;
class TDF_SequenceNodeOfLabelSequence;
class TDF_StdMapNodeOfIDMap;
class TDF_MapIteratorOfIDMap;
class TDF_StdMapNodeOfAttributeMap;
class TDF_MapIteratorOfAttributeMap;
class TDF_DataMapNodeOfAttributeDataMap;
class TDF_DataMapIteratorOfAttributeDataMap;
class TDF_DoubleMapNodeOfAttributeDoubleMap;
class TDF_DoubleMapIteratorOfAttributeDoubleMap;
class TDF_IndexedMapNodeOfAttributeIndexedMap;
class TDF_StdMapNodeOfLabelMap;
class TDF_MapIteratorOfLabelMap;
class TDF_DataMapNodeOfLabelDataMap;
class TDF_DataMapIteratorOfLabelDataMap;
class TDF_DoubleMapNodeOfLabelDoubleMap;
class TDF_DoubleMapIteratorOfLabelDoubleMap;
class TDF_IndexedMapNodeOfLabelIndexedMap;
class TDF_DataMapNodeOfLabelIntegerMap;
class TDF_DataMapIteratorOfLabelIntegerMap;
class TDF_DataMapNodeOfLabelLabelMap;
class TDF_DataMapIteratorOfLabelLabelMap;
class TDF_DoubleMapNodeOfGUIDProgIDMap;
class TDF_DoubleMapIteratorOfGUIDProgIDMap;


//! This package provides data framework for binding <br>
//!          features and data structures. <br>
//! <br>
//!          The feature structure is a tree used to bind <br>
//!          semantic informations about each feature together. <br>
//! <br>
//!          The only one concrete   attribute defined in  this <br>
//!           package is the TagSource attribute.This attribute <br>
//!          is used for  random creation of child labels under <br>
//!          a given label. Tags are randomly delivered. <br>
class TDF  {
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); 
  }

  //! Returns ID "00000000-0000-0000-0000-000000000000", <br>
//!          sometimes used as null ID. <br>
//! <br>
  Standard_EXPORT   static const Standard_GUID& LowestID() ;
  //! Returns ID "ffffffff-ffff-ffff-ffff-ffffffffffff". <br>
//! <br>
  Standard_EXPORT   static const Standard_GUID& UppestID() ;
  //! Sets link between GUID and ProgID in hidden DataMap <br>
  Standard_EXPORT   static  void AddLinkGUIDToProgID(const Standard_GUID& ID,const TCollection_ExtendedString& ProgID) ;
  //! Returns True if there is GUID for given <ProgID> then GUID is returned in <ID> <br>
  Standard_EXPORT   static  Standard_Boolean GUIDFromProgID(const TCollection_ExtendedString& ProgID,Standard_GUID& ID) ;
  //! Returns True if there is ProgID for given <ID> then ProgID is returned in <ProgID> <br>
  Standard_EXPORT   static  Standard_Boolean ProgIDFromGUID(const Standard_GUID& ID,TCollection_ExtendedString& ProgID) ;





protected:





private:




friend class TDF_Data;
friend class TDF_Label;
friend class TDF_Attribute;
friend class TDF_TagSource;
friend class TDF_Reference;
friend class TDF_ClosureMode;
friend class TDF_ClosureTool;
friend class TDF_CopyTool;
friend class TDF_CopyLabel;
friend class TDF_ComparisonTool;
friend class TDF_Transaction;
friend class TDF_Delta;
friend class TDF_AttributeDelta;
friend class TDF_DeltaOnAddition;
friend class TDF_DeltaOnForget;
friend class TDF_DeltaOnResume;
friend class TDF_DeltaOnRemoval;
friend class TDF_DeltaOnModification;
friend class TDF_DefaultDeltaOnRemoval;
friend class TDF_DefaultDeltaOnModification;
friend class TDF_ChildIterator;
friend class TDF_ChildIDIterator;
friend class TDF_DataSet;
friend class TDF_RelocationTable;
friend class TDF_Tool;
friend class TDF_LabelMapHasher;
friend class TDF_IDFilter;
friend class TDF_IDList;
friend class TDF_AttributeList;
friend class TDF_LabelList;
friend class TDF_AttributeDeltaList;
friend class TDF_DeltaList;
friend class TDF_AttributeSequence;
friend class TDF_LabelSequence;
friend class TDF_AttributeArray1;
friend class TDF_HAttributeArray1;
friend class TDF_IDMap;
friend class TDF_AttributeMap;
friend class TDF_AttributeDataMap;
friend class TDF_AttributeDoubleMap;
friend class TDF_AttributeIndexedMap;
friend class TDF_LabelMap;
friend class TDF_LabelDataMap;
friend class TDF_LabelDoubleMap;
friend class TDF_LabelIndexedMap;
friend class TDF_LabelIntegerMap;
friend class TDF_LabelLabelMap;
friend class TDF_GUIDProgIDMap;
friend class TDF_ListNodeOfIDList;
friend class TDF_ListIteratorOfIDList;
friend class TDF_ListNodeOfAttributeList;
friend class TDF_ListIteratorOfAttributeList;
friend class TDF_ListNodeOfLabelList;
friend class TDF_ListIteratorOfLabelList;
friend class TDF_ListNodeOfAttributeDeltaList;
friend class TDF_ListIteratorOfAttributeDeltaList;
friend class TDF_ListNodeOfDeltaList;
friend class TDF_ListIteratorOfDeltaList;
friend class TDF_SequenceNodeOfAttributeSequence;
friend class TDF_SequenceNodeOfLabelSequence;
friend class TDF_StdMapNodeOfIDMap;
friend class TDF_MapIteratorOfIDMap;
friend class TDF_StdMapNodeOfAttributeMap;
friend class TDF_MapIteratorOfAttributeMap;
friend class TDF_DataMapNodeOfAttributeDataMap;
friend class TDF_DataMapIteratorOfAttributeDataMap;
friend class TDF_DoubleMapNodeOfAttributeDoubleMap;
friend class TDF_DoubleMapIteratorOfAttributeDoubleMap;
friend class TDF_IndexedMapNodeOfAttributeIndexedMap;
friend class TDF_StdMapNodeOfLabelMap;
friend class TDF_MapIteratorOfLabelMap;
friend class TDF_DataMapNodeOfLabelDataMap;
friend class TDF_DataMapIteratorOfLabelDataMap;
friend class TDF_DoubleMapNodeOfLabelDoubleMap;
friend class TDF_DoubleMapIteratorOfLabelDoubleMap;
friend class TDF_IndexedMapNodeOfLabelIndexedMap;
friend class TDF_DataMapNodeOfLabelIntegerMap;
friend class TDF_DataMapIteratorOfLabelIntegerMap;
friend class TDF_DataMapNodeOfLabelLabelMap;
friend class TDF_DataMapIteratorOfLabelLabelMap;
friend class TDF_DoubleMapNodeOfGUIDProgIDMap;
friend class TDF_DoubleMapIteratorOfGUIDProgIDMap;

};





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


#endif