Salome HOME
[bos #29472] [EDF] (2022-T1) Advanced geometry features: curvature vector on a point...
[modules/geom.git] / src / GEOM / GEOM_BaseObject.hxx
index 83388851f855902f134c7c3f1291ee643b570447..00aa1b6ac73ea344c04514389680e5af14aa8776 100644 (file)
@@ -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
 #include <TCollection_AsciiString.hxx>
 #include <TDF_Label.hxx>
 #include <TDataStd_TreeNode.hxx>
+#include <TFunction_Driver.hxx>
+
+#include <vector>
 
 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
 {
@@ -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