OCC18056 Exception during copying Array attribute with array(0,0)
[occt.git] / src / TDataStd / TDataStd.cdl
CommitLineData
7fd59977 1-- File: TDataStd.cdl
2-- Created: Wed May 10 10:48:16 1995
3-- Author: Denis PASCAL
4---Copyright: Matra Datavision 1995
5
6
7
8package TDataStd
9
10 ---Purpose: This package defines standard attributes for
11 -- modelling.
12 -- These allow you to create and modify labels
13 -- and attributes for many basic data types.
14 -- Standard topological and visualization
15 -- attributes have also been created.
16 -- To find an attribute attached to a specific label,
17 -- you use the GUID of the type of attribute you
18 -- are looking for. To do this, first find this
19 -- information using the method GetID as follows: Standard_GUID anID =
20 -- MyAttributeClass::GetID();
21 -- Then, use the method Find for the label as follows:
22 -- Standard_Boolean HasAttribute
23 -- =
24 -- aLabel.Find(anID,anAttribute);
25 -- Note
26 -- For information on the relations between this
27 -- component of OCAF and the others, refer to the OCAF User's Guide.
28
29 --- Category: GUID - AttributeID
30 -- 2a96b606-ec8b-11d0-bee7-080009dc3333 TDataStd_Integer
31
32 -- 2a96b608-ec8b-11d0-bee7-080009dc3333 TDataStd_Name
33 -- 2a96b60f-ec8b-11d0-bee7-080009dc3333 TDataStd_Real
34 -- 2a96b610-ec8b-11d0-bee7-080009dc3333 TDataStd_Reference
35 -- 2a96b616-ec8b-11d0-bee7-080009dc3333 TDataStd_Comment
36 -- 2a96b61c-ec8b-11d0-bee7-080009dc3333 TDataStd_UAttribute
37 -- 2a96b61d-ec8b-11d0-bee7-080009dc3333 TDataStd_IntegerArray
38 -- 2a96b61e-ec8b-11d0-bee7-080009dc3333 TDataStd_RealArray
39 -- 2a96b624-ec8b-11d0-bee7-080009dc3333 TDataStd_ExtStringArray
40 -- 2a96b609-ec8b-11d0-bee7-080009dc3333 TDataStd_NoteBook
41 -- 2a96b61f-ec8b-11d0-bee7-080009dc3333 TDataStd_Directory
42
43
44
45
46uses Standard,
47 MMgt,
48 TCollection,
49 TColStd,
50 TDF
51
52
53is
54 enumeration RealEnum is
55 ---Purpose:
56 -- The terms of this enumeration define the
57 -- semantics of a real number value.
58 SCALAR,
59 LENGTH,
60 ANGULAR
61 end RealEnum;
62
63 ---Category: Basic attributes
64 -- ===================
65
66
67 class Current;
68
69 class Name;
70
71 class Comment;
72
73 class Integer;
74
75 class IntegerArray;
76
77 class Real;
78
79 class RealArray;
80
81 class ExtStringArray;
82
83 class UAttribute;
84
85
86 ---Purpose: Attributes for organization
87 -- ============================
88
89 class TreeNode;
90 pointer PtrTreeNode to TreeNode from TDataStd;
91 class ChildNodeIterator;
92
93 class Directory;
94
95
96 ---Category: Other attributes
97 -- ================
98
99 class NoteBook;
100
101 class Expression;
102
103 class Relation;
104
105 class Variable;
106
107 class DeltaOnModificationOfIntArray;
108
109 class DeltaOnModificationOfRealArray;
110
111 class DeltaOnModificationOfExtStringArray;
112
113 class DeltaOnModificationOfIntPackedMap;
114
115 class DeltaOnModificationOfByteArray;
116
117
118 -- Extension
119 class Tick;
120
121 class AsciiString;
122
123 class IntPackedMap;
124
125
126 -- Lists:
127 class IntegerList;
128
129 class RealList;
130
131 class ExtStringList;
132
133 class BooleanList;
134
135 class ReferenceList;
136
137
138 -- Arrays:
139 class BooleanArray;
140
141 class ReferenceArray;
142
143 class ByteArray;
144
145 class NamedData;
146
147 class ListOfExtendedString instantiates List from TCollection ( ExtendedString from TCollection );
148
149
150 -- Extension
151 class ListOfByte instantiates List from TCollection(Byte from Standard);
152
153 class LabelArray1 instantiates Array1 from TCollection(Label from TDF);
154
155 class HLabelArray1 instantiates HArray1 from TCollection(Label from TDF, LabelArray1 from TDataStd);
156
157 class DataMapOfStringReal instantiates DataMap from TCollection(ExtendedString from TCollection,
158 Real from Standard,
159 ExtendedString from TCollection);
160 class DataMapOfStringString instantiates DataMap from TCollection(ExtendedString from TCollection,
161 ExtendedString from TCollection,
162 ExtendedString from TCollection);
163 class DataMapOfStringByte instantiates DataMap from TCollection(ExtendedString from TCollection,
164 Byte from Standard,
165 ExtendedString from TCollection);
166 class DataMapOfStringHArray1OfInteger instantiates DataMap from TCollection(ExtendedString from TCollection,
167 HArray1OfInteger from TColStd,
168 ExtendedString from TCollection);
169 class DataMapOfStringHArray1OfReal instantiates DataMap from TCollection(ExtendedString from TCollection,
170 HArray1OfReal from TColStd,
171 ExtendedString from TCollection);
172
173 class HDataMapOfStringInteger;
174
175 class HDataMapOfStringReal;
176
177 class HDataMapOfStringString;
178
179 class HDataMapOfStringByte;
180
181 class HDataMapOfStringHArray1OfInteger;
182
183 class HDataMapOfStringHArray1OfReal;
184
185
186 IDList (anIDList : in out IDList from TDF);
187 ---Purpose: Appends to <anIDList> the list of the attributes
188 -- IDs of this package. CAUTION: <anIDList> is NOT
189 -- cleared before use.
190
191
192
193 Print (DIM : RealEnum from TDataStd; S : in out OStream)
194 ---Purpose: Prints the name of the real dimension <DIM> as a String on
195 -- the Stream <S> and returns <S>.
196 ---C++: return &
197 returns OStream;
198
199end TDataStd;
200
201
202