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