Salome HOME
Merge commit '4823245056426a9ccf9c7965daecf11459f58af5' into V9_11_BR
[modules/geom.git] / src / AdvancedEngine / AdvancedEngine_PipeTShapeDriver.hxx
index eb821952e6000d76efa68853e88c7231cb67dc69..5b5b2d690567b6e92d9692d6269d718ab22cd948 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -28,7 +28,7 @@
 #include <TColStd_HSequenceOfInteger.hxx>
 #include <Geom_Surface.hxx>
 
-DEFINE_STANDARD_HANDLE( AdvancedEngine_PipeTShapeDriver, GEOM_BaseDriver );
+DEFINE_STANDARD_HANDLE( AdvancedEngine_PipeTShapeDriver, GEOM_BaseDriver )
 
 class AdvancedEngine_PipeTShapeDriver : public GEOM_BaseDriver
 {
@@ -36,12 +36,10 @@ public:
  // Methods PUBLIC
   // 
   AdvancedEngine_PipeTShapeDriver();
-  virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-  virtual void Validate(TFunction_Logbook&) const {}
-  Standard_Boolean MustExecute(const TFunction_Logbook&) const
-  {
-    return Standard_True;
-  }
+  virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const;
+  virtual void Validate(Handle(TFunction_Logbook)&) const {}
+  Standard_Boolean MustExecute(const Handle(TFunction_Logbook)&) const { return Standard_True; }
+
   static const Standard_GUID& GetID();
   ~AdvancedEngine_PipeTShapeDriver() {};
   
@@ -49,8 +47,7 @@ public:
                                      std::vector<GEOM_Param>& params);
   // Type management
   //
-DEFINE_STANDARD_RTTI( AdvancedEngine_PipeTShapeDriver )
-
+  DEFINE_STANDARD_RTTIEXT(AdvancedEngine_PipeTShapeDriver,GEOM_BaseDriver)
 private:
 
   /*!