1 -- SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 -- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 -- This library is free software; you can redistribute it and/or
7 -- modify it under the terms of the GNU Lesser General Public
8 -- License as published by the Free Software Foundation; either
9 -- version 2.1 of the License.
11 -- This library is distributed in the hope that it will be useful,
12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 -- Lesser General Public License for more details.
16 -- You should have received a copy of the GNU Lesser General Public
17 -- License along with this library; if not, write to the Free Software
18 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 -- See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 -- File : SALOMEDS_SequenceOfRealAttribute.cdl
25 -- Author : Yves FRICAUD
28 class SequenceOfRealAttribute from SALOMEDS inherits Attribute from TDF
33 uses Attribute from TDF,
36 HSequenceOfReal from TColStd,
38 RelocationTable from TDF,
39 AttributeSequence from TDF,
47 ---Purpose: class methods
51 ---C++: return const &
52 returns GUID from Standard;
54 Set (myclass; label : Label from TDF)
55 ---Purpose: Find, or create a Comment attribute and set the string.
56 -- the Comment attribute is returned.
57 returns SequenceOfRealAttribute from SALOMEDS;
59 ---Purpose: Comment methods
63 returns mutable SequenceOfRealAttribute from SALOMEDS;
65 ---Category: IntegerArray methods
68 Assign(me : mutable; other : HSequenceOfReal from TColStd);
69 ---Purpose: Initialize the inner sequence by other one
71 ChangeValue (me : mutable; Index : Integer from Standard; Value : Real);
72 ---Purpose: Sets the <Index>th element of the sequence to <Value>
74 Add (me : mutable; Value : Real from Standard);
75 ---Purpose: Add new value
77 Value (me : mutable; Index : Integer from Standard) returns Real;
78 ---Purpose: Value of index
80 Remove (me : mutable; Index : Integer from Standard);
81 ---Purpose: Remove element on index <Index>
83 Length (me : mutable) returns Integer;
84 ---Purpose: Returns length of sequence
89 ---C++: return const &
90 returns GUID from Standard;
92 Restore (me: mutable; with : Attribute from TDF);
95 returns mutable Attribute from TDF;
97 Paste (me; into : mutable Attribute from TDF;
98 RT : mutable RelocationTable from TDF);
102 myValue : HSequenceOfReal from TColStd;
104 end SequenceOfRealAttribute;