// 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 _StepToTopoDS_Root_HeaderFile #define _StepToTopoDS_Root_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif //! This class implements the common services for
//! all classes of StepToTopoDS which report error
//! and sets and returns precision.
class StepToTopoDS_Root { 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_Boolean IsDone() const; //! Returns the value of "MyPrecision"
Standard_Real Precision() const; //! Sets the value of "MyPrecision"
void SetPrecision(const Standard_Real preci) ; //! Returns the value of "MaxTol"
Standard_Real MaxTol() const; //! Sets the value of MaxTol
void SetMaxTol(const Standard_Real maxpreci) ; protected: Standard_EXPORT StepToTopoDS_Root(); Standard_Boolean done; private: Standard_Real myPrecision; Standard_Real myMaxTol; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif