X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FKernelHelpers%2FSALOME_StudyEditor.hxx;h=2e83caa673e832297e22799ae3afb61679dc9283;hb=6296b3a3052d25ddb1f46c5fa50bd7b6e87859cb;hp=93c45a6e6ed66e90a37f034f7977a04bee39ac6a;hpb=9a965a48d4bc1a6cd1f73229a91e77b10bffa881;p=modules%2Fkernel.git diff --git a/src/KernelHelpers/SALOME_StudyEditor.hxx b/src/KernelHelpers/SALOME_StudyEditor.hxx index 93c45a6e6..2e83caa67 100644 --- a/src/KernelHelpers/SALOME_StudyEditor.hxx +++ b/src/KernelHelpers/SALOME_StudyEditor.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -16,6 +16,7 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + // Author: Guillaume Boulant (EDF/R&D) #ifndef __STUDY_EDITOR_HXX__ @@ -32,8 +33,7 @@ class KERNELHELPERS_EXPORT SALOME_StudyEditor { public: - SALOME_StudyEditor(int studyId); - SALOME_StudyEditor(SALOMEDS::Study_ptr study); + SALOME_StudyEditor(); typedef std::vector SObjectList; @@ -55,16 +55,8 @@ public: static const int UNDEFINED = -1; -protected: - SALOME_StudyEditor(); - void setStudy(SALOMEDS::Study_ptr study); - void setStudyById(int studyId); - int getStudyId(); - - SALOMEDS::Study_var _study; - private: - SALOMEDS::StudyBuilder_var _sbuilder; + SALOMEDS::StudyBuilder_var studyBuilder(); }; #endif // __STUDY_EDITOR_HXX__