#include <SALOMEDS_Study.hxx>
Public Member Functions | |
SALOMEDS_Study (SALOMEDSImpl_Study *theStudy) | |
SALOMEDS_Study (SALOMEDS::Study_ptr theStudy) | |
~SALOMEDS_Study () | |
virtual std::string | GetPersistentReference () |
virtual std::string | GetTransientReference () |
virtual bool | IsEmpty () |
virtual void | SetContext (const std::string &thePath) |
virtual std::string | GetContext () |
virtual std::vector< std::string > | GetObjectNames (const std::string &theContext) |
virtual std::vector< std::string > | GetDirectoryNames (const std::string &theContext) |
virtual std::vector< std::string > | GetFileNames (const std::string &theContext) |
virtual std::vector< std::string > | GetComponentNames (const std::string &theContext) |
virtual | _PTR (ChildIterator) NewChildIterator(const _PTR(SObject)&theSO) |
virtual | _PTR (SComponentIterator) NewComponentIterator() |
virtual | _PTR (StudyBuilder) NewBuilder() |
virtual std::string | Name () |
virtual void | Name (const std::string &name) |
virtual bool | IsSaved () |
virtual void | IsSaved (bool save) |
virtual bool | IsModified () |
virtual void | Modified () |
virtual std::string | URL () |
virtual void | URL (const std::string &url) |
virtual int | StudyId () |
virtual void | StudyId (int id) |
virtual std::vector< _PTR(SObject)> | FindDependances (const _PTR(SObject)&theSO) |
virtual | _PTR (AttributeStudyProperties) GetProperties() |
virtual std::string | GetLastModificationDate () |
virtual std::vector< std::string > | GetModificationsDate () |
virtual | _PTR (UseCaseBuilder) GetUseCaseBuilder() |
virtual void | Close () |
virtual void | EnableUseCaseAutoFilling (bool isEnabled) |
virtual bool | DumpStudy (const std::string &thePath, const std::string &theBaseName, bool isPublished, bool isMultiFile) |
virtual bool | IsStudyLocked () |
virtual void | UnLockStudy (const std::string &theLockerID) |
virtual std::vector< std::string > | GetLockerID () |
virtual void | SetReal (const std::string &theVarName, const double theValue) |
virtual void | SetInteger (const std::string &theVarName, const int theValue) |
virtual void | SetBoolean (const std::string &theVarName, const bool theValue) |
virtual void | SetString (const std::string &theVarName, const std::string &theValue) |
virtual void | SetStringAsDouble (const std::string &theVarName, const double theValue) |
virtual double | GetReal (const std::string &theVarName) |
virtual int | GetInteger (const std::string &theVarName) |
virtual bool | GetBoolean (const std::string &theVarName) |
virtual std::string | GetString (const std::string &theVarName) |
virtual bool | IsReal (const std::string &theVarName) |
virtual bool | IsInteger (const std::string &theVarName) |
virtual bool | IsBoolean (const std::string &theVarName) |
virtual bool | IsString (const std::string &theVarName) |
virtual bool | IsVariable (const std::string &theVarName) |
virtual std::vector< std::string > | GetVariableNames () |
virtual bool | RemoveVariable (const std::string &theVarName) |
virtual bool | RenameVariable (const std::string &theVarName, const std::string &theNewVarName) |
virtual bool | IsVariableUsed (const std::string &theVarName) |
virtual std::vector < std::vector< std::string > > | ParseVariables (const std::string &theVars) |
virtual void | attach (SALOMEDS::Observer_ptr theObserver, bool modify) |
virtual void | detach (SALOMEDS::Observer_ptr theObserver) |
std::string | ConvertObjectToIOR (CORBA::Object_ptr theObject) |
CORBA::Object_ptr | ConvertIORToObject (const std::string &theIOR) |
SALOMEDS::Study_ptr | GetStudy () |
SALOMEDSImpl_Study * | GetLocalImpl () |
virtual clt_shared_ptr < SALOMEDSClient_SComponent > | FindComponent (const std::string &aComponentName)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SComponent > | FindComponentID (const std::string &aComponentID)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | FindObject (const std::string &anObjectName)=0 |
virtual std::vector < clt_shared_ptr < SALOMEDSClient_SObject > > | FindObjectByName (const std::string &anObjectName, const std::string &aComponentName)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | FindObjectID (const std::string &anObjectID)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | CreateObjectID (const std::string &anObjectID)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | FindObjectIOR (const std::string &anObjectIOR)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | FindObjectByPath (const std::string &thePath)=0 |
virtual std::string | GetObjectPath (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual clt_shared_ptr < SALOMEDSClient_ChildIterator > | NewChildIterator (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual clt_shared_ptr < SALOMEDSClient_SComponentIterator > | NewComponentIterator ()=0 |
virtual clt_shared_ptr < SALOMEDSClient_StudyBuilder > | NewBuilder ()=0 |
virtual std::vector < clt_shared_ptr < SALOMEDSClient_SObject > > | FindDependances (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual clt_shared_ptr < SALOMEDSClient_AttributeStudyProperties > | GetProperties ()=0 |
virtual clt_shared_ptr < SALOMEDSClient_UseCaseBuilder > | GetUseCaseBuilder ()=0 |
virtual clt_shared_ptr < SALOMEDSClient_AttributeParameter > | GetCommonParameters (const std::string &theID, int theSavePoint)=0 |
virtual clt_shared_ptr < SALOMEDSClient_AttributeParameter > | GetModuleParameters (const std::string &theID, const std::string &theModuleName, int theSavePoint)=0 |
virtual void | SetStudyLock (const std::string &theLockerID)=0 |
Private Member Functions | |
void | init_orb () |
Private Attributes | |
bool | _isLocal |
SALOMEDSImpl_Study * | _local_impl |
SALOMEDS::Study_var | _corba_impl |
CORBA::ORB_var | _orb |
SALOMEDS_Study::SALOMEDS_Study | ( | SALOMEDSImpl_Study * | theStudy | ) |
References _corba_impl, _isLocal, _local_impl, and init_orb().
SALOMEDS_Study::SALOMEDS_Study | ( | SALOMEDS::Study_ptr | theStudy | ) |
References _corba_impl, _isLocal, _local_impl, Kernel_Utils::GetHostname(), and init_orb().
SALOMEDS_Study::~SALOMEDS_Study | ( | ) |
|
virtual |
Referenced by FindDependances().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and GetStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::Close(), and SALOMEDS::lock().
CORBA::Object_ptr SALOMEDS_Study::ConvertIORToObject | ( | const std::string & | theIOR | ) |
References _orb.
std::string SALOMEDS_Study::ConvertObjectToIOR | ( | CORBA::Object_ptr | theObject | ) |
References _orb.
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and GetStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and GetStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, and SALOMEDSImpl_Study::EnableUseCaseAutoFilling().
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetVariableValue(), and SALOMEDS::lock().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetComponentNames(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetContext(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetDirectoryNames(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetFileNames(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetVariableValue(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetLastModificationDate(), and SALOMEDS::lock().
SALOMEDSImpl_Study* SALOMEDS_Study::GetLocalImpl | ( | ) |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetLockerID(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetModificationsDate(), and SALOMEDS::lock().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetObjectNames(), and SALOMEDS::lock().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetPersistentReference(), and SALOMEDS::lock().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetVariableValue(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetStringVariableValue(), and SALOMEDS::lock().
SALOMEDS::Study_ptr SALOMEDS_Study::GetStudy | ( | ) |
References _corba_impl, _isLocal, _local_impl, _orb, SALOMEDSImpl_Study::GetTransientReference(), SALOMEDSImpl_Study::IsError(), SALOMEDS::lock(), and SALOMEDSImpl_Study::SetTransientReference().
Referenced by attach(), ConvertStudy(), detach(), and DumpStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetTransientReference(), and SALOMEDS::lock().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetVariableNames(), and SALOMEDS::lock().
|
private |
References _orb, ASSERT, and SINGLETON_< TYPE >::Instance().
Referenced by SALOMEDS_Study().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_GenericVariable::BOOLEAN_VAR, SALOMEDSImpl_Study::IsTypeOf(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsEmpty(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_GenericVariable::INTEGER_VAR, SALOMEDSImpl_Study::IsTypeOf(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsModified(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsTypeOf(), SALOMEDS::lock(), and SALOMEDSImpl_GenericVariable::REAL_VAR.
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsSaved(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsSaved(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsTypeOf(), SALOMEDS::lock(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsStudyLocked(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsVariable(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::IsVariableUsed(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Modify().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::ParseVariables().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::RemoveVariable().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::RenameVariable().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_GenericVariable::BOOLEAN_VAR, SALOMEDS::lock(), and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::SetContext().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_GenericVariable::INTEGER_VAR, SALOMEDS::lock(), and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), SALOMEDSImpl_GenericVariable::REAL_VAR, and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), SALOMEDSImpl_Study::SetStringVariable(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), SALOMEDSImpl_Study::SetStringVariableAsDouble(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::StudyId().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::StudyId().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, and SALOMEDSImpl_Study::UnLockStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::URL().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::URL().
|
private |
Referenced by attach(), Close(), detach(), DumpStudy(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetComponentNames(), GetContext(), GetDirectoryNames(), GetFileNames(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetObjectNames(), GetPersistentReference(), GetReal(), GetString(), GetStudy(), GetTransientReference(), GetVariableNames(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), SetBoolean(), SetContext(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), StudyId(), UnLockStudy(), and URL().
|
private |
Referenced by Close(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetComponentNames(), GetContext(), GetDirectoryNames(), GetFileNames(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetObjectNames(), GetPersistentReference(), GetReal(), GetString(), GetStudy(), GetTransientReference(), GetVariableNames(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), SetBoolean(), SetContext(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), StudyId(), UnLockStudy(), and URL().
|
private |
Referenced by Close(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetComponentNames(), GetContext(), GetDirectoryNames(), GetFileNames(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetObjectNames(), GetPersistentReference(), GetReal(), GetString(), GetStudy(), GetTransientReference(), GetVariableNames(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), SetBoolean(), SetContext(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), StudyId(), UnLockStudy(), and URL().
|
private |
Referenced by ConvertIORToObject(), ConvertObjectToIOR(), GetStudy(), and init_orb().