1 -- Created on: 2007-05-29
2 -- Created by: Vlad Romashko
3 -- Copyright (c) 2007-2012 OPEN CASCADE SAS
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.
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.
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.
21 class ReferenceList from TDataStd inherits Attribute from TDF
23 ---Purpose: Contains a list of references.
31 RelocationTable from TDF,
36 ---Purpose: Static methods
40 ---C++: return const &
41 ---Purpose: Returns the ID of the list of references (labels) attribute.
42 returns GUID from Standard;
44 Set (myclass; label : Label from TDF)
45 ---Purpose: Finds or creates a list of reference values (labels) attribute.
46 returns ReferenceList from TDataStd;
49 ---Category: ReferenceList methods
50 -- =====================
53 returns mutable ReferenceList from TDataStd;
56 returns Boolean from Standard;
59 returns Integer from Standard;
61 Prepend (me : mutable;
62 value : Label from TDF);
65 value : Label from TDF);
67 InsertBefore (me : mutable;
68 value : Label from TDF;
69 before_value : Label from TDF)
70 ---Purpose: Inserts the <value> before the first meet of <before_value>.
71 returns Boolean from Standard;
73 InsertAfter (me : mutable;
74 value : Label from TDF;
75 after_value : Label from TDF)
76 ---Purpose: Inserts the <value> after the first meet of <after_value>.
77 returns Boolean from Standard;
80 value : Label from TDF)
81 ---Purpose: Removes the first meet of the <value>.
82 returns Boolean from Standard;
87 ---C++: return const &
88 returns Label from TDF;
91 ---C++: return const &
92 returns Label from TDF;
95 ---C++: return const &
96 returns LabelList from TDF;
99 ---Category: Methodes of TDF_Attribute
100 -- =========================
103 ---C++: return const &
104 returns GUID from Standard;
106 Restore (me: mutable; With : Attribute from TDF);
109 returns mutable Attribute from TDF;
111 Paste (me; Into : mutable Attribute from TDF;
112 RT : mutable RelocationTable from TDF);
114 References (me; DS : DataSet from TDF)
117 Dump(me; anOS : in out OStream from Standard)
118 returns OStream from Standard
125 myList : LabelList from TDF;