// 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 _ShapeProcess_UOperator_HeaderFile #define _ShapeProcess_UOperator_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeProcess_UOperator_HeaderFile #include #endif #ifndef _ShapeProcess_OperFunc_HeaderFile #include #endif #ifndef _ShapeProcess_Operator_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_ShapeProcess_Context_HeaderFile #include #endif class ShapeProcess_Context; //! Defines operator as container for static function
//! OperFunc. This allows user to create new operators
//! without creation of new classes
class ShapeProcess_UOperator : public ShapeProcess_Operator { public: //! Creates operator with implementation defined as
//! OperFunc (static function)
Standard_EXPORT ShapeProcess_UOperator(const ShapeProcess_OperFunc func); //! Performs operation and records changes in the context
Standard_EXPORT virtual Standard_Boolean Perform(const Handle(ShapeProcess_Context)& context) ; DEFINE_STANDARD_RTTI(ShapeProcess_UOperator) protected: private: ShapeProcess_OperFunc myFunc; }; // other Inline functions and methods (like "C++: function call" methods) #endif