// 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 _STEPSelections_Counter_HeaderFile #define _STEPSelections_Counter_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _TColStd_MapOfTransient_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Handle_StepShape_ConnectedFaceSet_HeaderFile #include #endif #ifndef _Handle_StepGeom_CompositeCurve_HeaderFile #include #endif class Interface_Graph; class Standard_Transient; class StepShape_ConnectedFaceSet; class StepGeom_CompositeCurve; class STEPSelections_Counter { 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 STEPSelections_Counter(); Standard_EXPORT void Count(const Interface_Graph& graph,const Handle(Standard_Transient)& start) ; Standard_EXPORT void Clear() ; Standard_Integer NbInstancesOfFaces() const; Standard_Integer POP() const; Standard_Integer POP2() const; Standard_Integer NbInstancesOfShells() const; Standard_Integer NbInstancesOfSolids() const; Standard_Integer NbInstancesOfEdges() const; Standard_Integer NbInstancesOfWires() const; Standard_Integer NbSourceFaces() const; Standard_Integer NbSourceShells() const; Standard_Integer NbSourceSolids() const; Standard_Integer NbSourceEdges() const; Standard_Integer NbSourceWires() const; protected: private: Standard_EXPORT void AddShell(const Handle(StepShape_ConnectedFaceSet)& cfs) ; Standard_EXPORT void AddCompositeCurve(const Handle(StepGeom_CompositeCurve)& ccurve) ; Standard_Integer myNbFaces; Standard_Integer myNbShells; Standard_Integer myNbSolids; Standard_Integer myNbEdges; Standard_Integer myNbWires; TColStd_MapOfTransient myMapOfFaces; TColStd_MapOfTransient myMapOfShells; TColStd_MapOfTransient myMapOfSolids; TColStd_MapOfTransient myMapOfEdges; TColStd_MapOfTransient myMapOfWires; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif