X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGEOM%2FGEOM_BaseObject.hxx;h=00aa1b6ac73ea344c04514389680e5af14aa8776;hb=335b028279b21ca634bba57228daf66895d591de;hp=68e6bdc5ae302df781407611d46d4ddf89c127f1;hpb=18a5df8c670275043051d51e0667742b63159834;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_BaseObject.hxx b/src/GEOM/GEOM_BaseObject.hxx index 68e6bdc5a..00aa1b6ac 100644 --- a/src/GEOM/GEOM_BaseObject.hxx +++ b/src/GEOM/GEOM_BaseObject.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -30,14 +30,14 @@ #include #include #include +#include #include class GEOM_BaseObject; -class Handle(TFunction_Driver); class GEOM_Engine; -DEFINE_STANDARD_HANDLE( GEOM_BaseObject, Standard_Transient ); +DEFINE_STANDARD_HANDLE( GEOM_BaseObject, Standard_Transient ) class GEOM_BaseObject : public Standard_Transient { @@ -92,9 +92,6 @@ public: Standard_EXPORT void SetTic(int theTic); Standard_EXPORT void IncrementTic(); - //Returns an ID of the OCAF document where this GEOM_BaseObject is stored - Standard_EXPORT int GetDocID(); - //Sets a name of this GEOM_BaseObject Standard_EXPORT void SetName(const char* theName); @@ -163,10 +160,9 @@ public: TDF_Label _label; TCollection_AsciiString _ior; TCollection_AsciiString _parameters; - int _docID; public: - DEFINE_STANDARD_RTTI( GEOM_BaseObject ); + DEFINE_STANDARD_RTTIEXT(GEOM_BaseObject,Standard_Transient) }; #endif