1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
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.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
16 #define _NMTTools_IteratorOfCoupleOfShape_HeaderFile
18 #ifndef _NMTDS_PShapesDataStructure_HeaderFile
19 #include <NMTDS_PShapesDataStructure.hxx>
21 #ifndef _BOPTools_IndexedMapOfCoupleOfInteger_HeaderFile
22 #include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
24 #ifndef _Standard_Integer_HeaderFile
25 #include <Standard_Integer.hxx>
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
30 #ifndef _BOPTools_IteratorOfCoupleOfShape_HeaderFile
31 #include <BOPTools_IteratorOfCoupleOfShape.hxx>
33 #ifndef _TopAbs_ShapeEnum_HeaderFile
34 #include <TopAbs_ShapeEnum.hxx>
36 class Standard_NoSuchObject;
37 class NMTDS_ShapesDataStructure;
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
47 class NMTTools_IteratorOfCoupleOfShape : public BOPTools_IteratorOfCoupleOfShape {
51 void* operator new(size_t,void* anAddress)
55 void* operator new(size_t size)
57 return Standard::Allocate(size);
59 void operator delete(void *anAddress)
61 if (anAddress) Standard::Free((Standard_Address&)anAddress);
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;
84 NMTDS_PShapesDataStructure myPNMTPS;
85 BOPTools_IndexedMapOfCoupleOfInteger myMap;
86 Standard_Integer myIndex1;
87 Standard_Integer myIndex2;
88 Standard_Boolean myWithSubShapeFlag;
107 // other Inline functions and methods (like "C++: function call" methods)