// 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 _GCE2d_Root_HeaderFile #define _GCE2d_Root_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _gce_ErrorType_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif //! This class implements the common services for
//! all classes of gce which report error.
class GCE2d_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); } //! Returns true if the construction is successful.
Standard_Boolean IsDone() const; //! Returns the status of the construction
//! - gce_Done, if the construction is successful, or
//! - another value of the gce_ErrorType enumeration
//! indicating why the construction failed.
gce_ErrorType Status() const; protected: gce_ErrorType TheError; private: }; #include // other Inline functions and methods (like "C++: function call" methods) #endif