From a5e470909b859e6344f9529fc230ea45f9300e1a Mon Sep 17 00:00:00 2001 From: srn Date: Thu, 12 May 2005 08:23:02 +0000 Subject: [PATCH] Added support of BOOST's shared_ptr --- src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.39.2