27 #ifndef __SALOMEDS_STUDYMANAGER_H__
28 #define __SALOMEDS_STUDYMANAGER_H__
38 #include <SALOMEconfig.h>
39 #include CORBA_SERVER_HEADER(SALOMEDS)
55 virtual _PTR(Study) NewStudy(const std::
string& study_name);
56 virtual
_PTR(Study) Open(const std::
string& theStudyUrl);
57 virtual
void Close(const
_PTR(Study)& theStudy);
58 virtual
bool Save(const
_PTR(Study)& theStudy,
bool theMultiFile);
59 virtual
bool SaveASCII(const
_PTR(Study)& theStudy,
bool theMultiFile);
60 virtual
bool SaveAs(const std::
string& theUrl, const
_PTR(Study)& theStudy,
bool theMultiFile);
61 virtual
bool SaveAsASCII(const std::
string& theUrl, const
_PTR(Study)& theStudy,
bool theMultiFile);
62 virtual std::vector<std::
string> GetOpenStudies();
63 virtual
_PTR(Study) GetStudyByName(const std::
string& theStudyName) ;
64 virtual
_PTR(Study) GetStudyByID(
int theStudyID) ;
65 virtual
bool CanCopy(const
_PTR(SObject)& theSO);
66 virtual
bool Copy(const
_PTR(SObject)& theSO);
67 virtual
bool CanPaste(const
_PTR(SObject)& theSO);
68 virtual
_PTR(SObject) Paste(const
_PTR(SObject)& theSO);