Salome HOME
Fixed incorrect check in method DefineComponentInstance
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_TargetAttribute.cdl
1 -- Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 -- 
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.
8 -- 
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.
13 --
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
17 --
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
20 --  File   : SALOMEDS_TargetAttribute.cdl
21 --  Author : Yves FRICAUD
22 --  Module : SALOME
23
24 class TargetAttribute from SALOMEDS inherits Relation from TDataStd
25
26         ---Purpose: 
27
28
29 uses Attribute         from TDF,
30      Label             from TDF,
31      GUID              from Standard,
32      RelocationTable   from TDF,
33      LabelList         from TDF
34
35 is    
36
37
38     ---Purpose: class methods
39     --          =============
40
41     GetID (myclass)   
42     ---C++: return const &  
43     returns GUID from Standard;    
44
45     Set (myclass; label : Label from TDF)
46     returns TargetAttribute from SALOMEDS;
47     
48     ---Purpose: Comment methods
49     --          ============
50     
51     Create 
52     returns mutable TargetAttribute from SALOMEDS;
53     
54     Append(me: mutable; theReferencedObject : mutable Label form TDF);
55     Get(me; theReferencedObjects : mutable : LabelList from TDF);
56     Remove(me: mutable; theReferencedObject : mutable Label form TDF);
57
58     ID (me)
59         ---C++: return const & 
60     returns GUID from Standard;
61
62     Restore (me: mutable; with : Attribute from TDF);
63
64     NewEmpty (me)
65     returns mutable Attribute from TDF;
66
67     Paste (me; into : mutable Attribute from TDF;
68                RT   : mutable RelocationTable from TDF);    
69
70 end TargetAttribute;