// 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 _TNaming_ShapesSet_HeaderFile #define _TNaming_ShapesSet_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopTools_MapOfShape_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TopoDS_Shape; class TopTools_MapOfShape; class TNaming_ShapesSet { 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); } TNaming_ShapesSet(); Standard_EXPORT TNaming_ShapesSet(const TopoDS_Shape& S,const TopAbs_ShapeEnum Type = TopAbs_SHAPE); //! Removes all Shapes
void Clear() ; //! Adds the Shape
Standard_Boolean Add(const TopoDS_Shape& S) ; //! Returns True if is in
Standard_Boolean Contains(const TopoDS_Shape& S) const; //! Removes in .
Standard_Boolean Remove(const TopoDS_Shape& S) ; //! Adds the shapes contained in .
Standard_EXPORT void Add(const TNaming_ShapesSet& Shapes) ; //! Erases in the shapes not
//! contained in
Standard_EXPORT void Filter(const TNaming_ShapesSet& Shapes) ; //! Removes in the shapes contained in
Standard_EXPORT void Remove(const TNaming_ShapesSet& Shapes) ; Standard_Boolean IsEmpty() const; Standard_Integer NbShapes() const; TopTools_MapOfShape& ChangeMap() ; const TopTools_MapOfShape& Map() const; protected: private: TopTools_MapOfShape myMap; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif