Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TDataStd / TDataStd_ExtStringList.cdl
CommitLineData
7fd59977 1-- File: TDataStd_ExtStringList.cdl
2-- Created: May 29 11:40:00 2007
3-- Author: Vlad Romashko
4-- <vladislav.romashko@opencascade.com>
5-- Copyright: Open CASCADE
6
7class ExtStringList from TDataStd inherits Attribute from TDF
8
9 ---Purpose: Contains a list of ExtendedString.
10
11uses
12
13 Attribute from TDF,
14 GUID from Standard,
15 Label from TDF,
16 RelocationTable from TDF,
17 ExtendedString from TCollection,
18 ListOfExtendedString from TDataStd
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 strings attribute.
28 returns GUID from Standard;
29
30 Set (myclass; label : Label from TDF)
31 ---Purpose: Finds or creates a list of string values attribute.
32 returns ExtStringList from TDataStd;
33
34
35 ---Category: ExtStringList methods
36 -- =====================
37
38 Create
39 returns mutable ExtStringList 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 : ExtendedString from TCollection);
49
50 Append (me : mutable;
51 value : ExtendedString from TCollection);
52
53 InsertBefore (me : mutable;
54 value : ExtendedString from TCollection;
55 before_value : ExtendedString from TCollection)
56 ---Purpose: Inserts the <value> before the first meet of <before_value>.
57 returns Boolean from Standard;
58
59 InsertAfter (me : mutable;
60 value : ExtendedString from TCollection;
61 after_value : ExtendedString from TCollection)
62 ---Purpose: Inserts the <value> after the first meet of <after_value>.
63 returns Boolean from Standard;
64
65 Remove (me : mutable;
66 value : ExtendedString from TCollection)
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 ExtendedString from TCollection;
75
76 Last (me)
77 ---C++: return const &
78 returns ExtendedString from TCollection;
79
80 List (me)
81 ---C++: return const &
82 returns ListOfExtendedString from TDataStd;
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 Dump(me; anOS : in out OStream from Standard)
101 returns OStream from Standard
102 is redefined;
103 ---C++: return &
104
105
106fields
107
108 myList : ListOfExtendedString from TDataStd;
109
110
111end ExtStringList;