Salome HOME
Porting to new OCCT version
[modules/geom.git] / src / GEOM / GEOM_BaseDriver.cxx
index 2f834dd50843efdb8e556dbbcb4c701614aaf872..6328fd425065d3d12f6177b1770eddefe62939d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  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
 #include "GEOM_Object.hxx"
 #include "GEOM_Engine.hxx"
 
-#include <TColStd_HArray1OfInteger.hxx>
 #include <TDataStd_Name.hxx>
 #include <TDocStd_Owner.hxx>
 
-IMPLEMENT_STANDARD_HANDLE (GEOM_BaseDriver,TFunction_Driver);
 IMPLEMENT_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver);
 
-//================================================================================
-/*!
- * Returns document id
- */
-//================================================================================
-int GEOM_BaseDriver::GetDocID() const
-{
-  int docId = 0;
-  if (!Label().IsNull()) {
-    Handle(TDocStd_Document) aDoc = TDocStd_Owner::GetDocument(Label().Data());
-    docId = GEOM_Engine::GetEngine()->GetDocID(aDoc);
-  }
-  return docId;
-}
-
 //================================================================================
 /*!
  * \brief Returns a name of creation operation and names and values of creation parameters