1 -- File: TDataStd_BooleanArray.cdl
2 -- Created: May 29 11:40:00 2007
3 -- Author: Vlad Romashko
4 -- <vladislav.romashko@opencascade.com>
5 -- Copyright: Open CASCADE
7 class BooleanArray from TDataStd inherits Attribute from TDF
9 ---Purpose: An array of boolean values.
16 RelocationTable from TDF,
17 HArray1OfByte from TColStd
21 ---Purpose: Static methods
25 ---C++: return const &
26 ---Purpose: Returns an ID for array.
27 returns GUID from Standard;
30 label : Label from TDF;
31 lower, upper : Integer from Standard)
32 ---Purpose: Finds or creates an attribute with the array.
33 returns BooleanArray from TDataStd;
36 ---Category: BooleanArray methods
37 -- ====================
40 lower, upper : Integer from Standard);
41 ---Purpose: Initialize the inner array with bounds from <lower> to <upper>
43 SetValue (me : mutable;
44 index :Integer from Standard;
45 value : Boolean from Standard);
46 ---Purpose: Sets the <Index>th element of the array to <Value>
49 Index : Integer from Standard)
50 ---Purpose: Return the value of the <Index>th element of the array.
51 ---C++: alias operator ()
52 returns Boolean from Standard;
55 ---Purpose: Returns the lower boundary of the array.
56 returns Integer from Standard;
59 ---Purpose: Returns the upper boundary of the array.
60 returns Integer from Standard;
63 ---Purpose: Returns the number of elements in the array.
64 returns Integer from Standard;
67 ---Category: Advanced area
71 ---C++: return const &
72 returns HArray1OfByte from TColStd;
74 SetInternalArray (me : mutable;
75 values : HArray1OfByte from TColStd);
78 ---Category: Methodes of TDF_Attribute
79 -- =========================
81 returns mutable BooleanArray from TDataStd;
84 ---C++: return const &
85 returns GUID from Standard;
88 with : Attribute from TDF);
91 returns mutable Attribute from TDF;
93 Paste (me; into : mutable Attribute from TDF;
94 RT : mutable RelocationTable from TDF);
97 OS : in out OStream from Standard)
98 returns OStream from Standard
105 myValues : HArray1OfByte from TColStd;
106 myLower : Integer from Standard;
107 myUpper : Integer from Standard;