Salome HOME
0020907: Werror in GEOM: integrate patch from Erwan ADAM
[modules/geom.git] / src / NMTDS / NMTDS_InterfPool.cdl
1 --  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  This library is free software; you can redistribute it and/or
4 --  modify it under the terms of the GNU Lesser General Public
5 --  License as published by the Free Software Foundation; either
6 --  version 2.1 of the License.
7 --
8 --  This library is distributed in the hope that it will be useful,
9 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 --  Lesser General Public License for more details.
12 --
13 --  You should have received a copy of the GNU Lesser General Public
14 --  License along with this library; if not, write to the Free Software
15 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 --
17 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 --
19
20 --  File:       NMTDS_InterfPool.cdl
21 --  Created:    Wed Feb 21 10:10:58 2007
22 --  Author:     Peter KURNEV
23 --
24 class InterfPool from NMTDS 
25
26         ---Purpose: 
27
28 uses
29     MapOfPassKeyBoolean  from NMTDS, 
30     ListOfPassKeyBoolean from NMTDS, 
31     PassKeyBoolean       from NMTDS,
32     InterfType           from NMTDS, 
33     --     
34     CArray1OfSSInterference from BOPTools,
35     CArray1OfESInterference from BOPTools,
36     CArray1OfVSInterference from BOPTools, 
37     CArray1OfEEInterference from BOPTools, 
38     CArray1OfVEInterference from BOPTools, 
39     CArray1OfVVInterference from BOPTools
40
41 --raises
42
43 is 
44     Create 
45         returns InterfPool from NMTDS; 
46     ---C++: alias "Standard_EXPORT virtual ~NMTDS_InterfPool();"  
47
48  
49     Add (me:out;   
50             aPKB : PassKeyBoolean from NMTDS;
51             aType: InterfType from NMTDS) 
52         returns Boolean from Standard; 
53         
54     Add (me:out;   
55             aInd1 : Integer from Standard;
56             aInd2 : Integer from Standard; 
57             aType : InterfType from NMTDS) 
58         returns Boolean from Standard;
59       
60     Add (me:out;   
61             aInd1 : Integer from Standard;
62             aInd2 : Integer from Standard; 
63             bFlag : Boolean from Standard;                   
64             aType : InterfType from NMTDS) 
65         returns Boolean from Standard;
66
67     Contains(me; 
68             aPKB : PassKeyBoolean from NMTDS)
69         returns Boolean from Standard; 
70      
71     Contains(me; 
72             aInd1 : Integer from Standard;
73             aInd2 : Integer from Standard) 
74         returns Boolean from Standard; 
75      
76     Get(me) 
77         returns ListOfPassKeyBoolean from NMTDS; 
78     ---C++: return const &        
79
80     Get(me; 
81             aType : InterfType from NMTDS) 
82         returns ListOfPassKeyBoolean from NMTDS; 
83     ---C++: return const &       
84
85     Get(me; 
86             aInd : Integer from Standard) 
87         returns ListOfPassKeyBoolean from NMTDS; 
88     ---C++: return const & 
89       
90     Get(me; 
91             aInd : Integer from Standard; 
92             aType: InterfType from NMTDS) 
93         returns ListOfPassKeyBoolean from NMTDS; 
94     ---C++: return const &  
95     
96     -- 
97     -- Interferences 
98     -- 
99     SSInterferences (me:out)  
100         returns CArray1OfSSInterference from BOPTools; 
101         ---C++:  return  & 
102         ---Purpose: 
103         --- Returns the reference to array Of F/F interferences 
104         ---
105     ESInterferences (me:out)  
106         returns CArray1OfESInterference from BOPTools; 
107         ---C++:  return  & 
108         ---Purpose: 
109         --- Returns the reference to array Of E/F interferences 
110         ---
111     VSInterferences (me:out)  
112         returns CArray1OfVSInterference from BOPTools; 
113         ---C++:  return  &
114         ---Purpose: 
115         --- Returns the reference to array Of V/F interferences 
116         ---
117     EEInterferences (me:out)  
118         returns CArray1OfEEInterference from BOPTools; 
119         ---C++:  return  &  
120         ---Purpose: 
121         --- Returns the reference to arrray Of E/E interferences 
122         ---
123     VEInterferences (me:out)  
124         returns CArray1OfVEInterference from BOPTools; 
125         ---C++:  return  &              
126         ---Purpose: 
127         --- Returns the reference to arrray Of  V/E interferences 
128         ---
129     VVInterferences (me:out)  
130         returns CArray1OfVVInterference from BOPTools; 
131         ---C++:  return  &              
132         ---Purpose: 
133         --- Returns the reference to arrray Of  V/V interferences 
134         ---
135
136 fields 
137     myTable : MapOfPassKeyBoolean from NMTDS [6] is protected; 
138     myList  : ListOfPassKeyBoolean from NMTDS is protected;
139     myMaxInd: Integer from Standard is protected; 
140     -- 
141     mySSInterferences  :  CArray1OfSSInterference from BOPTools is protected;
142     myESInterferences  :  CArray1OfESInterference from BOPTools is protected;
143     myVSInterferences  :  CArray1OfVSInterference from BOPTools is protected;
144     myEEInterferences  :  CArray1OfEEInterference from BOPTools is protected;
145     myVEInterferences  :  CArray1OfVEInterference from BOPTools is protected;
146     myVVInterferences  :  CArray1OfVVInterference from BOPTools is protected;   
147
148 end InterfPool;