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<std::string> GetOpenStudies() = 0;
virtual _PTR(Study) GetStudyByName(const std::string& theStudyName) = 0;
virtual _PTR(Study) GetStudyByID(int theStudyID) = 0;