Salome HOME
CCAR: improve speed of getAIS by calling CreatePrs that uses entry2aisobjects map
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_PassKeyShape.cdl
1 --  Copyright (C) 2007-2010  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:        GEOMAlgo_PassKeyShape.cdl
24 -- Created:     
25 -- Author:      Peter KURNEV
26 --              <pkv@irinox>
27 --
28 class PassKeyShape from GEOMAlgo 
29    
30         ---Purpose: 
31
32 uses
33     Shape from TopoDS, 
34     ListOfShape from TopTools,   
35     IndexedMapOfShape from TopTools 
36      
37 --raises
38
39 is 
40     Create  
41         returns PassKeyShape from GEOMAlgo; 
42      ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_PassKeyShape();" 
43      
44     Create(Other:PassKeyShape from GEOMAlgo) 
45         returns PassKeyShape from GEOMAlgo;
46      
47     Assign(me:out;  
48             Other : PassKeyShape from GEOMAlgo) 
49         returns PassKeyShape from GEOMAlgo; 
50     ---C++: alias operator =
51     ---C++: return &  
52      
53     SetShapes(me:out; 
54             aS  :Shape from TopoDS); 
55             
56     SetShapes(me:out; 
57             aS1  :Shape from TopoDS; 
58             aS2  :Shape from TopoDS); 
59      
60     SetShapes(me:out; 
61             aS1  :Shape from TopoDS; 
62             aS2  :Shape from TopoDS; 
63             aS3  :Shape from TopoDS); 
64  
65     SetShapes(me:out;  
66             aS1  :Shape from TopoDS; 
67             aS2  :Shape from TopoDS; 
68             aS3  :Shape from TopoDS;
69             aS4  :Shape from TopoDS);
70  
71     SetShapes(me:out;  
72             aLS  :ListOfShape from TopTools); 
73          
74     Clear(me:out); 
75      
76
77     NbIds(me) 
78         returns Integer  from Standard; 
79      
80     IsEqual(me; 
81             aOther:PassKeyShape from GEOMAlgo) 
82         returns Boolean from Standard;                       
83          
84     HashCode(me; 
85             Upper : Integer  from Standard)  
86         returns Integer from Standard;           
87      
88     Dump(me; 
89         aHex:Integer from Standard=0);  
90         
91 fields 
92     myNbIds:Integer from Standard is protected;    
93     mySum  :Integer from Standard is protected;    
94     myUpper:Integer from Standard is protected;    
95     myMap  :IndexedMapOfShape from TopTools is protected;        
96
97 end PassKeyShape;