Salome HOME
0021209: Bug GetInPlace with faces. Integrate self-intersections checker.
[modules/geom.git] / src / NMTDS / NMTDS_PassKey.cdl
1 -- Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 -- Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22
23 --  File:       NMTDS_PassKey.cdl
24 --  Created:    Mon Nov 20 12:16:13 2006
25 --  Author:     Peter KURNEV
26 --
27 class PassKey from NMTDS 
28
29         ---Purpose: 
30
31 uses
32     Shape from TopoDS, 
33     IndexedMapOfInteger from TColStd, 
34     ListOfInteger from TColStd
35
36 --raises
37
38 is 
39     Create  
40         returns PassKey from NMTDS; 
41     ---C++: alias "Standard_EXPORT virtual ~NMTDS_PassKey();" 
42
43     Create(Other:PassKey from NMTDS) 
44         returns PassKey from NMTDS;
45    ---C++: alias "Standard_EXPORT NMTDS_PassKey& operator =(const NMTDS_PassKey& Other);" 
46
47     Clear(me:out);
48     
49     SetIds(me:out; 
50             aI1  :Integer from Standard); 
51              
52     SetIds(me:out; 
53             aI1 :Integer from Standard; 
54             aI2 :Integer from Standard);  
55              
56     SetIds(me:out; 
57             aI1 :Integer from Standard;    
58             aI2 :Integer from Standard;    
59             aI3 :Integer from Standard);  
60
61     SetIds(me:out; 
62             aI1 :Integer from Standard;    
63             aI2 :Integer from Standard;    
64             aI3 :Integer from Standard;    
65             aI4 :Integer from Standard); 
66      
67     SetIds(me:out;  
68             aLS  :ListOfInteger from TColStd);   
69
70     NbIds(me) 
71         returns Integer  from Standard; 
72      
73     IsEqual(me; 
74             aOther:PassKey from NMTDS) 
75         returns Boolean from Standard;                       
76          
77     HashCode(me; 
78             Upper : Integer  from Standard)  
79         returns Integer from Standard;           
80      
81     Id(me; 
82             aIndex: Integer  from Standard)  
83         returns  Integer from Standard;
84         
85     Ids(me; 
86             aI1 :out Integer from Standard;    
87             aI2 :out Integer from Standard);
88
89     Dump(me; 
90         aHex:Integer from Standard=0);  
91      
92         
93 fields 
94     myNbIds: Integer from Standard is protected;  
95     mySum  : Integer from Standard is protected;  
96     myMap  : IndexedMapOfInteger from TColStd is protected; 
97
98 end PassKey;