X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2FGEOM_BaseObject.hxx;h=89cffb35b5cb6ab34546f1d369ad00afa7e20698;hb=6fc8283dbbb497e617cb36deae082fdeae4e3844;hp=2be28339af262b00e11dc23f73c688402f854d1e;hpb=7d880c6a8262b6d670ed70ee2b9ec25c199a46d4;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_BaseObject.hxx b/src/GEOM/GEOM_BaseObject.hxx index 2be28339a..89cffb35b 100644 --- a/src/GEOM/GEOM_BaseObject.hxx +++ b/src/GEOM/GEOM_BaseObject.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2019 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,9 +30,11 @@ #include #include #include +#include + +#include class GEOM_BaseObject; -class Handle(TFunction_Driver); class GEOM_Engine; DEFINE_STANDARD_HANDLE( GEOM_BaseObject, Standard_Transient ); @@ -90,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); @@ -146,8 +145,8 @@ public: //Returns the dependencies of the last function Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetLastDependency(); - //Returns a driver creator of this object - Standard_EXPORT Handle(TFunction_Driver) GetCreationDriver(); + //Returns drivers creators of this object + Standard_EXPORT Handle(TFunction_Driver) GetCreationDriver(int funNb); //########################################################### // Internal methods @@ -161,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