// 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 _SWDRAW_ShapeTool_HeaderFile #define _SWDRAW_ShapeTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class Draw_Interpretor; //! Defines functions to control shapes (in way useful for XSTEP),
//! additional features which should be basic, or call tools which
//! are bound with transfer needs.
//! But these functions work on shapes, geometry, nothing else
//! (no file, no model, no entity)
class SWDRAW_ShapeTool { 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); } //! Defines and loads all basic functions for SWDRAW on Shapes
Standard_EXPORT static void InitCommands(Draw_Interpretor& theCommands) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif