#include <SALOMEDS_Study_i.hxx>

Public Member Functions | |
| SALOMEDS_Study_i (CORBA::ORB_ptr, SALOME_NamingService_Abstract *=nullptr) | |
| standard constructor More... | |
| SALOMEDS_Study_i (CORBA::ORB_ptr, SALOME::Session_ptr session) | |
| standard constructor More... | |
| virtual | ~SALOMEDS_Study_i () |
| standard destructor More... | |
| virtual PortableServer::POA_ptr | _default_POA () |
| Get default POA for the servant object. More... | |
| virtual void | Init () override |
| virtual void | Init (SALOME::Session_ptr session) |
| Function : Init Purpose : Initialize study components. More... | |
| virtual void | Clear () |
| Function : Clear Purpose : Clear study components. More... | |
| virtual bool | Open (const wchar_t *aStudyUrl) |
| method to open a Study More... | |
| virtual bool | CanOpen (const wchar_t *aStudyUrl) |
| method to check that a Study can be opened More... | |
| virtual CORBA::Boolean | Save (CORBA::Boolean theMultiFile, CORBA::Boolean theASCII) |
| method to save a Study More... | |
| virtual CORBA::Boolean | SaveAs (const wchar_t *aUrl, CORBA::Boolean theMultiFile, CORBA::Boolean theASCII) |
| method to save a Study to the persistent reference aUrl More... | |
| virtual CORBA::Boolean | Copy (SALOMEDS::SObject_ptr theObject) |
| method to copy the object More... | |
| virtual CORBA::Boolean | CanCopy (SALOMEDS::SObject_ptr theObject) |
| Function : CanCopy Purpose : More... | |
| virtual SALOMEDS::SObject_ptr | Paste (SALOMEDS::SObject_ptr theObject) |
| method to paste the object in study More... | |
| virtual CORBA::Boolean | CanPaste (SALOMEDS::SObject_ptr theObject) |
| Function : CanPaste Purpose : More... | |
| virtual char * | GetPersistentReference () |
| method to Get persistent reference of study (idem URL()) More... | |
| virtual CORBA::Boolean | IsEmpty () |
| method to detect if a study is empty More... | |
| virtual SALOMEDS::SComponent_ptr | FindComponent (const char *aComponentName) |
| method to Find a Component with ComponentDataType = aComponentName More... | |
| virtual SALOMEDS::SComponent_ptr | FindComponentID (const char *aComponentID) |
| method to Find a Component Find a Component from it's ID More... | |
| virtual SALOMEDS::SObject_ptr | FindObject (const char *anObjectName) |
| method to Find an Object with SALOMEDS::Name = anObjectName More... | |
| virtual SALOMEDS::Study::ListOfSObject * | FindObjectByName (const char *anObjectName, const char *aComponentName) |
| method to Find Object(s) with SALOMEDS::Name = anObjectName in a component with ComponentDataType = aComponentName More... | |
| virtual SALOMEDS::SObject_ptr | FindObjectID (const char *anObjectID) |
| method to Find an Object with ID = anObjectID More... | |
| virtual SALOMEDS::SObject_ptr | CreateObjectID (const char *anObjectID) |
| method to Create an Object with ID = anObjectID More... | |
| virtual SALOMEDS::SObject_ptr | FindObjectIOR (const char *anObjectIOR) |
| method to Find an Object with ID = anObjectIOR More... | |
| virtual SALOMEDS::SObject_ptr | FindObjectByPath (const char *thePath) |
| method to Find an Object by its path More... | |
| virtual char * | GetObjectPath (CORBA::Object_ptr theObject) |
| method to get a path of SObject More... | |
| virtual SALOMEDS::ChildIterator_ptr | NewChildIterator (SALOMEDS::SObject_ptr aSO) |
| method to Create a ChildIterator from an SObject More... | |
| virtual SALOMEDS::SComponentIterator_ptr | NewComponentIterator () |
| method to Create a SComponentIterator More... | |
| SALOMEDS_SComponentIterator_i * | NewComponentIteratorImpl () |
| virtual SALOMEDS::StudyBuilder_ptr | NewBuilder () |
| method to Create a StudyBuilder More... | |
| virtual wchar_t * | Name () |
| method to get study name More... | |
| virtual void | Name (const wchar_t *name) |
| method to set study name More... | |
| virtual CORBA::Boolean | IsSaved () |
| method to get if study has been saved More... | |
| virtual void | IsSaved (CORBA::Boolean save) |
| method to set if study has been saved More... | |
| virtual CORBA::Boolean | IsModified () |
| method to Detect if a Study has been modified since it has been saved More... | |
| virtual void | Modified () |
| method to set Modified flag of a Study to True More... | |
| virtual wchar_t * | URL () |
| method to get URL of the study (idem GetPersistentReference) More... | |
| virtual void | URL (const wchar_t *url) |
| method to set URL of the study More... | |
| virtual void | UpdateIORLabelMap (const char *anIOR, const char *aLabel) |
| virtual SALOMEDS::Study::ListOfSObject * | FindDependances (SALOMEDS::SObject_ptr anObject) |
| virtual SALOMEDS::AttributeStudyProperties_ptr | GetProperties () |
| virtual char * | GetLastModificationDate () |
| virtual SALOMEDS::ListOfDates * | GetModificationsDate () |
| virtual char * | ConvertObjectToIOR (CORBA::Object_ptr theObject) |
| virtual CORBA::Object_ptr | ConvertIORToObject (const char *theIOR) |
| virtual SALOMEDS::UseCaseBuilder_ptr | GetUseCaseBuilder () |
| Function : GetUseCaseBuilder Purpose : Returns a UseCase builder. More... | |
| void | EnableUseCaseAutoFilling (CORBA::Boolean isEnabled) |
| Function : EnableUseCaseAutoFilling Purpose : More... | |
| virtual void | AddPostponed (const char *theIOR) |
| Function : AddPostponed Purpose : More... | |
| virtual void | AddCreatedPostponed (const char *theIOR) |
| virtual void | RemovePostponed (CORBA::Long theUndoLimit) |
| Function : RemovePostponed Purpose : More... | |
| virtual void | UndoPostponed (CORBA::Long theWay) |
| Function : UndoPostponed Purpose : More... | |
| virtual SALOMEDS::AttributeParameter_ptr | GetCommonParameters (const char *theID, CORBA::Long theSavePoint) |
| Function : GetCommonParameters Purpose : More... | |
| virtual SALOMEDS::AttributeParameter_ptr | GetModuleParameters (const char *theID, const char *theModuleName, CORBA::Long theSavePoint) |
| Function : GetCommonModuleParameters Purpose : More... | |
| virtual void | SetStudyLock (const char *theLockerID) |
| Function : SetStudyLock Purpose : More... | |
| virtual bool | IsStudyLocked () |
| Function : IsStudyLocked Purpose : More... | |
| virtual void | UnLockStudy (const char *theLockerID) |
| Function : UnLockStudy Purpose : More... | |
| virtual SALOMEDS::ListOfStrings * | GetLockerID () |
| Function : GetLockerID Purpose : More... | |
| virtual void | SetReal (const char *theVarName, CORBA::Double theValue) |
| Function : SetReal Purpose : More... | |
| virtual void | SetInteger (const char *theVarName, CORBA::Long theValue) |
| Function : SetInteger Purpose : More... | |
| virtual void | SetBoolean (const char *theVarName, CORBA::Boolean theValue) |
| Function : SetBoolean Purpose : More... | |
| virtual void | SetString (const char *theVarName, const char *theValue) |
| Function : SetString Purpose : More... | |
| virtual void | SetStringAsDouble (const char *theVarName, CORBA::Double theValue) |
| Function : SetStringAsDouble Purpose : More... | |
| virtual CORBA::Double | GetReal (const char *theVarName) |
| Function : GetReal Purpose : More... | |
| virtual CORBA::Long | GetInteger (const char *theVarName) |
| Function : GetInteger Purpose : More... | |
| virtual CORBA::Boolean | GetBoolean (const char *theVarName) |
| Function : GetBoolean Purpose : More... | |
| virtual char * | GetString (const char *theVarName) |
| Function : GetString Purpose : More... | |
| virtual CORBA::Boolean | IsReal (const char *theVarName) |
| Function : IsReal Purpose : More... | |
| virtual CORBA::Boolean | IsInteger (const char *theVarName) |
| Function : IsInteger Purpose : More... | |
| virtual CORBA::Boolean | IsBoolean (const char *theVarName) |
| Function : IsBoolean Purpose : More... | |
| virtual CORBA::Boolean | IsString (const char *theVarName) |
| Function : IsString Purpose : More... | |
| virtual CORBA::Boolean | IsVariable (const char *theVarName) |
| Function : IsVariable Purpose : More... | |
| virtual SALOMEDS::ListOfStrings * | GetVariableNames () |
| Function : GetVariableNames Purpose : More... | |
| virtual CORBA::Boolean | RemoveVariable (const char *theVarName) |
| Function : RemoveVariable Purpose : More... | |
| virtual CORBA::Boolean | RenameVariable (const char *theVarName, const char *theNewVarName) |
| Function : RenameVariable Purpose : More... | |
| virtual CORBA::Boolean | IsVariableUsed (const char *theVarName) |
| Function : IsVariableUsed Purpose : More... | |
| virtual SALOMEDS::ListOfListOfStrings * | ParseVariables (const char *theVars) |
| Function : ParseVariables Purpose : More... | |
| virtual char * | GetDefaultScript (const char *theModuleName, const char *theShift) |
| Function : GetDefaultScript Purpose : More... | |
| virtual CORBA::Boolean | DumpStudy (const char *thePath, const char *theBaseName, CORBA::Boolean isPublished, CORBA::Boolean isMultiFile) |
| Function : DumpStudy Purpose : More... | |
| virtual char * | GetDumpPath () |
| Function : GetDumpPath Purpose : More... | |
| virtual SALOMEDSImpl_Study * | GetImpl () |
| virtual CORBA::LongLong | GetLocalImpl (const char *theHostname, CORBA::Long thePID, CORBA::Boolean &isLocal) |
| void | ping () |
| CORBA::Long | getPID () |
| void | ShutdownWithExit () |
| void | Shutdown () |
| virtual void | attach (SALOMEDS::Observer_ptr theObs, CORBA::Boolean modify) |
| Function : attach Purpose : This function attach an observer to the study. More... | |
| virtual void | detach (SALOMEDS::Observer_ptr theObs) |
| Function : detach Purpose : This function detaches an observer from the study. More... | |
Static Public Member Functions | |
| static void | IORUpdated (SALOMEDSImpl_AttributeIOR *theAttribute) |
| static void | SetThePOA (PortableServer::POA_ptr) |
| static PortableServer::POA_ptr | GetThePOA () |
Private Member Functions | |
| void | NameChanged (SALOME::Session_ptr session) |
Private Attributes | |
| CORBA::ORB_var | _orb |
| SALOMEDSImpl_Study * | _impl |
| SALOMEDS_StudyBuilder_i * | _builder |
| SALOMEDSImpl_AbstractCallback * | _notifier |
| SALOMEDSImpl_AbstractCallback * | _genObjRegister |
| SALOMEDS_DriverFactory_i * | _factory |
| bool | _closed |
| SALOME_NamingService_Abstract * | _ns = nullptr |
| naming service object to retrieve session. _ns is owned by SALOMEDS_Study_i only if IsTrueNS() returns false More... | |
| SALOMEDS_Study_i::SALOMEDS_Study_i | ( | CORBA::ORB_ptr | orb, |
| SALOME_NamingService_Abstract * | ns = nullptr |
||
| ) |
standard constructor
References _closed, _factory, _impl, _ns, _orb, KERNEL::getNamingService(), Init(), KERNEL_PY.batchmode_salome::obj, salome::orb, and SALOME_NamingService_Container_Abstract::Resolve().
| SALOMEDS_Study_i::SALOMEDS_Study_i | ( | CORBA::ORB_ptr | orb, |
| SALOME::Session_ptr | session | ||
| ) |
standard constructor
Function : SALOMEDS_Study_i Purpose : SALOMEDS_Study_i constructor.
References _closed, _factory, _impl, _ns, _orb, KERNEL::getNamingService(), Init(), salome::orb, and runSalomeOld::session.
|
virtual |
standard destructor
Function : ~SALOMEDS_Study_i Purpose : SALOMEDS_Study_i destructor.
References _factory, _impl, _ns, Clear(), and SALOME_NamingService_Container_Abstract::IsTrueNS().
|
virtual |
Get default POA for the servant object.
This function is implicitly called from "_this()" function. Default POA can be set via the constructor.
References GetThePOA(), and SALOME_ContainerPy::poa.
Referenced by Clear().
|
virtual |
References SALOMEDS::lock().
|
virtual |
Function : AddPostponed Purpose :
References SALOMEDS::lock().
|
virtual |
Function : attach Purpose : This function attach an observer to the study.
References _notifier.
|
virtual |
Function : CanCopy Purpose :
References _closed, _impl, _orb, SALOMEDSImpl_Study::CanCopy(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDS::lock(), and TestKernelHelpers::ret.
|
virtual |
method to check that a Study can be opened
Function : CanOpen Purpose : Check that a Study can be opened.
| char* | arguments, the study URL |
References SALOMEDS::lock(), SALOMEDSImpl_Study::Open(), and SalomeException().
|
virtual |
Function : CanPaste Purpose :
References _closed, _impl, _orb, SALOMEDSImpl_Study::CanPaste(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDS::lock(), and TestKernelHelpers::ret.
|
virtual |
Function : Clear Purpose : Clear study components.
References _builder, _closed, _default_POA(), _genObjRegister, _impl, _notifier, _ns, _orb, SALOMEDSImpl_Study::Clear(), SALOMEDSImpl_Study::GetDocument(), SALOMEDS::lock(), MESSAGE, NewComponentIteratorImpl(), KERNEL_PY.batchmode_salome::obj, SALOME_ContainerPy::poa, RemovePostponed(), SALOMEDS::sendMessageToGUI(), SALOMEDSImpl_Study::setNotifier(), and SALOMEDS::unlock().
Referenced by Open(), and ~SALOMEDS_Study_i().
|
virtual |
|
virtual |
|
virtual |
method to copy the object
Function : Copy Purpose :
| theObject | object to copy |
References _closed, _impl, _orb, SALOMEDSImpl_Study::Copy(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDS::lock(), and TestKernelHelpers::ret.
|
virtual |
method to Create an Object with ID = anObjectID
Function : CreateObjectID Purpose : Creates an Object with ID = anObjectID.
| anObjectID | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::CreateObjectID(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtual |
Function : detach Purpose : This function detaches an observer from the study.
References _notifier.
|
virtual |
Function : DumpStudy Purpose :
References _closed, _factory, _impl, _orb, SALOMEDSImpl_Study::DumpStudy(), SALOMEDS_DriverFactory_i::getNS(), SALOMEDS::lock(), and TestKernelHelpers::ret.
| void SALOMEDS_Study_i::EnableUseCaseAutoFilling | ( | CORBA::Boolean | isEnabled | ) |
Function : EnableUseCaseAutoFilling Purpose :
References _builder, _closed, _impl, SALOMEDSImpl_Study::EnableUseCaseAutoFilling(), SALOMEDSImpl_Study::GetCallback(), SALOMEDS_StudyBuilder_i::GetImpl(), SALOMEDSImpl_StudyBuilder::SetOnAddSObject(), and SALOMEDSImpl_StudyBuilder::SetOnRemoveSObject().
|
virtual |
method to Find a Component with ComponentDataType = aComponentName
Function : FindComponent Purpose : Find a Component with ComponentDataType = aComponentName.
| aComponentName | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindComponent(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SComponent_i::New().
|
virtual |
method to Find a Component Find a Component from it's ID
Function : FindComponentID Purpose : Find a Component from it's ID.
| aComponentID | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindComponentID(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SComponent_i::New().
|
virtual |
References _closed, and SALOMEDS::lock().
|
virtual |
method to Find an Object with SALOMEDS::Name = anObjectName
Function : FindObject Purpose : Find an Object with SALOMEDS::Name = anObjectName.
| anObjectName | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObject(), SALOMEDSImpl_SObject::IsComponent(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), SALOMEDS_SComponent_i::New(), and SALOMEDS_SObject_i::New().
|
virtual |
method to Find Object(s) with SALOMEDS::Name = anObjectName in a component with ComponentDataType = aComponentName
Function : FindObjectByName Purpose : Find Objects with SALOMEDS::Name = anObjectName in a Component : with ComponentDataType = aComponentName.
| anObjectName | char* arguments |
| aComponentName | char* arguments |
< TODO: conversion from size_t to int
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObjectByName(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtual |
method to Find an Object by its path
Function : FindObjectByPath Purpose : Find an Object by its path = thePath.
| thePath | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObjectByPath(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtual |
method to Find an Object with ID = anObjectID
Function : FindObjectID Purpose : Find an Object with ID = anObjectID.
| anObjectID | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObjectID(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtual |
method to Find an Object with ID = anObjectIOR
Function : FindObjectIOR Purpose : Find an Object with IOR = anObjectIOR.
| anObjectIOR | char* arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObjectIOR(), SALOMEDSImpl_SObject::IsNull(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
|
virtual |
Function : GetBoolean Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::GetVariableValue().
|
virtual |
Function : GetCommonParameters Purpose :
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetCommonParameters(), and SALOMEDS::lock().
|
virtual |
Function : GetDefaultScript Purpose :
References _closed, _impl, SALOMEDSImpl_IParameters::getDefaultScript(), and SALOMEDS::lock().
|
virtual |
Function : GetDumpPath Purpose :
References _impl, and SALOMEDSImpl_Study::GetDumpPath().
|
virtual |
Referenced by CreateStudyNSAbstract().
|
virtual |
Function : GetInteger Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::GetVariableValue().
|
virtual |
References _closed, _impl, SALOMEDSImpl_Study::GetLastModificationDate(), and SALOMEDS::lock().
|
virtual |
References _impl.
|
virtual |
Function : GetLockerID Purpose :
< TODO: conversion from size_t to int
References _closed, _impl, SALOMEDSImpl_Study::GetLockerID(), and SALOMEDS::lock().
|
virtual |
< TODO: conversion from size_t to int
References _closed, _impl, SALOMEDSImpl_Study::GetModificationsDate(), and SALOMEDS::lock().
|
virtual |
Function : GetCommonModuleParameters Purpose :
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetModuleParameters(), and SALOMEDS::lock().
|
virtual |
method to get a path of SObject
Function : GetObjectPath Purpose :
| aSO | SObject_ptr arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::FindObjectID(), SALOMEDSImpl_Study::FindObjectIOR(), SALOMEDSImpl_Study::GetObjectPath(), SALOMEDSImpl_SObject::IsNull(), and SALOMEDS::lock().
|
virtual |
method to Get persistent reference of study (idem URL())
Function : GetPersistentReference Purpose : Get persistent reference of study (idem URL())
References _closed, _impl, SALOMEDSImpl_Study::GetPersistentReference(), and SALOMEDS::lock().
| CORBA::Long SALOMEDS_Study_i::getPID | ( | ) |
|
virtual |
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetProperties(), and SALOMEDS::lock().
|
virtual |
Function : GetReal Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::GetVariableValue().
|
virtual |
Function : GetString Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::GetStringVariableValue().
|
static |
References _poa.
Referenced by SALOMEDS_ChildIterator_i::_default_POA(), SALOMEDS_GenericAttribute_i::_default_POA(), SALOMEDS_SComponentIterator_i::_default_POA(), SALOMEDS_SObject_i::_default_POA(), _default_POA(), SALOMEDS_StudyBuilder_i::_default_POA(), SALOMEDS_UseCaseBuilder_i::_default_POA(), and SALOMEDS_UseCaseIterator_i::_default_POA().
|
virtual |
Function : GetUseCaseBuilder Purpose : Returns a UseCase builder.
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetUseCaseBuilder(), and SALOMEDS::lock().
|
virtual |
Function : GetVariableNames Purpose :
< TODO: conversion from size_t to int
References _closed, _impl, and SALOMEDSImpl_Study::GetVariableNames().
|
overridevirtual |
References _ns, KERNEL_PY.batchmode_salome::obj, and SALOME_NamingService_Container_Abstract::Resolve().
Referenced by Open(), and SALOMEDS_Study_i().
|
virtual |
Function : Init Purpose : Initialize study components.
References _builder, _closed, _genObjRegister, _impl, _notifier, _orb, SALOMEDSImpl_Study::GetDocument(), SALOMEDSImpl_Study::Init(), SALOMEDS::lock(), NameChanged(), SALOMEDSImpl_Study::NewBuilder(), SALOMEDS::sendMessageToGUIGivenSession(), runSalomeOld::session, SALOMEDSImpl_Study::setGenObjRegister(), and SALOMEDSImpl_Study::setNotifier().
|
static |
References SALOMEDSImpl_Study::IORUpdated(), and SALOMEDS::lock().
|
virtual |
Function : IsBoolean Purpose :
References _closed, _impl, SALOMEDSImpl_GenericVariable::BOOLEAN_VAR, and SALOMEDSImpl_Study::IsTypeOf().
|
virtual |
method to detect if a study is empty
Function : IsEmpty Purpose : Detect if study is empty.
References _closed, _impl, SALOMEDSImpl_Study::IsEmpty(), and SALOMEDS::lock().
|
virtual |
Function : IsInteger Purpose :
References _closed, _impl, SALOMEDSImpl_GenericVariable::INTEGER_VAR, and SALOMEDSImpl_Study::IsTypeOf().
|
virtual |
method to Detect if a Study has been modified since it has been saved
Function : IsModified Purpose : Detect if a Study has been modified since it has been saved.
References _closed, _impl, SALOMEDSImpl_Study::IsModified(), and SALOMEDS::lock().
|
virtual |
Function : IsReal Purpose :
References _closed, _impl, SALOMEDSImpl_Study::IsTypeOf(), and SALOMEDSImpl_GenericVariable::REAL_VAR.
Referenced by KERNEL_PY.salome_notebook.PseudoStudyForNoteBook::IsString().
|
virtual |
method to get if study has been saved
Function : IsSaved Purpose : get if study has been saved.
References _closed, _impl, SALOMEDSImpl_Study::IsSaved(), and SALOMEDS::lock().
|
virtual |
method to set if study has been saved
Function : IsSaved Purpose : set if study has been saved.
| save | bool arguments |
References _closed, _impl, SALOMEDSImpl_Study::IsSaved(), and SALOMEDS::lock().
|
virtual |
Function : IsString Purpose :
References _closed, _impl, SALOMEDSImpl_Study::IsTypeOf(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
virtual |
Function : IsStudyLocked Purpose :
References _closed, _impl, SALOMEDSImpl_Study::IsStudyLocked(), and SALOMEDS::lock().
|
virtual |
Function : IsVariable Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::IsVariable().
|
virtual |
Function : IsVariableUsed Purpose :
References _closed, _impl, and SALOMEDSImpl_Study::IsVariableUsed().
|
virtual |
method to set Modified flag of a Study to True
Function : Modified Purpose : Sets a Modified flag of a Study to True.
References _closed, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Modify().
|
virtual |
method to get study name
Function : Name Purpose : get study name.
References _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
virtual |
method to set study name
Function : Name Purpose : set study name.
| name | char* arguments, the study name |
References _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Name().
|
private |
References SALOMEDS::sendMessageToGUIGivenSession(), and runSalomeOld::session.
|
virtual |
method to Create a StudyBuilder
Function : NewBuilder Purpose : Create a StudyBuilder.
References _builder, _closed, and SALOMEDS::lock().
|
virtual |
method to Create a ChildIterator from an SObject
Function : NewChildIterator Purpose : Create a ChildIterator from an SObject.
| aSO | SObject_ptr arguments |
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetSObject(), and SALOMEDS::lock().
|
virtual |
method to Create a SComponentIterator
Function : NewComponentIterator Purpose : Create a SComponentIterator.
References NewComponentIteratorImpl().
| SALOMEDS_SComponentIterator_i * SALOMEDS_Study_i::NewComponentIteratorImpl | ( | ) |
References _closed, _impl, _orb, SALOMEDS_SComponentIterator_i::Init(), SALOMEDS::lock(), and SALOMEDSImpl_Study::NewComponentIterator().
Referenced by Clear(), and NewComponentIterator().
|
virtual |
method to open a Study
Function : Open Purpose : Open a Study from it's persistent reference.
| char* | arguments, the study URL |
References _closed, _impl, _ns, SALOME::BAD_PARAM, Clear(), Init(), SALOMEDS::lock(), MESSAGE, SALOMEDSImpl_Study::Open(), test::res, SalomeException(), SALOMEDS::sendMessageToGUI(), and THROW_SALOME_CORBA_EXCEPTION.
|
virtual |
Function : ParseVariables Purpose :
< TODO: conversion from size_t to int
< TODO: conversion from size_t to int
References _closed, _impl, and SALOMEDSImpl_Study::ParseVariables().
|
virtual |
method to paste the object in study
Function : Paste Purpose :
| theObject | object to paste |
References _impl, _orb, GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDS::lock(), SALOMEDS_SObject_i::New(), and SALOMEDSImpl_Study::Paste().
| void SALOMEDS_Study_i::ping | ( | ) |
|
virtual |
Function : RemovePostponed Purpose :
References _closed, _impl, _orb, SALOMEDSImpl_Study::GetIORs(), SALOMEDS::lock(), and KERNEL_PY.batchmode_salome::obj.
Referenced by Clear().
|
virtual |
Function : RemoveVariable Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), SALOMEDSImpl_Study::RemoveVariable(), and test::res.
|
virtual |
Function : RenameVariable Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), SALOMEDSImpl_Study::RenameVariable(), and test::res.
|
virtual |
method to save a Study
Function : Save Purpose : Save a Study to it's persistent reference.
References _closed, _factory, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::Save().
Referenced by SALOME_DriverPy.SALOME_DriverPy_i::SaveASCII().
|
virtual |
method to save a Study to the persistent reference aUrl
Function : SaveAs Purpose : Save a study to the persistent reference aUrl.
| char* | arguments, the new URL of the study |
References _closed, _factory, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::SaveAs().
|
virtual |
Function : SetBoolean Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_GenericVariable::BOOLEAN_VAR, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Function : SetInteger Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_GenericVariable::INTEGER_VAR, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Function : SetReal Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), SALOMEDSImpl_GenericVariable::REAL_VAR, and SALOMEDSImpl_Study::SetVariable().
|
virtual |
Function : SetString Purpose :
References _closed, _impl, _notifier, SALOMEDSImpl_AbstractCallback::modifyNB_Notification(), SALOMEDSImpl_Study::SetStringVariable(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
virtual |
Function : SetStringAsDouble Purpose :
References _closed, _impl, SALOMEDSImpl_Study::SetStringVariableAsDouble(), and SALOMEDSImpl_GenericVariable::STRING_VAR.
|
virtual |
Function : SetStudyLock Purpose :
References _closed, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::SetStudyLock().
|
static |
References _poa.
Referenced by CreateStudyNSAbstract(), and main().
| void SALOMEDS_Study_i::ShutdownWithExit | ( | ) |
|
virtual |
Function : UndoPostponed Purpose :
References SALOMEDS::lock().
|
virtual |
Function : UnLockStudy Purpose :
References _closed, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::UnLockStudy().
|
virtual |
References _closed, _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::UpdateIORLabelMap().
|
virtual |
method to get URL of the study (idem GetPersistentReference)
Function : URL Purpose : get URL of the study (persistent reference of the study)
References _impl, SALOMEDS::lock(), and SALOMEDSImpl_Study::URL().
|
virtual |
method to set URL of the study
Function : URL Purpose : set URL of the study (persistent reference of the study)
| url | char* arguments, the study URL |
References _impl, _ns, SALOMEDS::lock(), NameChanged(), KERNEL_PY.batchmode_salome::obj, SALOME_NamingService_Container_Abstract::Resolve(), and SALOMEDSImpl_Study::URL().
|
private |
Referenced by Clear(), EnableUseCaseAutoFilling(), Init(), and NewBuilder().
|
private |
Referenced by CanCopy(), CanPaste(), Clear(), Copy(), CreateObjectID(), DumpStudy(), EnableUseCaseAutoFilling(), FindComponent(), FindComponentID(), FindDependances(), FindObject(), FindObjectByName(), FindObjectByPath(), FindObjectID(), FindObjectIOR(), GetBoolean(), GetCommonParameters(), GetDefaultScript(), GetInteger(), GetLastModificationDate(), GetLockerID(), GetModificationsDate(), GetModuleParameters(), GetObjectPath(), GetPersistentReference(), GetProperties(), GetReal(), GetString(), GetUseCaseBuilder(), GetVariableNames(), Init(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), NewBuilder(), NewChildIterator(), NewComponentIteratorImpl(), Open(), ParseVariables(), RemovePostponed(), RemoveVariable(), RenameVariable(), SALOMEDS_Study_i(), Save(), SaveAs(), SetBoolean(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), SetStudyLock(), Shutdown(), UnLockStudy(), and UpdateIORLabelMap().
|
private |
Referenced by DumpStudy(), SALOMEDS_Study_i(), Save(), SaveAs(), and ~SALOMEDS_Study_i().
|
private |
|
private |
Referenced by CanCopy(), CanPaste(), Clear(), Copy(), CreateObjectID(), DumpStudy(), EnableUseCaseAutoFilling(), FindComponent(), FindComponentID(), FindObject(), FindObjectByName(), FindObjectByPath(), FindObjectID(), FindObjectIOR(), GetBoolean(), GetCommonParameters(), GetDefaultScript(), GetDumpPath(), GetInteger(), GetLastModificationDate(), GetLocalImpl(), GetLockerID(), GetModificationsDate(), GetModuleParameters(), GetObjectPath(), GetPersistentReference(), GetProperties(), GetReal(), GetString(), GetUseCaseBuilder(), GetVariableNames(), Init(), IsBoolean(), IsEmpty(), IsInteger(), IsModified(), IsReal(), IsSaved(), IsString(), IsStudyLocked(), IsVariable(), IsVariableUsed(), Modified(), Name(), NewChildIterator(), NewComponentIteratorImpl(), Open(), ParseVariables(), Paste(), SALOME_Embedded_NamingService.SALOME_Embedded_NamingService::Register(), RemovePostponed(), RemoveVariable(), RenameVariable(), SALOME_Embedded_NamingService.SALOME_Embedded_NamingService::Resolve(), SALOMEDS_Study_i(), Save(), SaveAs(), SetBoolean(), SetInteger(), SetReal(), SetString(), SetStringAsDouble(), SetStudyLock(), UnLockStudy(), UpdateIORLabelMap(), URL(), and ~SALOMEDS_Study_i().
|
private |
Referenced by attach(), Clear(), detach(), Init(), RemoveVariable(), RenameVariable(), SetBoolean(), SetInteger(), SetReal(), and SetString().
|
private |
naming service object to retrieve session. _ns is owned by SALOMEDS_Study_i only if IsTrueNS() returns false
Referenced by Clear(), Init(), Open(), SALOMEDS_Study_i(), URL(), and ~SALOMEDS_Study_i().
|
private |
Referenced by SALOME_Container.SALOME_Container_Abstract_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__(), CanCopy(), CanPaste(), Clear(), Copy(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i::create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i::create_pynode(), SALOME_Container.SALOME_Container_Abstract_i::create_pyscriptnode(), CreateObjectID(), DumpStudy(), FindComponent(), FindComponentID(), FindObject(), FindObjectByName(), FindObjectByPath(), FindObjectID(), FindObjectIOR(), GetCommonParameters(), GetModuleParameters(), GetObjectPath(), GetProperties(), GetUseCaseBuilder(), Init(), NewChildIterator(), NewComponentIteratorImpl(), Paste(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Register(), RemovePostponed(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy::Resolve(), SALOMEDS_Study_i(), Shutdown(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i::Shutdown().