0003513: There is no check for boundary of array in method Set for array attributes
[occt.git] / src / TDataStd / TDataStd_ExtStringList.cdl
CommitLineData
b311480e 1-- Created on: 2007-05-29
2-- Created by: Vlad Romashko
3-- Copyright (c) 2007-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
21class ExtStringList from TDataStd inherits Attribute from TDF
22
23 ---Purpose: Contains a list of ExtendedString.
24
25uses
26
27 Attribute from TDF,
28 GUID from Standard,
29 Label from TDF,
30 RelocationTable from TDF,
31 ExtendedString from TCollection,
32 ListOfExtendedString from TDataStd
33
34is
35
36 ---Purpose: Static methods
37 -- ==============
38
39 GetID (myclass)
40 ---C++: return const &
41 ---Purpose: Returns the ID of the list of strings attribute.
42 returns GUID from Standard;
43
44 Set (myclass; label : Label from TDF)
45 ---Purpose: Finds or creates a list of string values attribute.
46 returns ExtStringList from TDataStd;
47
48
49 ---Category: ExtStringList methods
50 -- =====================
51
52 Create
53 returns mutable ExtStringList from TDataStd;
54
55 IsEmpty (me)
56 returns Boolean from Standard;
57
58 Extent (me)
59 returns Integer from Standard;
60
61 Prepend (me : mutable;
62 value : ExtendedString from TCollection);
63
64 Append (me : mutable;
65 value : ExtendedString from TCollection);
66
67 InsertBefore (me : mutable;
68 value : ExtendedString from TCollection;
69 before_value : ExtendedString from TCollection)
70 ---Purpose: Inserts the <value> before the first meet of <before_value>.
71 returns Boolean from Standard;
72
73 InsertAfter (me : mutable;
74 value : ExtendedString from TCollection;
75 after_value : ExtendedString from TCollection)
76 ---Purpose: Inserts the <value> after the first meet of <after_value>.
77 returns Boolean from Standard;
78
79 Remove (me : mutable;
80 value : ExtendedString from TCollection)
81 ---Purpose: Removes the first meet of the <value>.
82 returns Boolean from Standard;
83
84 Clear (me : mutable);
85
86 First (me)
87 ---C++: return const &
88 returns ExtendedString from TCollection;
89
90 Last (me)
91 ---C++: return const &
92 returns ExtendedString from TCollection;
93
94 List (me)
95 ---C++: return const &
96 returns ListOfExtendedString from TDataStd;
97
98
99 ---Category: Methodes of TDF_Attribute
100 -- =========================
101
102 ID (me)
103 ---C++: return const &
104 returns GUID from Standard;
105
106 Restore (me: mutable; With : Attribute from TDF);
107
108 NewEmpty (me)
109 returns mutable Attribute from TDF;
110
111 Paste (me; Into : mutable Attribute from TDF;
112 RT : mutable RelocationTable from TDF);
113
114 Dump(me; anOS : in out OStream from Standard)
115 returns OStream from Standard
116 is redefined;
117 ---C++: return &
118
119
120fields
121
122 myList : ListOfExtendedString from TDataStd;
123
124
125end ExtStringList;