]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx
Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTTools / NMTTools_IteratorOfCoupleOfShape.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
16 #define _NMTTools_IteratorOfCoupleOfShape_HeaderFile
17
18 #ifndef _NMTDS_PShapesDataStructure_HeaderFile
19 #include <NMTDS_PShapesDataStructure.hxx>
20 #endif
21 #ifndef _BOPTools_IndexedMapOfCoupleOfInteger_HeaderFile
22 #include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
23 #endif
24 #ifndef _Standard_Integer_HeaderFile
25 #include <Standard_Integer.hxx>
26 #endif
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
29 #endif
30 #ifndef _BOPTools_IteratorOfCoupleOfShape_HeaderFile
31 #include <BOPTools_IteratorOfCoupleOfShape.hxx>
32 #endif
33 #ifndef _TopAbs_ShapeEnum_HeaderFile
34 #include <TopAbs_ShapeEnum.hxx>
35 #endif
36 class Standard_NoSuchObject;
37 class NMTDS_ShapesDataStructure;
38
39
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
42 #endif
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
45 #endif
46
47 class NMTTools_IteratorOfCoupleOfShape  : public BOPTools_IteratorOfCoupleOfShape {
48
49 public:
50
51     void* operator new(size_t,void* anAddress) 
52       {
53         return anAddress;
54       }
55     void* operator new(size_t size) 
56       { 
57         return Standard::Allocate(size); 
58       }
59     void  operator delete(void *anAddress) 
60       { 
61         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
62       }
63  // Methods PUBLIC
64  // 
65 Standard_EXPORT NMTTools_IteratorOfCoupleOfShape();
66 Standard_EXPORT   void SetDS(const NMTDS_PShapesDataStructure& pDS) ;
67 Standard_EXPORT virtual  void Initialize(const TopAbs_ShapeEnum Type1,const TopAbs_ShapeEnum Type2) ;
68 Standard_EXPORT virtual  void Current(Standard_Integer& Index1,Standard_Integer& Index2,Standard_Boolean& WithSubShape) const;
69 Standard_EXPORT virtual  Standard_Boolean More() const;
70 Standard_EXPORT  const NMTDS_ShapesDataStructure& DS() const;
71
72
73
74
75
76 protected:
77
78  // Methods PROTECTED
79  // 
80
81
82  // Fields PROTECTED
83  //
84 NMTDS_PShapesDataStructure myPNMTPS;
85 BOPTools_IndexedMapOfCoupleOfInteger myMap;
86 Standard_Integer myIndex1;
87 Standard_Integer myIndex2;
88 Standard_Boolean myWithSubShapeFlag;
89
90
91 private: 
92
93  // Methods PRIVATE
94  // 
95
96
97  // Fields PRIVATE
98  //
99
100
101 };
102
103
104
105
106
107 // other Inline functions and methods (like "C++: function call" methods)
108 //
109
110
111 #endif