Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_PythonObjectAttribute.cdl
1 --  File      : SALOMEDS_PythonObjectAttribute.cdl
2 --  Created   : Tue Oct  8 10:13:30 2002
3 --  Author    : Michael Ponikarov
4 --  Project   : SALOME
5 --  Module    : SALOMEDS
6 --  Copyright : Open CASCADE
7 --  $Header$
8
9 class PythonObjectAttribute from SALOMEDS inherits Attribute from TDF
10
11         ---Purpose: 
12
13
14 uses Attribute          from TDF,
15      Label              from TDF,
16      GUID               from Standard,
17      DataSet            from TDF,
18      RelocationTable    from TDF,
19      Data               from TDF,
20      HArray1OfCharacter from TColStd
21
22 is    
23
24
25     ---Purpose: class methods
26     --          =============
27
28     GetID (myclass)   
29     ---C++: return const &  
30     returns GUID from Standard;    
31
32     Set (myclass; label : Label from TDF)
33     returns PythonObjectAttribute from SALOMEDS;
34     
35     ---Purpose: Common methods
36     --          ============
37     
38     Create 
39     returns mutable PythonObjectAttribute from SALOMEDS;
40     
41     SetObject(me: mutable; theSequence : CString from Standard; theScript : Boolean from Standard);
42     
43     GetObject(me) returns CString from Standard;
44     
45     IsScript(me) returns Boolean from Standard;
46     
47     GetLength(me) returns Integer from Standard;
48
49     ID (me)
50         ---C++: return const & 
51     returns GUID from Standard;
52
53     Restore (me: mutable; with : Attribute from TDF);
54
55     NewEmpty (me)
56     returns mutable Attribute from TDF;
57
58     Paste (me; into : mutable Attribute from TDF;
59                RT   : mutable RelocationTable from TDF);
60
61 fields
62
63   mySequence : CString from Standard;
64   myIsScript : Boolean from Standard;
65
66 end PythonObjectAttribute;