X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FAdvancedEngine%2FAdvancedEngine_PipeTShapeDriver.hxx;h=5b5b2d690567b6e92d9692d6269d718ab22cd948;hb=7725eb65c0db6054b25300a1b8f836d445527f73;hp=eb821952e6000d76efa68853e88c7231cb67dc69;hpb=8370b4a1c488f6ef18d8944869d6a8cd3a2d18d2;p=modules%2Fgeom.git diff --git a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx index eb821952e..5b5b2d690 100644 --- a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx +++ b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.hxx @@ -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 #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: /*!