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