From: srn Date: Thu, 12 May 2005 08:23:02 +0000 (+0000) Subject: Added support of BOOST's shared_ptr X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5e470909b859e6344f9529fc230ea45f9300e1a;p=modules%2Fkernel.git Added support of BOOST's shared_ptr --- diff --git a/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx b/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx index 212264fd0..9e50d0a87 100644 --- a/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx +++ b/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx @@ -18,11 +18,11 @@ public: virtual _PTR(Study) NewStudy(const std::string& study_name) = 0; virtual _PTR(Study) Open(const std::string& theStudyUrl) = 0; - virtual void Close( _PTR(Study) theStudy) = 0; - virtual void Save( _PTR(Study) theStudy, bool theMultiFile) = 0; - virtual void SaveASCII( _PTR(Study) theStudy, bool theMultiFile) = 0; - virtual void SaveAs(const std::string& theUrl, _PTR(Study) theStudy, bool theMultiFile) = 0; - virtual void SaveAsASCII(const std::string& theUrl, _PTR(Study) theStudy, bool theMultiFile) = 0; + virtual void Close(const _PTR(Study)& theStudy) = 0; + virtual void Save(const _PTR(Study)& theStudy, bool theMultiFile) = 0; + virtual void SaveASCII(const _PTR(Study)& theStudy, bool theMultiFile) = 0; + virtual void SaveAs(const std::string& theUrl, const _PTR(Study)& theStudy, bool theMultiFile) = 0; + virtual void SaveAsASCII(const std::string& theUrl, const _PTR(Study)& theStudy, bool theMultiFile) = 0; virtual std::vector GetOpenStudies() = 0; virtual _PTR(Study) GetStudyByName(const std::string& theStudyName) = 0; virtual _PTR(Study) GetStudyByID(int theStudyID) = 0;