27 #ifndef __SALOMEDSClient_STUDY_H__
28 #define __SALOMEDSClient_STUDY_H__
43 #include <SALOMEconfig.h>
44 #include CORBA_CLIENT_HEADER(SALOMEDS)
57 virtual
_PTR(SObject)
FindObject(const std::
string& anObjectName) = 0;
58 virtual std::vector<
_PTR(SObject)>
FindObjectByName( const std::
string& anObjectName, const std::
string& aComponentName ) = 0;
64 virtual
void SetContext(const std::
string& thePath) = 0;
66 virtual std::vector<std::
string>
GetObjectNames(const std::
string& theContext) = 0;
67 virtual std::vector<std::
string>
GetDirectoryNames(const std::
string& theContext) = 0;
68 virtual std::vector<std::
string>
GetFileNames(const std::
string& theContext) = 0;
69 virtual std::vector<std::
string>
GetComponentNames(const std::
string& theContext) = 0;
73 virtual std::
string Name() = 0;
74 virtual
void Name(const std::
string& name) = 0;
76 virtual
void IsSaved(
bool save) = 0;
79 virtual std::
string URL() = 0;
80 virtual
void URL(const std::
string& url) = 0;
82 virtual
void StudyId(
int id) = 0;
88 virtual
void Close() = 0;
90 virtual
bool DumpStudy(const std::
string& thePath,
91 const std::
string& theBaseName,
93 bool isMultiFile) = 0;
96 const std::
string& theModuleName,
int theSavePoint) = 0;
97 virtual
void SetStudyLock(const std::
string& theLockerID) = 0;
99 virtual
void UnLockStudy(const std::
string& theLockerID) = 0;
100 virtual std::vector<std::
string>
GetLockerID() = 0;
102 virtual
void SetReal(const std::
string& theVarName, const
double theValue) = 0;
103 virtual
void SetInteger(const std::
string& theVarName, const
int theValue) = 0;
104 virtual
void SetBoolean(const std::
string& theVarName, const
bool theValue) = 0;
105 virtual
void SetString(const std::
string& theVarName, const std::
string& theValue) = 0;
106 virtual
void SetStringAsDouble(const std::
string& theVarName, const
double theValue) = 0;
108 virtual
double GetReal(const std::
string& theVarName) = 0;
109 virtual
int GetInteger(const std::
string& theVarName) = 0;
110 virtual
bool GetBoolean(const std::
string& theVarName) = 0;
111 virtual std::
string GetString(const std::
string& theVarName) = 0;
113 virtual
bool IsReal(const std::
string& theVarName) = 0;
114 virtual
bool IsInteger(const std::
string& theVarName) = 0;
115 virtual
bool IsBoolean(const std::
string& theVarName) = 0;
116 virtual
bool IsString(const std::
string& theVarName) = 0;
118 virtual
bool IsVariable(const std::
string& theVarName) = 0;
123 const std::
string& theNewVarName) = 0;
126 virtual std::vector< std::vector<std::
string> >
ParseVariables(const std::
string& theVars) = 0;
128 virtual
void attach(SALOMEDS::Observer_ptr theObserver,
bool modify) = 0;
129 virtual
void detach(SALOMEDS::Observer_ptr theObserver) = 0;