Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_DrawableAttribute.cdl
1 //  File      : SALOMEDS_DrawableAttribute.cdl
2 //  Created   : Tue Jul 09 16:20:05 2002
3 //  Author    : Yves FRICAUD
4 //  Project   : SALOME
5 //  Module    : SALOMEDS
6 //  Copyright : Open CASCADE 2002
7 //  $Header$
8
9
10
11
12
13 class DrawableAttribute from SALOMEDS inherits Integer from TDataStd
14
15         ---Purpose: 
16
17
18 uses Attribute         from TDF,
19      Label             from TDF,
20      GUID              from Standard,
21      ExtendedString    from TCollection,
22      DataSet           from TDF,
23      RelocationTable   from TDF,
24      AttributeSequence from TDF,
25      Data              from TDF,
26      Comment           from TDataStd            
27
28
29 is    
30
31
32     ---Purpose: class methods
33     --          =============
34
35     GetID (myclass)   
36     ---C++: return const &  
37     returns GUID from Standard;    
38
39     Set (myclass; label : Label from TDF; value  : Integer from Standard)
40     ---Purpose: Find, or create a Comment attribute and set the string.
41     --          the Comment attribute is returned.
42     returns DrawableAttribute from SALOMEDS;
43     
44     ---Purpose: Comment methods
45     --          ============
46     
47     Create 
48     returns mutable DrawableAttribute from SALOMEDS;
49
50     ID (me)
51         ---C++: return const & 
52     returns GUID from Standard;
53
54     Restore (me: mutable; with : Attribute from TDF);
55
56     NewEmpty (me)
57     returns mutable Attribute from TDF;
58
59     Paste (me; into : mutable Attribute from TDF;
60                RT   : mutable RelocationTable from TDF);    
61
62 end DrawableAttribute;