Salome HOME
Mantis issue 0020626: EDF 1200 GEOM: the discretisation of the circles in the OCC...
[modules/geom.git] / src / NMTDS / NMTDS_InterfPool.cdl
1 --  Copyright (C) 2007-2008  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 --  File:       NMTDS_InterfPool.cdl
23 --  Created:    Wed Feb 21 10:10:58 2007
24 --  Author:     Peter KURNEV
25 --
26 class InterfPool from NMTDS 
27
28         ---Purpose: 
29
30 uses
31     MapOfPassKeyBoolean  from NMTDS, 
32     ListOfPassKeyBoolean from NMTDS, 
33     PassKeyBoolean       from NMTDS,
34     InterfType           from NMTDS, 
35     --     
36     CArray1OfSSInterference from BOPTools,
37     CArray1OfESInterference from BOPTools,
38     CArray1OfVSInterference from BOPTools, 
39     CArray1OfEEInterference from BOPTools, 
40     CArray1OfVEInterference from BOPTools, 
41     CArray1OfVVInterference from BOPTools
42
43 --raises
44
45 is 
46     Create 
47         returns InterfPool from NMTDS; 
48     ---C++: alias "Standard_EXPORT virtual ~NMTDS_InterfPool();"  
49
50  
51     Add (me:out;   
52             aPKB : PassKeyBoolean from NMTDS;
53             aType: InterfType from NMTDS) 
54         returns Boolean from Standard; 
55         
56     Add (me:out;   
57             aInd1 : Integer from Standard;
58             aInd2 : Integer from Standard; 
59             aType : InterfType from NMTDS) 
60         returns Boolean from Standard;
61       
62     Add (me:out;   
63             aInd1 : Integer from Standard;
64             aInd2 : Integer from Standard; 
65             bFlag : Boolean from Standard;                   
66             aType : InterfType from NMTDS) 
67         returns Boolean from Standard;
68
69     Contains(me; 
70             aPKB : PassKeyBoolean from NMTDS)
71         returns Boolean from Standard; 
72      
73     Contains(me; 
74             aInd1 : Integer from Standard;
75             aInd2 : Integer from Standard) 
76         returns Boolean from Standard; 
77      
78     Get(me) 
79         returns ListOfPassKeyBoolean from NMTDS; 
80     ---C++: return const &        
81
82     Get(me; 
83             aType : InterfType from NMTDS) 
84         returns ListOfPassKeyBoolean from NMTDS; 
85     ---C++: return const &       
86
87     Get(me; 
88             aInd : Integer from Standard) 
89         returns ListOfPassKeyBoolean from NMTDS; 
90     ---C++: return const & 
91       
92     Get(me; 
93             aInd : Integer from Standard; 
94             aType: InterfType from NMTDS) 
95         returns ListOfPassKeyBoolean from NMTDS; 
96     ---C++: return const &  
97     
98     -- 
99     -- Interferences 
100     -- 
101     SSInterferences (me:out)  
102         returns CArray1OfSSInterference from BOPTools; 
103         ---C++:  return  & 
104         ---Purpose: 
105         --- Returns the reference to array Of F/F interferences 
106         ---
107     ESInterferences (me:out)  
108         returns CArray1OfESInterference from BOPTools; 
109         ---C++:  return  & 
110         ---Purpose: 
111         --- Returns the reference to array Of E/F interferences 
112         ---
113     VSInterferences (me:out)  
114         returns CArray1OfVSInterference from BOPTools; 
115         ---C++:  return  &
116         ---Purpose: 
117         --- Returns the reference to array Of V/F interferences 
118         ---
119     EEInterferences (me:out)  
120         returns CArray1OfEEInterference from BOPTools; 
121         ---C++:  return  &  
122         ---Purpose: 
123         --- Returns the reference to arrray Of E/E interferences 
124         ---
125     VEInterferences (me:out)  
126         returns CArray1OfVEInterference from BOPTools; 
127         ---C++:  return  &              
128         ---Purpose: 
129         --- Returns the reference to arrray Of  V/E interferences 
130         ---
131     VVInterferences (me:out)  
132         returns CArray1OfVVInterference from BOPTools; 
133         ---C++:  return  &              
134         ---Purpose: 
135         --- Returns the reference to arrray Of  V/V interferences 
136         ---
137
138 fields 
139     myTable : MapOfPassKeyBoolean from NMTDS [6] is protected; 
140     myList  : ListOfPassKeyBoolean from NMTDS is protected;
141     myMaxInd: Integer from Standard is protected; 
142     -- 
143     mySSInterferences  :  CArray1OfSSInterference from BOPTools is protected;
144     myESInterferences  :  CArray1OfESInterference from BOPTools is protected;
145     myVSInterferences  :  CArray1OfVSInterference from BOPTools is protected;
146     myEEInterferences  :  CArray1OfEEInterference from BOPTools is protected;
147     myVEInterferences  :  CArray1OfVEInterference from BOPTools is protected;
148     myVVInterferences  :  CArray1OfVVInterference from BOPTools is protected;   
149
150 end InterfPool;