]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Removed unnecessary methods
authorsrn <srn@opencascade.com>
Wed, 23 Mar 2005 07:56:37 +0000 (07:56 +0000)
committersrn <srn@opencascade.com>
Wed, 23 Mar 2005 07:56:37 +0000 (07:56 +0000)
src/SALOMEDS/SALOMEDS_StudyManager_i.cxx
src/SALOMEDS/SALOMEDS_StudyManager_i.hxx

index c2709aad74145d6c48b2588af9fdf8037978e53c..9c4a9d7484c86dd4688402267cdd6d394ae3d1a4 100644 (file)
@@ -308,20 +308,6 @@ SALOMEDS::Study_ptr SALOMEDS_StudyManager_i::GetStudyByID(CORBA::Short aStudyID)
   return Study;
 }
 
-//============================================================================
-/*! Function : GetDocumentOfStudy
- *  Purpose  : 
- */
-//============================================================================
-Handle(TDocStd_Document) SALOMEDS_StudyManager_i::GetDocumentOfStudy(SALOMEDS::Study_ptr theStudy) 
-{
-  SALOMEDS::Locker lock;
-
-  Handle(SALOMEDSImpl_Study) aStudyImpl = _impl->GetStudyByID(theStudy->StudyId());
-  Handle(TDocStd_Document) aDocument = _impl->GetDocumentOfStudy(aStudyImpl);  
-  return aDocument;
-}
-
 
 //============================================================================
 /*! Function : CanCopy
index 3d384ffd449f5322ebe61f524643a8fbbd2298ea..795ccb9e25da57953d9ab87c7bf29c8caa4e6016 100644 (file)
@@ -113,22 +113,6 @@ public:
     \return Study_ptr arguments
   */ 
   virtual SALOMEDS::Study_ptr GetStudyByID(CORBA::Short aStudyID) ;
-
-
-  Handle(TDocStd_Document) GetDocumentOfStudy(SALOMEDS::Study_ptr theStudy);
-  
-  void CopyLabel(const SALOMEDS::Study_ptr theSourceStudy, 
-                const SALOMEDS::Driver_ptr theEngine,
-                const Standard_Integer theSourceStartDepth,
-                const TDF_Label& theSource,
-                const TDF_Label& theDestinationMain);
-
-  TDF_Label PasteLabel(const SALOMEDS::Study_ptr theDestinationStudy,
-                      const SALOMEDS::Driver_ptr theEngine,
-                      const TDF_Label& theSource,
-                      const TDF_Label& theDestinationStart,
-                      const int theCopiedStudyID,
-                      const bool isFirstElement);
   
   virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);
   virtual CORBA::Boolean Copy(SALOMEDS::SObject_ptr theObject);