geom/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx

112 lines
2.7 KiB
C++
Raw Normal View History

2004-12-01 15:39:14 +05:00
// File generated by CPPExt (Value)
// Copyright (C) 1991,1995 by
//
// MATRA DATAVISION, FRANCE
//
// This software is furnished in accordance with the terms and conditions
// of the contract and with the inclusion of the above copyright notice.
// This software or any other copy thereof may not be provided or otherwise
// be made available to any other person. No title to an ownership of the
// software is hereby transferred.
//
// At the termination of the contract, the software and all copies of this
// software must be deleted.
#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
#define _NMTTools_IteratorOfCoupleOfShape_HeaderFile
#ifndef _NMTDS_PShapesDataStructure_HeaderFile
#include <NMTDS_PShapesDataStructure.hxx>
#endif
#ifndef _BOPTools_IndexedMapOfCoupleOfInteger_HeaderFile
#include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _BOPTools_IteratorOfCoupleOfShape_HeaderFile
#include <BOPTools_IteratorOfCoupleOfShape.hxx>
#endif
#ifndef _TopAbs_ShapeEnum_HeaderFile
#include <TopAbs_ShapeEnum.hxx>
#endif
class Standard_NoSuchObject;
class NMTDS_ShapesDataStructure;
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
class NMTTools_IteratorOfCoupleOfShape : public BOPTools_IteratorOfCoupleOfShape {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
// Methods PUBLIC
//
Standard_EXPORT NMTTools_IteratorOfCoupleOfShape();
Standard_EXPORT void SetDS(const NMTDS_PShapesDataStructure& pDS) ;
Standard_EXPORT virtual void Initialize(const TopAbs_ShapeEnum Type1,const TopAbs_ShapeEnum Type2) ;
Standard_EXPORT virtual void Current(Standard_Integer& Index1,Standard_Integer& Index2,Standard_Boolean& WithSubShape) const;
Standard_EXPORT virtual Standard_Boolean More() const;
Standard_EXPORT const NMTDS_ShapesDataStructure& DS() const;
protected:
// Methods PROTECTED
//
// Fields PROTECTED
//
NMTDS_PShapesDataStructure myPNMTPS;
BOPTools_IndexedMapOfCoupleOfInteger myMap;
Standard_Integer myIndex1;
Standard_Integer myIndex2;
Standard_Boolean myWithSubShapeFlag;
private:
// Methods PRIVATE
//
// Fields PRIVATE
//
};
// other Inline functions and methods (like "C++: function call" methods)
//
#endif