// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _BooleanOperations_Explorer_HeaderFile #define _BooleanOperations_Explorer_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BooleanOperations_PShapesDataStructure_HeaderFile #include #endif #ifndef _Standard_Address_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class BooleanOperations_ShapesDataStructure; //! the explorer associated to the Data Structure to
//! retrieve subshapes of a given shape stored in
//! ShapesDataStructure.
class BooleanOperations_Explorer { 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); } Standard_EXPORT BooleanOperations_Explorer(const BooleanOperations_ShapesDataStructure& SDS); Standard_EXPORT virtual void Delete() ; Standard_EXPORT virtual ~BooleanOperations_Explorer() {Delete();} Standard_EXPORT virtual void Init(const Standard_Integer aShape,const TopAbs_ShapeEnum TargetToFind,const TopAbs_ShapeEnum TargetToAvoid = TopAbs_SHAPE) ; Standard_EXPORT virtual void Next() ; Standard_EXPORT Standard_Boolean More() const; Standard_EXPORT virtual Standard_Integer Current() ; Standard_EXPORT virtual void Dump(Standard_OStream& S) const; protected: BooleanOperations_PShapesDataStructure myShapesDataStructure; Standard_Address myStack; Standard_Integer myTopOfStack; Standard_Integer mySizeOfStack; TopAbs_ShapeEnum myTargetToFind; TopAbs_ShapeEnum myTargetToAvoid; Standard_Boolean hasMore; private: }; // other Inline functions and methods (like "C++: function call" methods) #endif