0025418: Debug output to be limited to OCC development environment
[occt.git] / src / TDataStd / TDataStd_ExtStringList.cdl
CommitLineData
b311480e 1-- Created on: 2007-05-29
2-- Created by: Vlad Romashko
973c2be1 3-- Copyright (c) 2007-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 7-- This library is free software; you can redistribute it and/or modify it under
8-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9-- by the Free Software Foundation, with special exception defined in the file
10-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
7fd59977 15
16class ExtStringList from TDataStd inherits Attribute from TDF
17
18 ---Purpose: Contains a list of ExtendedString.
19
20uses
21
22 Attribute from TDF,
23 GUID from Standard,
24 Label from TDF,
25 RelocationTable from TDF,
26 ExtendedString from TCollection,
27 ListOfExtendedString from TDataStd
28
29is
30
31 ---Purpose: Static methods
32 -- ==============
33
34 GetID (myclass)
35 ---C++: return const &
36 ---Purpose: Returns the ID of the list of strings attribute.
37 returns GUID from Standard;
38
39 Set (myclass; label : Label from TDF)
40 ---Purpose: Finds or creates a list of string values attribute.
41 returns ExtStringList from TDataStd;
42
43
44 ---Category: ExtStringList methods
45 -- =====================
46
47 Create
6e33d3ce 48 returns ExtStringList from TDataStd;
7fd59977 49
50 IsEmpty (me)
51 returns Boolean from Standard;
52
53 Extent (me)
54 returns Integer from Standard;
55
56 Prepend (me : mutable;
57 value : ExtendedString from TCollection);
58
59 Append (me : mutable;
60 value : ExtendedString from TCollection);
61
62 InsertBefore (me : mutable;
63 value : ExtendedString from TCollection;
64 before_value : ExtendedString from TCollection)
65 ---Purpose: Inserts the <value> before the first meet of <before_value>.
66 returns Boolean from Standard;
67
68 InsertAfter (me : mutable;
69 value : ExtendedString from TCollection;
70 after_value : ExtendedString from TCollection)
71 ---Purpose: Inserts the <value> after the first meet of <after_value>.
72 returns Boolean from Standard;
73
74 Remove (me : mutable;
75 value : ExtendedString from TCollection)
76 ---Purpose: Removes the first meet of the <value>.
77 returns Boolean from Standard;
78
79 Clear (me : mutable);
80
81 First (me)
82 ---C++: return const &
83 returns ExtendedString from TCollection;
84
85 Last (me)
86 ---C++: return const &
87 returns ExtendedString from TCollection;
88
89 List (me)
90 ---C++: return const &
91 returns ListOfExtendedString from TDataStd;
92
93
94 ---Category: Methodes of TDF_Attribute
95 -- =========================
96
97 ID (me)
98 ---C++: return const &
99 returns GUID from Standard;
100
101 Restore (me: mutable; With : Attribute from TDF);
102
103 NewEmpty (me)
6e33d3ce 104 returns Attribute from TDF;
7fd59977 105
6e33d3ce 106 Paste (me; Into : Attribute from TDF;
107 RT : RelocationTable from TDF);
7fd59977 108
109 Dump(me; anOS : in out OStream from Standard)
110 returns OStream from Standard
111 is redefined;
112 ---C++: return &
113
114
115fields
116
117 myList : ListOfExtendedString from TDataStd;
118
119
120end ExtStringList;