1 // File : SALOMEDS_SequenceOfRealAttribute.cdl
2 // Created : Wed Nov 28 16:20:40 2001
3 // Author : Yves FRICAUD
6 // Copyright : Open CASCADE 2001
11 class SequenceOfRealAttribute from SALOMEDS inherits Attribute from TDF
16 uses Attribute from TDF,
19 HSequenceOfReal from TColStd,
21 RelocationTable from TDF,
22 AttributeSequence from TDF,
30 ---Purpose: class methods
34 ---C++: return const &
35 returns GUID from Standard;
37 Set (myclass; label : Label from TDF)
38 ---Purpose: Find, or create a Comment attribute and set the string.
39 -- the Comment attribute is returned.
40 returns SequenceOfRealAttribute from SALOMEDS;
42 ---Purpose: Comment methods
46 returns mutable SequenceOfRealAttribute from SALOMEDS;
48 ---Category: IntegerArray methods
51 Assign(me : mutable; other : HSequenceOfReal from TColStd);
52 ---Purpose: Initialize the inner sequence by other one
54 ChangeValue (me : mutable; Index : Integer from Standard; Value : Real);
55 ---Purpose: Sets the <Index>th element of the sequence to <Value>
57 Add (me : mutable; Value : Real from Standard);
58 ---Purpose: Add new value
60 Value (me : mutable; Index : Integer from Standard) returns Real;
61 ---Purpose: Value of index
63 Remove (me : mutable; Index : Integer from Standard);
64 ---Purpose: Remove element on index <Index>
66 Length (me : mutable) returns Integer;
67 ---Purpose: Returns length of sequence
72 ---C++: return const &
73 returns GUID from Standard;
75 Restore (me: mutable; with : Attribute from TDF);
78 returns mutable Attribute from TDF;
80 Paste (me; into : mutable Attribute from TDF;
81 RT : mutable RelocationTable from TDF);
85 myValue : HSequenceOfReal from TColStd;
87 end SequenceOfRealAttribute;