0023002: empty delete operator in TDF_LabelNode
[occt.git] / src / TDF / TDF.cdl
CommitLineData
b311480e 1-- Created by: DAUTRY Philippe
2-- Copyright (c) 1997-1999 Matra Datavision
3-- Copyright (c) 1999-2012 OPEN CASCADE SAS
4--
5-- The content of this file is subject to the Open CASCADE Technology Public
6-- License Version 6.5 (the "License"). You may not use the content of this file
7-- except in compliance with the License. Please obtain a copy of the License
8-- at http://www.opencascade.org and read it completely before using this file.
9--
10-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12--
13-- The Original Code and all software distributed under the License is
14-- distributed on an "AS IS" basis, without warranty of any kind, and the
15-- Initial Developer hereby disclaims all such warranties, including without
16-- limitation, any warranties of merchantability, fitness for a particular
17-- purpose or non-infringement. Please see the License for the specific terms
18-- and conditions governing the rights and limitations under the License.
19
7fd59977 20-- --------
7fd59977 21
22---Version: 0.0
b311480e 23--Version Date Purpose
7fd59977 24-- 0.0 Feb 5 1997 Creation
25
26
27package TDF
28
29 ---Purpose: This package provides data framework for binding
30 -- features and data structures.
31 --
32 -- The feature structure is a tree used to bind
33 -- semantic informations about each feature together.
34 --
35 -- The only one concrete attribute defined in this
36 -- package is the TagSource attribute.This attribute
37 -- is used for random creation of child labels under
38 -- a given label. Tags are randomly delivered.
39
40 ---Category: GUID - AttributeID
41 -- 2a96b611-ec8b-11d0-bee7-080009dc3333 TDataStd_TagSource
42
43
44uses
45
46 Standard,
47 MMgt,
48 TColStd,
49 TCollection
50
51is
52
53
54 ---Category: DF Structure Classes
55 -- ==============================================================
56
57 class Data;
58 ---Purpose: The root class of this structure.
59
60 class Label;
61 ---Purpose: A label is a feature in the structure.
62
63 imported HAllocator;
64 imported LabelNode;
65
66 pointer LabelNodePtr to LabelNode from TDF;
67
68 deferred class Attribute;
69 ---Purpose: A class each application has to implement. It is
70 -- used to contain the application data.
71
72 class TagSource;
73 ---Purpose: this attribute may be used for automatic delivery of
74 -- labels under a given label.
75
76 class Reference;
77 ---Purpose: this attribute is used to store in the framework a
78 -- reference to an other label.
79
80
81 ---Category: DF Copy algorithms
82 -- ==============================================================
83
84 class ClosureMode;
85 ---Purpose: This class provides options closure management.
86
87 class ClosureTool;
88 ---Purpose: This class gives services around the transitive
89 -- enclosure of a set of information, starting from a
90 -- list of label.
91
92 class CopyTool;
93 ---Purpose: This class gives services around copy/paste actions.
94
95 class CopyLabel;
96 ---Purpose: This class gives copy of source label hierarchy
97
98 class ComparisonTool;
99 ---Purpose: This class gives services around the comparison
100 -- between two sets of information.
101
102 ---Category: DF Transaction & Delta
103 -- ==============================================================
104
105 class Transaction;
106 ---Purpose: This class offers services to open, commit or
107 -- abort a transaction in a more secure way than
108 -- using Data from TDF.
109
110 class Delta;
111 ---Purpose: A set of AttributeDelta for a given transaction
112 -- number and reference time number.
113
114 deferred class AttributeDelta;
115 ---Purpose: Delta for a given attribute.
116
117 class DeltaOnAddition;
118 ---Purpose: Attribute delta on ADDITION action.
119
120 class DeltaOnForget;
121 ---Purpose: Attribute delta on FORGET action.
122
123 class DeltaOnResume;
124 ---Purpose: Attribute delta on RESUME action.
125
126 deferred class DeltaOnRemoval;
127 ---Purpose: Attribute delta on REMOVAL action.
128
129 deferred class DeltaOnModification;
130 ---Purpose: Attribute delta on MODIFICATION action.
131
132 class DefaultDeltaOnRemoval;
133 ---Purpose: Default implementation of TDF_DeltaOnRemoval.
134
135 class DefaultDeltaOnModification;
136 ---Purpose: Default implementation of TDF_DeltaOnModification.
137
138
139 ---Category: DF Basic Tools
140 -- ==============================================================
141
142 class ChildIterator;
143 ---Purpose: A tool to iterate on the children of a label.
144
145 class ChildIDIterator;
146 ---Purpose: A tool to iterate on the children of a label to
147 -- find attributes with an ID.
148
149 imported AttributeIterator;
150 ---Purpose: DO NOT USE THIS CLASS WITHOUT AUTHORIZATION!
151
152
153 ---Category: DF Specific Tools
154 -- ==============================================================
155
156 class DataSet;
157 ---Purpose: This class is used to build a set of DF
158 -- informations like labels or attributes.
159
160 class RelocationTable;
161 ---Purpose: Builds a attribute relocation dictionnary useful
162 -- for copy or paste actions.
163
164 class Tool;
165 ---Purpose: This class provides general services.
166
167 class LabelMapHasher;
168 ---Purpose: A label hasher for label maps.
169
170 class IDFilter;
171 ---Purpose: This class offers filtering services around an ID list.
172
173
174 ---Category: DF Classes Instantiations
175 -- ==============================================================
176
177 -- Lists
178 -- -----
179
180 class IDList instantiates List from TCollection
181 (GUID from Standard);
182
183 class AttributeList instantiates List from TCollection
184 (Attribute from TDF);
185
186 class LabelList instantiates List from TCollection
187 (Label from TDF);
188
189 class AttributeDeltaList instantiates List from TCollection
190 (AttributeDelta from TDF);
191
192 class DeltaList instantiates List from TCollection
193 (Delta from TDF);
194
195
196 -- Sequences
197 -- ---------
198
199 class AttributeSequence instantiates Sequence from TCollection
200 (Attribute from TDF);
201
202 class LabelSequence instantiates Sequence from TCollection
203 (Label from TDF);
204
205 -- Arrays
206 -- ------
207
208 class AttributeArray1 instantiates Array1 from TCollection
209 (Attribute from TDF);
210
211 class HAttributeArray1 instantiates HArray1 from TCollection
212 (Attribute from TDF,
213 AttributeArray1 from TDF);
214
215
216
217 -- Maps
218 -- ----
219
220 class IDMap instantiates Map from TCollection
221 (GUID from Standard,
222 GUID from Standard);
223
224 class AttributeMap instantiates Map from TCollection
225 (Attribute from TDF,
226 MapTransientHasher from TColStd);
227
228 class AttributeDataMap instantiates DataMap from TCollection
229 (Attribute from TDF,
230 Attribute from TDF,
231 MapTransientHasher from TColStd);
232
233 class AttributeDoubleMap instantiates DoubleMap from TCollection
234 (Attribute from TDF,
235 Attribute from TDF,
236 MapTransientHasher from TColStd,
237 MapTransientHasher from TColStd);
238
239 class AttributeIndexedMap instantiates IndexedMap from TCollection
240 (Attribute from TDF,
241 MapTransientHasher from TColStd);
242
243
244 class LabelMap instantiates Map from TCollection
245 (Label from TDF,
246 LabelMapHasher from TDF);
247
248 class LabelDataMap instantiates DataMap from TCollection
249 (Label from TDF,
250 Label from TDF,
251 LabelMapHasher from TDF);
252
253 class LabelDoubleMap instantiates DoubleMap from TCollection
254 (Label from TDF,
255 Label from TDF,
256 LabelMapHasher from TDF,
257 LabelMapHasher from TDF);
258
259 class LabelIndexedMap instantiates IndexedMap from TCollection
260 (Label from TDF,
261 LabelMapHasher from TDF);
262
263 class LabelIntegerMap instantiates DataMap from TCollection
264 (Label from TDF,
265 Integer from Standard,
266 LabelMapHasher from TDF);
267
268 class LabelLabelMap instantiates DataMap from TCollection
269 (Label from TDF,
270 Label from TDF,
271 LabelMapHasher from TDF);
272
273 class GUIDProgIDMap instantiates DoubleMap from TCollection
274 (GUID from Standard,
275 ExtendedString from TCollection,
276 GUID from Standard,
277 ExtendedString from TCollection);
278
279 ---Category: Package methods
280 -- ==============================================================
281
282 LowestID returns GUID from Standard;
283 ---Purpose: Returns ID "00000000-0000-0000-0000-000000000000",
284 -- sometimes used as null ID.
285 --
286 ---C++: return const &
287
288 UppestID returns GUID from Standard;
289 ---Purpose: Returns ID "ffffffff-ffff-ffff-ffff-ffffffffffff".
290 --
291 ---C++: return const &
292
293
294 AddLinkGUIDToProgID( ID : GUID from Standard; ProgID : ExtendedString from TCollection );
295 ---Purpose: Sets link between GUID and ProgID in hidden DataMap
296
297 GUIDFromProgID( ProgID : ExtendedString from TCollection; ID : in out GUID from Standard )
298 returns Boolean from Standard;
299 ---Purpose: Returns True if there is GUID for given <ProgID> then GUID is returned in <ID>
300
301
302 ProgIDFromGUID( ID : GUID from Standard; ProgID : in out ExtendedString from TCollection )
303 returns Boolean from Standard;
304 ---Purpose: Returns True if there is ProgID for given <ID> then ProgID is returned in <ProgID>
305
306
307end TDF;