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