Salome HOME
Fix on [Bug PAL7750] Regression of UNDO in GEOM
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_TargetAttribute.cdl
1 --  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
2 --
3 --  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 -- 
6 --  This library is free software; you can redistribute it and/or 
7 --  modify it under the terms of the GNU Lesser General Public 
8 --  License as published by the Free Software Foundation; either 
9 --  version 2.1 of the License. 
10 -- 
11 --  This library is distributed in the hope that it will be useful, 
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 --  Lesser General Public License for more details. 
15 -- 
16 --  You should have received a copy of the GNU Lesser General Public 
17 --  License along with this library; if not, write to the Free Software 
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 -- 
20 --  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 --
22 --
23 --
24 --  File   : SALOMEDS_TargetAttribute.cdl
25 --  Author : Yves FRICAUD
26 --  Module : SALOME
27
28 class TargetAttribute from SALOMEDS inherits Relation from TDataStd
29
30         ---Purpose: 
31
32
33 uses Attribute         from TDF,
34      Label             from TDF,
35      GUID              from Standard,
36      RelocationTable   from TDF,
37      LabelList         from TDF
38
39 is    
40
41
42     ---Purpose: class methods
43     --          =============
44
45     GetID (myclass)   
46     ---C++: return const &  
47     returns GUID from Standard;    
48
49     Set (myclass; label : Label from TDF)
50     returns TargetAttribute from SALOMEDS;
51     
52     ---Purpose: Comment methods
53     --          ============
54     
55     Create 
56     returns mutable TargetAttribute from SALOMEDS;
57     
58     Append(me: mutable; theReferencedObject : mutable Label form TDF);
59     Get(me; theReferencedObjects : mutable : LabelList from TDF);
60     Remove(me: mutable; theReferencedObject : mutable Label form TDF);
61
62     ID (me)
63         ---C++: return const & 
64     returns GUID from Standard;
65
66     Restore (me: mutable; with : Attribute from TDF);
67
68     NewEmpty (me)
69     returns mutable Attribute from TDF;
70
71     Paste (me; into : mutable Attribute from TDF;
72                RT   : mutable RelocationTable from TDF);    
73
74 end TargetAttribute;