// 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 _DNaming_BooleanOperationDriver_HeaderFile #define _DNaming_BooleanOperationDriver_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_DNaming_BooleanOperationDriver_HeaderFile #include #endif #ifndef _TFunction_Driver_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_TFunction_Function_HeaderFile #include #endif class TFunction_Logbook; class TDF_Label; class BRepAlgoAPI_BooleanOperation; class TFunction_Function; //! Driver for Fuse, Cut, Common
class DNaming_BooleanOperationDriver : public TFunction_Driver { public: //! Constructor
//! validation
//! ==========
Standard_EXPORT DNaming_BooleanOperationDriver(); //! Validates labels of a function in .
//! In regeneration mode this method must be called (by the
//! solver) even if the function is not executed, to build
//! the valid label scope.
//! execution of function
//! ======================
Standard_EXPORT virtual void Validate(TFunction_Logbook& theLog) const; //! Analyse in if the loaded function must be executed
//! (i.e.arguments are modified) or not.
//! If the Function label itself is modified, the function must
//! be executed.
Standard_EXPORT virtual Standard_Boolean MustExecute(const TFunction_Logbook& theLog) const; //! Execute the function and push in the impacted
//! labels (see method SetImpacted).
Standard_EXPORT virtual Standard_Integer Execute(TFunction_Logbook& theLog) const; DEFINE_STANDARD_RTTI(DNaming_BooleanOperationDriver) protected: private: Standard_EXPORT void LoadNamingDS(const TDF_Label& theResultLabel,BRepAlgoAPI_BooleanOperation& MS) const; Standard_EXPORT Standard_Boolean CheckAndLoad(BRepAlgoAPI_BooleanOperation& theMkOpe,const Handle(TFunction_Function)& theFunction) const; }; // other Inline functions and methods (like "C++: function call" methods) #endif