0022685: Missing parentheses around trigraph operator
[occt.git] / src / TDataStd / TDataStd_ReferenceList.cdl
CommitLineData
7fd59977 1-- File: TDataStd_ReferenceList.cdl
2-- Created: May 29 11:40:00 2007
3-- Author: Vlad Romashko
4-- <vladislav.romashko@opencascade.com>
5-- Copyright: Open CASCADE
6
7class ReferenceList from TDataStd inherits Attribute from TDF
8
9 ---Purpose: Contains a list of references.
10
11uses
12
13 Attribute from TDF,
14 GUID from Standard,
15 Label from TDF,
16 DataSet from TDF,
17 RelocationTable from TDF,
18 LabelList from TDF
19
20is
21
22 ---Purpose: Static methods
23 -- ==============
24
25 GetID (myclass)
26 ---C++: return const &
27 ---Purpose: Returns the ID of the list of references (labels) attribute.
28 returns GUID from Standard;
29
30 Set (myclass; label : Label from TDF)
31 ---Purpose: Finds or creates a list of reference values (labels) attribute.
32 returns ReferenceList from TDataStd;
33
34
35 ---Category: ReferenceList methods
36 -- =====================
37
38 Create
39 returns mutable ReferenceList from TDataStd;
40
41 IsEmpty (me)
42 returns Boolean from Standard;
43
44 Extent (me)
45 returns Integer from Standard;
46
47 Prepend (me : mutable;
48 value : Label from TDF);
49
50 Append (me : mutable;
51 value : Label from TDF);
52
53 InsertBefore (me : mutable;
54 value : Label from TDF;
55 before_value : Label from TDF)
56 ---Purpose: Inserts the <value> before the first meet of <before_value>.
57 returns Boolean from Standard;
58
59 InsertAfter (me : mutable;
60 value : Label from TDF;
61 after_value : Label from TDF)
62 ---Purpose: Inserts the <value> after the first meet of <after_value>.
63 returns Boolean from Standard;
64
65 Remove (me : mutable;
66 value : Label from TDF)
67 ---Purpose: Removes the first meet of the <value>.
68 returns Boolean from Standard;
69
70 Clear (me : mutable);
71
72 First (me)
73 ---C++: return const &
74 returns Label from TDF;
75
76 Last (me)
77 ---C++: return const &
78 returns Label from TDF;
79
80 List (me)
81 ---C++: return const &
82 returns LabelList from TDF;
83
84
85 ---Category: Methodes of TDF_Attribute
86 -- =========================
87
88 ID (me)
89 ---C++: return const &
90 returns GUID from Standard;
91
92 Restore (me: mutable; With : Attribute from TDF);
93
94 NewEmpty (me)
95 returns mutable Attribute from TDF;
96
97 Paste (me; Into : mutable Attribute from TDF;
98 RT : mutable RelocationTable from TDF);
99
100 References (me; DS : DataSet from TDF)
101 is redefined;
102
103 Dump(me; anOS : in out OStream from Standard)
104 returns OStream from Standard
105 is redefined;
106 ---C++: return &
107
108
109fields
110
111 myList : LabelList from TDF;
112
113
114end ReferenceList;