File indexing completed on 2026-09-10 09:16:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _DNaming_BooleanOperationDriver_HeaderFile
0017 #define _DNaming_BooleanOperationDriver_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <TFunction_Driver.hxx>
0023 #include <Standard_Integer.hxx>
0024 class TFunction_Logbook;
0025 class TDF_Label;
0026 class BRepAlgoAPI_BooleanOperation;
0027 class TFunction_Function;
0028
0029 class DNaming_BooleanOperationDriver;
0030 DEFINE_STANDARD_HANDLE(DNaming_BooleanOperationDriver, TFunction_Driver)
0031
0032
0033 class DNaming_BooleanOperationDriver : public TFunction_Driver
0034 {
0035
0036 public:
0037
0038
0039
0040 Standard_EXPORT DNaming_BooleanOperationDriver();
0041
0042
0043
0044
0045
0046
0047
0048 Standard_EXPORT virtual void Validate(Handle(TFunction_Logbook)& theLog) const Standard_OVERRIDE;
0049
0050
0051
0052
0053
0054 Standard_EXPORT virtual Standard_Boolean MustExecute(
0055 const Handle(TFunction_Logbook)& theLog) const Standard_OVERRIDE;
0056
0057
0058
0059 Standard_EXPORT virtual Standard_Integer Execute(Handle(TFunction_Logbook)& theLog) const
0060 Standard_OVERRIDE;
0061
0062 DEFINE_STANDARD_RTTIEXT(DNaming_BooleanOperationDriver, TFunction_Driver)
0063
0064 protected:
0065 private:
0066 Standard_EXPORT void LoadNamingDS(const TDF_Label& theResultLabel,
0067 BRepAlgoAPI_BooleanOperation& MS) const;
0068
0069 Standard_EXPORT void LoadSectionNDS(const TDF_Label& theResultLabel,
0070 BRepAlgoAPI_BooleanOperation& MS) const;
0071
0072 Standard_EXPORT Standard_Boolean
0073 CheckAndLoad(BRepAlgoAPI_BooleanOperation& theMkOpe,
0074 const Handle(TFunction_Function)& theFunction) const;
0075 };
0076
0077 #endif