// 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 _AdvApp2Var_Criterion_HeaderFile #define _AdvApp2Var_Criterion_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _AdvApp2Var_CriterionType_HeaderFile #include #endif #ifndef _AdvApp2Var_CriterionRepartition_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class AdvApp2Var_Patch; class AdvApp2Var_Context; class AdvApp2Var_Criterion { 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_EXPORT virtual void Delete() ; Standard_EXPORT virtual ~AdvApp2Var_Criterion(){Delete() ; } Standard_EXPORT virtual void Value(AdvApp2Var_Patch& P,const AdvApp2Var_Context& C) const = 0; Standard_EXPORT virtual Standard_Boolean IsSatisfied(const AdvApp2Var_Patch& P) const = 0; Standard_EXPORT Standard_Real MaxValue() const; Standard_EXPORT AdvApp2Var_CriterionType Type() const; Standard_EXPORT AdvApp2Var_CriterionRepartition Repartition() const; protected: Standard_Real myMaxValue; AdvApp2Var_CriterionType myType; AdvApp2Var_CriterionRepartition myRepartition; private: }; // other Inline functions and methods (like "C++: function call" methods) #endif