X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FAdvancedEngine%2FAdvancedEngine_PipeTShapeDriver.hxx;h=e80eada99b1f72c3f691a75254e5c6524fc60987;hb=2bfc3d10074ec27c71436c3626e3180909fe0bc1;hp=084ad5032dd0a644bf5eb2f0c79b4a462483ef88;hpb=5e3080a50e2ddb3beb564c81d4b8b5aa62fe86e3;p=modules%2Fgeom.git diff --git a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx index 084ad5032..e80eada99 100644 --- a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx +++ b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 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 #include -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& params); // Type management // -DEFINE_STANDARD_RTTI( AdvancedEngine_PipeTShapeDriver ) - + DEFINE_STANDARD_RTTIEXT(AdvancedEngine_PipeTShapeDriver,GEOM_BaseDriver) private: /*!