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/
20 -- SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
22 -- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
23 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
25 -- This library is free software; you can redistribute it and/or
26 -- modify it under the terms of the GNU Lesser General Public
27 -- License as published by the Free Software Foundation; either
28 -- version 2.1 of the License.
30 -- This library is distributed in the hope that it will be useful,
31 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
32 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33 -- Lesser General Public License for more details.
35 -- You should have received a copy of the GNU Lesser General Public
36 -- License along with this library; if not, write to the Free Software
37 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
39 -- See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
43 -- File : SALOMEDS_IORAttribute.cdl
44 -- Author : Yves FRICAUD
47 class IORAttribute from SALOMEDS inherits Comment from TDataStd
52 uses Attribute from TDF,
55 ExtendedString from TCollection,
57 RelocationTable from TDF,
58 AttributeSequence from TDF,
66 ---Purpose: class methods
70 ---C++: return const &
71 returns GUID from Standard;
73 Set (myclass; label : Label from TDF; string : ExtendedString from TCollection)
74 ---Purpose: Find, or create a Comment attribute and set the string.
75 -- the Comment attribute is returned.
76 returns IORAttribute from SALOMEDS;
78 ---Purpose: Comment methods
82 returns mutable IORAttribute from SALOMEDS;
85 ---C++: return const &
86 returns GUID from Standard;
88 Restore (me: mutable; with : Attribute from TDF);
91 returns mutable Attribute from TDF;
93 Paste (me; into : mutable Attribute from TDF;
94 RT : mutable RelocationTable from TDF);