1 -- Created on: 2007-05-29
2 -- Created by: Vlad Romashko
3 -- Copyright (c) 2007-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
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
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.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class ReferenceArray from TDataStd inherits Attribute from TDF
18 ---Purpose: Contains an array of references to the labels.
26 RelocationTable from TDF,
27 HLabelArray1 from TDataStd
31 ---Purpose: Static methods
35 ---C++: return const &
36 ---Purpose: Returns the ID of the array of references (labels) attribute.
37 returns GUID from Standard;
40 label : Label from TDF;
41 lower, upper : Integer from Standard)
42 ---Purpose: Finds or creates an array of reference values (labels) attribute.
43 returns ReferenceArray from TDataStd;
46 ---Category: ReferenceArray methods
47 -- ======================
50 lower, upper : Integer from Standard);
51 ---Purpose: Initialize the inner array with bounds from <lower> to <upper>
53 SetValue (me : mutable;
54 index :Integer from Standard;
55 value : Label from TDF);
56 ---Purpose: Sets the <Index>th element of the array to <Value>
57 -- OutOfRange exception is raised if <Index> doesn't respect Lower and Upper bounds of the internal array.
60 Index : Integer from Standard)
61 ---Purpose: Returns the value of the <Index>th element of the array.
62 ---C++: alias operator ()
63 returns Label from TDF;
66 ---Purpose: Returns the lower boundary of the array.
67 returns Integer from Standard;
70 ---Purpose: Returns the upper boundary of the array.
71 returns Integer from Standard;
74 ---Purpose: Returns the number of elements in the array.
75 returns Integer from Standard;
78 ---Category: Advanced area
82 ---C++: return const &
83 returns HLabelArray1 from TDataStd;
85 SetInternalArray (me : mutable;
86 values : HLabelArray1 from TDataStd;
87 isCheckItems : Boolean = Standard_True);
90 ---Category: Methodes of TDF_Attribute
91 -- =========================
94 returns ReferenceArray from TDataStd;
97 ---C++: return const &
98 returns GUID from Standard;
100 Restore (me: mutable; With : Attribute from TDF);
103 returns Attribute from TDF;
105 Paste (me; Into : Attribute from TDF;
106 RT : RelocationTable from TDF);
108 References (me; DS : DataSet from TDF)
111 Dump(me; anOS : in out OStream from Standard)
112 returns OStream from Standard
119 myArray : HLabelArray1 from TDataStd;