#include <SALOMEDS_Study.hxx>
Public Member Functions | |
SALOMEDS_Study (SALOMEDSImpl_Study *theStudy) | |
SALOMEDS_Study (SALOMEDS::Study_ptr theStudy) | |
~SALOMEDS_Study () | |
virtual void | Clear () |
virtual void | Init () |
virtual bool | Open (const std::string &theStudyUrl) |
virtual bool | CanOpen (const std::string &theStudyUrl) |
virtual bool | Save (bool theMultiFile, bool theASCII) |
virtual bool | SaveAs (const std::string &theUrl, bool theMultiFile, bool theASCII) |
virtual bool | CanCopy (const _PTR(SObject)&theSO) |
virtual bool | Copy (const _PTR(SObject)&theSO) |
virtual bool | CanPaste (const _PTR(SObject)&theSO) |
virtual | _PTR (SObject) Paste(const _PTR(SObject) &theSO) |
virtual std::string | GetPersistentReference () |
virtual bool | IsEmpty () |
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 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 | 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) |
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 bool | CanCopy (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual bool | Copy (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual bool | CanPaste (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0 |
virtual clt_shared_ptr< SALOMEDSClient_SObject > | Paste (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=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 | InitORB () |
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, SALOMEDS_StudyBuilder::_remoteBuilderMutex, and InitORB().
SALOMEDS_Study::SALOMEDS_Study | ( | SALOMEDS::Study_ptr | theStudy | ) |
SALOMEDS_Study::~SALOMEDS_Study | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by _PTR(), and FindDependances().
|
virtual |
|
virtual |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl.
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and Kernel_Utils::decode_s().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl.
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 |
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl.
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl.
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, and SALOMEDSImpl_Study::EnableUseCaseAutoFilling().
|
pure virtualinherited |
|
pure virtualinherited |
< TODO: conversion from size_t to int
References _corba_impl, _isLocal, _local_impl, _PTR(), SALOMEDSImpl_Study::FindDependances(), SALOMEDS_SObject::GetCORBAImpl(), SALOMEDS_SObject::GetLocalImpl(), and SALOMEDS::lock().
|
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::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 |
|
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().
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_Study::GetVariableNames(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl.
|
private |
References _orb, and KERNEL::GetRefToORB().
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(), SALOMEDS::lock(), and TestKernelHelpers::ret.
|
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.
Referenced by KERNEL_PY.salome_notebook.PseudoStudyForNoteBook::IsString().
|
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, Kernel_Utils::encode_s(), SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
virtual |
References _corba_impl, _isLocal, _local_impl, Kernel_Utils::decode_s(), SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and Kernel_Utils::decode_s().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::ParseVariables().
|
pure virtualinherited |
|
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().
Implements SALOMEDSClient_Study.
References _corba_impl.
Referenced by SALOME_DriverPy.SALOME_DriverPy_i::SaveASCII().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, and Kernel_Utils::decode_s().
|
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, 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, and SALOMEDSImpl_Study::UnLockStudy().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, Kernel_Utils::encode_s(), SALOMEDS::lock(), and SALOMEDSImpl_Study::URL().
|
virtual |
Implements SALOMEDSClient_Study.
References _corba_impl, _isLocal, _local_impl, Kernel_Utils::decode_s(), SALOMEDS::lock(), and SALOMEDSImpl_Study::URL().
|
private |
Referenced by _PTR(), attach(), CanCopy(), CanOpen(), CanPaste(), Clear(), Copy(), detach(), DumpStudy(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetPersistentReference(), GetReal(), GetString(), GetVariableNames(), Init(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), Open(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), Save(), SaveAs(), SetBoolean(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), UnLockStudy(), and URL().
|
private |
Referenced by _PTR(), CanCopy(), CanPaste(), Copy(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetPersistentReference(), GetReal(), GetString(), GetVariableNames(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), SetBoolean(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), UnLockStudy(), and URL().
|
private |
Referenced by _PTR(), CanCopy(), CanPaste(), Copy(), EnableUseCaseAutoFilling(), FindDependances(), GetBoolean(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetPersistentReference(), GetReal(), GetString(), GetVariableNames(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), ParseVariables(), RemoveVariable(), RenameVariable(), SALOMEDS_Study(), SetBoolean(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), UnLockStudy(), and URL().
|
private |
Referenced by SALOME_Container.SALOME_Container_i::__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::__init__(), SALOME_ContainerPy.SALOME_ContainerPy_i::__init__(), SALOME_ComponentPy.SALOME_ComponentPy_Gen_i::__init__(), SALOME_NamingServicePy.SALOME_NamingServicePy_i::__init__(), _PTR(), CanCopy(), CanPaste(), ConvertIORToObject(), ConvertObjectToIOR(), Copy(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::create_component_instance(), SALOME_Container.SALOME_Container_i::create_component_instance(), SALOME_Container.SALOME_Container_i::create_pynode(), SALOME_Container.SALOME_Container_i::create_pyscriptnode(), InitORB(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Register(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Resolve(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::Shutdown().