// 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

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_ShapeProcess_UOperator.hxx>

#include <ShapeProcess_OperFunc.hxx>
#include <ShapeProcess_Operator.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_ShapeProcess_Context.hxx>
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;


};







#endif // _ShapeProcess_UOperator_HeaderFile
