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 CEA/DEN, EDF R&D
26 -- File : SALOMEDS_PythonObjectAttribute.cdl
27 -- Author : Michael Ponikarov
30 class PythonObjectAttribute from SALOMEDS inherits Attribute from TDF
35 uses Attribute from TDF,
39 RelocationTable from TDF,
41 HArray1OfCharacter from TColStd
46 ---Purpose: class methods
50 ---C++: return const &
51 returns GUID from Standard;
53 Set (myclass; label : Label from TDF)
54 returns PythonObjectAttribute from SALOMEDS;
56 ---Purpose: Common methods
60 returns mutable PythonObjectAttribute from SALOMEDS;
62 SetObject(me: mutable; theSequence : CString from Standard; theScript : Boolean from Standard);
64 GetObject(me) returns CString from Standard;
66 IsScript(me) returns Boolean from Standard;
68 GetLength(me) returns Integer from Standard;
71 ---C++: return const &
72 returns GUID from Standard;
74 Restore (me: mutable; with : Attribute from TDF);
77 returns mutable Attribute from TDF;
79 Paste (me; into : mutable Attribute from TDF;
80 RT : mutable RelocationTable from TDF);
84 mySequence : CString from Standard;
85 myIsScript : Boolean from Standard;
87 end PythonObjectAttribute;