1 -- Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 -- This library is free software; you can redistribute it and/or
5 -- modify it under the terms of the GNU Lesser General Public
6 -- License as published by the Free Software Foundation; either
7 -- version 2.1 of the License.
9 -- This library is distributed in the hope that it will be useful
10 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 -- Lesser General Public License for more details.
14 -- You should have received a copy of the GNU Lesser General Public
15 -- License along with this library; if not, write to the Free Software
16 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 -- File : SALOMEDS_SequenceOfIntegerAttribute.cdl
22 -- Author : Yves FRICAUD
25 class SequenceOfIntegerAttribute from SALOMEDS inherits Attribute from TDF
30 uses Attribute from TDF,
33 HSequenceOfInteger from TColStd,
35 RelocationTable from TDF,
36 AttributeSequence from TDF,
44 ---Purpose: class methods
48 ---C++: return const &
49 returns GUID from Standard;
51 Set (myclass; label : Label from TDF)
52 ---Purpose: Find, or create a Comment attribute and set the string.
53 -- the Comment attribute is returned.
54 returns SequenceOfIntegerAttribute from SALOMEDS;
56 ---Purpose: Comment methods
60 returns mutable SequenceOfIntegerAttribute from SALOMEDS;
62 ---Category: IntegerArray methods
65 Assign(me : mutable; other : HSequenceOfInteger from TColStd);
66 ---Purpose: Initialize the inner sequence by other one
68 ChangeValue (me : mutable; Index, Value : Integer from Standard);
69 ---Purpose: Sets the <Index>th element of the sequence to <Value>
71 Add (me : mutable; value : Integer from Standard);
72 ---Purpose: Add new value
74 Value (me : mutable; Index : Integer from Standard) returns Integer;
75 ---Purpose: Value of index
77 Remove (me : mutable; Index : Integer from Standard);
78 ---Purpose: Remove element on index <Index>
80 Length (me : mutable) returns Integer;
81 ---Purpose: Returns length of sequence
86 ---C++: return const &
87 returns GUID from Standard;
89 Restore (me: mutable; with : Attribute from TDF);
92 returns mutable Attribute from TDF;
94 Paste (me; into : mutable Attribute from TDF;
95 RT : mutable RelocationTable from TDF);
99 myValue : HSequenceOfInteger from TColStd;
101 end SequenceOfIntegerAttribute;