Salome HOME
1d59d74b8ecef93429a3246c0dd7f630985a7528
[modules/geom.git] / src / NMTTools / NMTTools_IteratorOfCoupleOfShape.cdl
1 -- File:        NMTTools_IteratorOfCoupleOfShape.cdl
2 -- Created:     Thu Dec  4 16:57:48 2003
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2003
6
7
8 class IteratorOfCoupleOfShape from NMTTools  
9     inherits IteratorOfCoupleOfShape from BOPTools
10
11         ---Purpose: 
12
13 uses 
14     ShapeEnum from TopAbs, 
15     IndexedMapOfCoupleOfInteger from BOPTools, 
16     PShapesDataStructure from NMTDS, 
17     ShapesDataStructure from NMTDS 
18     
19 raises
20     NoSuchObject from Standard
21
22 is  
23     Create  
24         returns IteratorOfCoupleOfShape from NMTTools; 
25          
26     SetDS(me:out; 
27             pDS:PShapesDataStructure from NMTDS); 
28             
29     Initialize(me: in out;  
30             Type1: ShapeEnum from TopAbs;
31             Type2: ShapeEnum from TopAbs) 
32         raises NoSuchObject from Standard 
33         is redefined; 
34      
35     Current(me; Index1: in out Integer from Standard;
36                 Index2: in out Integer from Standard;
37                 WithSubShape: out Boolean from Standard) 
38         is redefined; 
39          
40     More(me)  
41         returns Boolean from Standard 
42         is redefined;
43      
44     DS(me) 
45       returns ShapesDataStructure from NMTDS; 
46     ---C++:return const & 
47           
48 fields
49     myPNMTPS          :  PShapesDataStructure from NMTDS is protected; 
50     myMap             :  IndexedMapOfCoupleOfInteger from BOPTools is protected; 
51     myIndex1          :  Integer from Standard is protected;
52     myIndex2          :  Integer from Standard is protected;
53     myWithSubShapeFlag:  Boolean from Standard is protected; 
54     
55 end IteratorOfCoupleOfShape;