#include <SALOMEDSImpl_Study.hxx>
Public Member Functions | |
SALOMEDSImpl_Study (const DF_Document *, const std::string &study_name) | |
standard constructor More... | |
virtual | ~SALOMEDSImpl_Study () |
standard destructor More... | |
virtual std::string | GetPersistentReference () |
method to Get persistent reference of study (idem URL()) More... | |
virtual std::string | GetTransientReference () |
method to Get transient reference of study More... | |
virtual void | SetTransientReference (const std::string &theIOR) |
virtual bool | IsEmpty () |
method to detect if a study is empty More... | |
virtual SALOMEDSImpl_SComponent | FindComponent (const std::string &aComponentName) |
method to Find a Component with ComponentDataType = aComponentName More... | |
virtual SALOMEDSImpl_SComponent | FindComponentID (const std::string &aComponentID) |
method to Find a Component Find a Component from it's ID More... | |
virtual SALOMEDSImpl_SObject | FindObject (const std::string &anObjectName) |
method to Find an Object with SALOMEDSImpl::Name = anObjectName More... | |
virtual std::vector < SALOMEDSImpl_SObject > | FindObjectByName (const std::string &anObjectName, const std::string &aComponentName) |
method to Find Object(s) with SALOMEDSImpl::Name=anObjectName in a component with ComponentDataType = aComponentName More... | |
virtual SALOMEDSImpl_SObject | FindObjectID (const std::string &anObjectID) |
method to Find an Object with ID = anObjectID More... | |
virtual SALOMEDSImpl_SObject | CreateObjectID (const std::string &anObjectID) |
method to Create an Object with ID = anObjectID More... | |
virtual SALOMEDSImpl_SObject | FindObjectIOR (const std::string &anObjectIOR) |
method to Find an Object with ID = anObjectIOR More... | |
virtual SALOMEDSImpl_SObject | FindObjectByPath (const std::string &thePath) |
method to Find an Object by its path More... | |
virtual std::string | GetObjectPath (const SALOMEDSImpl_SObject &theObject) |
method to get a path of SObject More... | |
std::string | GetObjectPathByIOR (const std::string &theIOR) |
Function : GetObjectPathByIOR Purpose : More... | |
virtual bool | SetContext (const std::string &thePath) |
method to set a context: root ('/') is UserData component More... | |
virtual std::string | GetContext () |
method to get a context More... | |
virtual std::vector< std::string > | GetObjectNames (const std::string &theContext) |
method to get all object names in the given context (or in the current context, if 'theContext' is empty) More... | |
virtual std::vector< std::string > | GetDirectoryNames (const std::string &theContext) |
method to get all directory names in the given context (or in the current context, if 'theContext' is empty) More... | |
virtual std::vector< std::string > | GetFileNames (const std::string &theContext) |
method to get all file names in the given context (or in the current context, if 'theContext' is empty) More... | |
virtual std::vector< std::string > | GetComponentNames (const std::string &theContext) |
method to get all components names More... | |
virtual SALOMEDSImpl_ChildIterator | NewChildIterator (const SALOMEDSImpl_SObject &aSO) |
method to Create a ChildIterator from an SObject More... | |
virtual SALOMEDSImpl_SComponentIterator | NewComponentIterator () |
method to Create a SComponentIterator More... | |
virtual SALOMEDSImpl_StudyBuilder * | NewBuilder () |
method to Create a StudyBuilder More... | |
virtual std::string | Name () |
method to get study name More... | |
virtual void | Name (const std::string &name) |
method to set study name More... | |
virtual bool | IsSaved () |
method to get if study has been saved More... | |
virtual void | IsSaved (bool save) |
method to set if study has been saved More... | |
virtual bool | IsModified () |
method to Detect if a Study has been modified since it has been saved More... | |
virtual std::string | URL () |
method to get URL of the study (idem GetPersistentReference) More... | |
virtual void | URL (const std::string &url) |
method to set URL of the study More... | |
virtual bool | IsLocked () |
virtual int | StudyId () |
virtual void | StudyId (int id) |
virtual void | DeleteIORLabelMapItem (const std::string &anIOR) |
virtual void | UpdateIORLabelMap (const std::string &anIOR, const std::string &aLabel) |
virtual std::vector < SALOMEDSImpl_SObject > | FindDependances (const SALOMEDSImpl_SObject &anObject) |
virtual SALOMEDSImpl_AttributeStudyProperties * | GetProperties () |
virtual std::string | GetLastModificationDate () |
virtual std::vector< std::string > | GetModificationsDate () |
virtual SALOMEDSImpl_UseCaseBuilder * | GetUseCaseBuilder () |
Function : GetUseCaseBuilder Purpose : Returns a UseCase builder. More... | |
virtual void | Close () |
Function : Close Purpose : More... | |
void | EnableUseCaseAutoFilling (bool isEnabled) |
Function : EnableUseCaseAutoFilling Purpose : More... | |
virtual std::string | GetErrorCode () |
virtual bool | IsError () |
virtual SALOMEDSImpl_SComponent | GetSComponent (const std::string &theEntry) |
Function : GetSComponent Purpose : More... | |
virtual SALOMEDSImpl_SComponent | GetSComponent (const DF_Label &theLabel) |
Function : GetSComponent Purpose : More... | |
virtual SALOMEDSImpl_SObject | GetSObject (const std::string &theEntry) |
Function : GetSObject Purpose : More... | |
virtual SALOMEDSImpl_SObject | GetSObject (const DF_Label &theEntryLabel) |
Function : GetSObject Purpose : More... | |
virtual DF_Attribute * | GetAttribute (const std::string &theEntry, const std::string &theType) |
Function : GetAttribute Purpose : More... | |
virtual bool | HasCurrentContext () |
virtual bool | DumpStudy (const std::string &thePath, const std::string &theBaseName, bool isPublished, bool isMultiFile, SALOMEDSImpl_DriverFactory *theFactory) |
Function : DumpStudy Purpose : More... | |
virtual DF_Document * | GetDocument () |
void | dump (const std::string &theFileName) |
Function : dump Purpose : More... | |
void | Modify () |
SALOMEDSImpl_AttributeParameter * | GetCommonParameters (const char *theID, int theSavePoint) |
Function : Purpose : More... | |
SALOMEDSImpl_AttributeParameter * | GetModuleParameters (const char *theID, const char *theModuleName, int theSavePoint) |
Function : Purpose : More... | |
void | SetStudyLock (const char *theLockerID) |
Function : SetStudyLock Purpose : More... | |
bool | IsStudyLocked () |
Function : IsStudyLocked Purpose : More... | |
void | UnLockStudy (const char *theLockerID) |
Function : UnLockStudy Purpose : More... | |
std::vector< std::string > | GetLockerID () |
Function : GetLockerID Purpose : More... | |
void | SetVariable (const std::string &theVarName, const double theValue, const SALOMEDSImpl_GenericVariable::VariableTypes) |
Function : SetVariable Purpose : More... | |
void | SetStringVariable (const std::string &theVarName, const std::string &theValue, const SALOMEDSImpl_GenericVariable::VariableTypes) |
Function : SetStringVariable Purpose : More... | |
void | SetStringVariableAsDouble (const std::string &theVarName, const double theValue, const SALOMEDSImpl_GenericVariable::VariableTypes) |
Function : SetStringVariableAsDouble Purpose : More... | |
double | GetVariableValue (const std::string &theVarName) |
Function : GetReal Purpose : More... | |
std::string | GetStringVariableValue (const std::string &theVarName) |
Function : GetString Purpose : More... | |
bool | IsTypeOf (const std::string &theVarName, SALOMEDSImpl_GenericVariable::VariableTypes theType) const |
Function : IsTypeOf Purpose : More... | |
bool | IsVariable (const std::string &theVarName) const |
Function : IsVariable Purpose : More... | |
std::vector< std::string > | GetVariableNames () const |
Function : GetVariableNames Purpose : More... | |
void | AddVariable (SALOMEDSImpl_GenericVariable *theVariable) |
Function : AddVariable Purpose : More... | |
SALOMEDSImpl_GenericVariable * | GetVariable (const std::string &theName) const |
Function : AddVariable Purpose : More... | |
bool | RemoveVariable (const std::string &theVarName) |
Function : RemoveVariable Purpose : More... | |
bool | RenameVariable (const std::string &theVarName, const std::string &theNewVarName) |
Function : RenameVariable Purpose : More... | |
bool | IsVariableUsed (const std::string &theVarName) |
Function : IsVariableUsed Purpose : More... | |
bool | FindVariableAttribute (SALOMEDSImpl_StudyBuilder *theStudyBuilder, SALOMEDSImpl_SObject theSObject, const std::string &theName) |
Function : FindVariableAttribute Purpose : More... | |
bool | FindVariableAttribute (const std::string &theName) |
Function : FindVariableAttribute Purpose : More... | |
void | ReplaceVariableAttribute (SALOMEDSImpl_StudyBuilder *theStudyBuilder, SALOMEDSImpl_SObject theSObject, const std::string &theSource, const std::string &theDest) |
Function : ReplaceVariableAttribute Purpose : More... | |
void | ReplaceVariableAttribute (const std::string &theSource, const std::string &theDest) |
Function : ReplaceVariableAttribute Purpose : More... | |
std::vector< std::vector < std::string > > | ParseVariables (const std::string &theVariables) const |
Function : ParseVariables Purpose : More... | |
SALOMEDSImpl_Callback * | GetCallback () |
std::vector< std::string > | GetIORs () |
Function : GetIORs Purpose : More... | |
virtual bool | addSO_Notification (const SALOMEDSImpl_SObject &theSObject) |
Function : addSO_Notification Purpose : This function tells all the observers that a SO has been added. More... | |
virtual bool | removeSO_Notification (const SALOMEDSImpl_SObject &theSObject) |
Function : removeSO_Notification Purpose : This function tells all the observers that a SO has been removed. More... | |
virtual bool | modifySO_Notification (const SALOMEDSImpl_SObject &theSObject, int reason) |
Function : modifySO_Notification Purpose : This function tells all the observers that a SO has been modified and pass the mofification reason. More... | |
virtual void | setNotifier (SALOMEDSImpl_AbstractCallback *notifier) |
Function : setNotifier Purpose : register a notifier. More... | |
void | setGenObjRegister (SALOMEDSImpl_AbstractCallback *theRegister) |
Stores theRegister. More... | |
Static Public Member Functions | |
static SALOMEDSImpl_Study * | GetStudy (const DF_Label &theLabel) |
static SALOMEDSImpl_SObject | SObject (const DF_Label &theLabel) |
static SALOMEDSImpl_SComponent | SComponent (const DF_Label &theLabel) |
static void | IORUpdated (const SALOMEDSImpl_AttributeIOR *theAttribute) |
static std::string | GetDumpStudyComment (const char *theComponentName=0) |
static void | RegisterGenObj (const std::string &theIOR, DF_Label label) |
Indirectly invokes GenericObj_i::Register() More... | |
static void | UnRegisterGenObj (const std::string &theIOR, DF_Label label) |
Indirectly invokes GenericObj_i::UnRegister() More... | |
Private Member Functions | |
SALOMEDSImpl_SObject | _FindObject (const SALOMEDSImpl_SObject &SO, const std::string &anObjectName, bool &_find) |
Function : _FindObject Purpose : Find an Object with SALOMEDSImpl_Name = anObjectName. More... | |
SALOMEDSImpl_SObject | _FindObjectIOR (const SALOMEDSImpl_SObject &SO, const std::string &anObjectIOR, bool &_find) |
Function : _FindObjectIOR Purpose : Find an Object with SALOMEDSImpl_IOR = anObjectIOR. More... | |
std::string | _GetStudyVariablesScript () |
Function : _GetStudyVariablesScript Purpose : More... | |
std::string | _GetNoteBookAccessor () |
Function : _GetNoteBookAccessor Purpose : Find an Object with SALOMEDSImpl_IOR = anObjectIOR. More... | |
std::string | _GetNoteBookAccess (const std::string &theStudyVar) |
Function : _GetNoteBookAccess Purpose : More... | |
Private Attributes | |
std::string | _name |
DF_Document * | _doc |
bool | _Saved |
std::string | _URL |
int | _StudyId |
DF_Label | _current |
bool | _autoFill |
std::string | _errorCode |
std::vector< std::string > | _lockers |
SALOMEDSImpl_Callback * | _cb |
SALOMEDSImpl_StudyBuilder * | _builder |
SALOMEDSImpl_UseCaseBuilder * | _useCaseBuilder |
SALOMEDSImpl_AbstractCallback * | _notifier |
SALOMEDSImpl_AbstractCallback * | _genObjRegister |
std::map< std::string, SALOMEDSImpl_SObject > | _mapOfSO |
std::map< std::string, SALOMEDSImpl_SComponent > | _mapOfSCO |
std::map< std::string, DF_Label > | myIORLabels |
std::vector < SALOMEDSImpl_GenericVariable * > | myNoteBookVars |
Friends | |
class | SALOMEDSImpl_StudyManager |
class | SALOMEDSImpl_GenericAttribute |
class | SALOMEDSImpl_GenericVariable |
SALOMEDSImpl_Study::SALOMEDSImpl_Study | ( | const DF_Document * | doc, |
const std::string & | study_name | ||
) |
standard constructor
Function : SALOMEDSImpl_Study Purpose : SALOMEDSImpl_Study constructor.
References _autoFill, _builder, _cb, _doc, _errorCode, _genObjRegister, _name, _notifier, _Saved, _StudyId, _URL, _useCaseBuilder, DF_Document::Main(), DF_Label::Root(), and SALOMEDSImpl_StudyHandle::Set().
|
virtual |
standard destructor
Function : ~SALOMEDSImpl_Study Purpose : SALOMEDSImpl_Study destructor.
References _builder, _cb, and _useCaseBuilder.
|
private |
Function : _FindObject Purpose : Find an Object with SALOMEDSImpl_Name = anObjectName.
References SALOMEDSImpl_AttributeName::GetID(), SALOMEDSImpl_SObject::GetID(), SALOMEDSImpl_SObject::GetLabel(), GetSObject(), and SALOMEDSImpl_AttributeName::Value().
Referenced by FindObject(), and FindObjectByName().
|
private |
Function : _FindObjectIOR Purpose : Find an Object with SALOMEDSImpl_IOR = anObjectIOR.
References SALOMEDSImpl_AttributeIOR::GetID(), SALOMEDSImpl_SObject::GetLabel(), GetSObject(), and SALOMEDSImpl_AttributeIOR::Value().
|
private |
Function : _GetNoteBookAccess Purpose :
References _GetNoteBookAccessor().
Referenced by DumpStudy().
|
private |
Function : _GetNoteBookAccessor Purpose : Find an Object with SALOMEDSImpl_IOR = anObjectIOR.
Referenced by _GetNoteBookAccess(), and _GetStudyVariablesScript().
|
private |
Function : _GetStudyVariablesScript Purpose :
References _GetNoteBookAccessor(), dump(), and myNoteBookVars.
Referenced by DumpStudy().
|
virtual |
Function : addSO_Notification Purpose : This function tells all the observers that a SO has been added.
References _notifier, and SALOMEDSImpl_AbstractCallback::addSO_Notification().
Referenced by SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::AppendTo(), SALOMEDSImpl_UseCaseBuilder::InsertBefore(), SALOMEDSImpl_StudyBuilder::NewComponent(), SALOMEDSImpl_StudyBuilder::NewObject(), SALOMEDSImpl_StudyBuilder::NewObjectToTag(), and SALOMEDSImpl_StudyManager::PasteLabel().
void SALOMEDSImpl_Study::AddVariable | ( | SALOMEDSImpl_GenericVariable * | theVariable | ) |
|
virtual |
Function : Close Purpose :
References _doc, _errorCode, _mapOfSCO, _mapOfSO, _notifier, DF_Application::Close(), and DF_Document::GetApplication().
Referenced by SALOMEDSImpl_StudyManager::Close(), SALOMEDS_Study::Close(), and SALOMEDS_Study_i::Close().
|
virtual |
method to Create an Object with ID = anObjectID
Function : CreateObjectID Purpose : Creates an Object with ID = anObjectID.
References _doc, _errorCode, GetSObject(), DF_Label::IsNull(), DF_Label::Label(), and DF_Document::Main().
Referenced by BuildTree(), SALOMEDS_Study_i::CreateObjectID(), and ReadAttributes().
|
virtual |
void SALOMEDSImpl_Study::dump | ( | const std::string & | theFileName | ) |
Function : dump Purpose :
References _errorCode, dumpSO(), FindObjectID(), SALOMEDSImpl_ChildIterator::More(), NewChildIterator(), SALOMEDSImpl_ChildIterator::Next(), out, and SALOMEDSImpl_ChildIterator::Value().
Referenced by _GetStudyVariablesScript().
|
virtual |
Function : DumpStudy Purpose :
References _errorCode, _GetNoteBookAccess(), _GetStudyVariablesScript(), SALOMEDSImpl_SComponent::ComponentDataType(), SALOMEDSImpl_SComponent::ComponentIOR(), SALOMEDSImpl_TMPFile::Data(), SALOMEDSImpl_Driver::DumpPython(), FindComponent(), GetComponentHeader(), SALOMEDSImpl_DriverFactory::GetDriverByIOR(), SALOMEDSImpl_DriverFactory::GetDriverByType(), GetDumpStudyComment(), SALOMEDSImpl_StudyBuilder::GetErrorCode(), SALOMEDSImpl_IParameters::getLastSavePoint(), SALOMEDSImpl_IParameters::getStudyScript(), SALOMEDSImpl_IParameters::isDumpPython(), SALOMEDSImpl_StudyBuilder::LoadWith(), SALOMEDSImpl_SComponentIterator::More(), NewBuilder(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), out, SALOMEDSImpl_Tool::RemoveTemporaryFiles(), replace_tabs(), and SALOMEDSImpl_SComponentIterator::Value().
Referenced by SALOMEDS_Study_i::DumpStudy().
void SALOMEDSImpl_Study::EnableUseCaseAutoFilling | ( | bool | isEnabled | ) |
Function : EnableUseCaseAutoFilling Purpose :
References _autoFill, _builder, _cb, _errorCode, SALOMEDSImpl_StudyBuilder::SetOnAddSObject(), and SALOMEDSImpl_StudyBuilder::SetOnRemoveSObject().
Referenced by SALOMEDS_Study::EnableUseCaseAutoFilling(), and SALOMEDS_Study_i::EnableUseCaseAutoFilling().
|
virtual |
method to Find a Component with ComponentDataType = aComponentName
Function : FindComponent Purpose : Find a Component with ComponentDataType = aComponentName.
References _errorCode, SALOMEDSImpl_SComponent::ComponentDataType(), SALOMEDSImpl_SComponentIterator::More(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), and SALOMEDSImpl_SComponentIterator::Value().
Referenced by SALOMEDSImpl_IParameters::decodeEntry(), DumpStudy(), SALOMEDS_Study_i::FindComponent(), FindObjectByName(), GetCommonParameters(), and SALOMEDSImpl_IParameters::getLastSavePoint().
|
virtual |
method to Find a Component Find a Component from it's ID
Function : FindComponentID Purpose : Find a Component from it's ID.
References _errorCode, SALOMEDSImpl_SObject::GetID(), SALOMEDSImpl_SComponentIterator::More(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), and SALOMEDSImpl_SComponentIterator::Value().
Referenced by SALOMEDS_Study_i::FindComponentID().
|
virtual |
|
virtual |
method to Find an Object with SALOMEDSImpl::Name = anObjectName
Function : FindObject Purpose : Find an Object with SALOMEDSImpl_Name = anObjectName.
References _errorCode, _FindObject(), SALOMEDSImpl_SObject::GetName(), SALOMEDSImpl_SComponentIterator::More(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), and SALOMEDSImpl_SComponentIterator::Value().
Referenced by SALOMEDS_Study_i::FindObject().
|
virtual |
method to Find Object(s) with SALOMEDSImpl::Name=anObjectName in a component with ComponentDataType = aComponentName
Function : FindObjectByName Purpose : Find Objects with SALOMEDSImpl_Name = anObjectName in a Component : with ComponentDataType = aComponentName.
References _errorCode, _FindObject(), FindComponent(), SALOMEDSImpl_SObject::GetID(), SALOMEDSImpl_SObject::GetName(), SALOMEDSImpl_ChildIterator::More(), NewChildIterator(), SALOMEDSImpl_ChildIterator::Next(), and SALOMEDSImpl_ChildIterator::Value().
Referenced by SALOMEDS_Study_i::FindObjectByName().
|
virtual |
method to Find an Object by its path
Function : FindObjectByPath Purpose : Find an Object by its path = thePath.
References _current, _doc, _errorCode, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeName::GetID(), GetSObject(), DF_ChildIterator::Init(), DF_Label::IsNull(), DF_Document::Main(), DF_ChildIterator::More(), DF_ChildIterator::Next(), SALOMEDSImpl_Tool::splitString(), DF_ChildIterator::Value(), and SALOMEDSImpl_AttributeName::Value().
Referenced by SALOMEDSImpl_StudyBuilder::AddDirectory(), SALOMEDS_Study_i::FindObjectByPath(), and SetContext().
|
virtual |
method to Find an Object with ID = anObjectID
Function : FindObjectID Purpose : Find an Object with ID = anObjectID.
References _doc, _errorCode, GetSObject(), DF_Label::IsNull(), DF_Label::Label(), and DF_Document::Main().
Referenced by SALOMEDSImpl_StudyManager::CopyLabel(), dump(), SALOMEDS_Study_i::FindObjectID(), SALOMEDSImpl_IParameters::getDefaultScript(), SALOMEDS_Study_i::GetObjectPath(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), and SALOMEDSImpl_StudyManager::PasteLabel().
|
virtual |
method to Find an Object with ID = anObjectIOR
Function : FindObjectIOR Purpose : Find an Object with IOR = anObjectIOR.
References _errorCode, SALOMEDSImpl_AttributeIOR::GetID(), SALOMEDSImpl_SObject::GetLabel(), GetSObject(), DF_Label::IsAttribute(), and myIORLabels.
Referenced by SALOMEDS_Study_i::FindObjectIOR(), SALOMEDS_Study_i::GetObjectPath(), and GetObjectPathByIOR().
bool SALOMEDSImpl_Study::FindVariableAttribute | ( | SALOMEDSImpl_StudyBuilder * | theStudyBuilder, |
SALOMEDSImpl_SObject | theSObject, | ||
const std::string & | theName | ||
) |
Function : FindVariableAttribute Purpose :
References SALOMEDSImpl_StudyBuilder::FindAttribute(), SALOMEDSImpl_ChildIterator::More(), NewChildIterator(), SALOMEDSImpl_ChildIterator::Next(), ParseVariables(), and SALOMEDSImpl_ChildIterator::Value().
Referenced by FindVariableAttribute(), and IsVariableUsed().
bool SALOMEDSImpl_Study::FindVariableAttribute | ( | const std::string & | theName | ) |
Function : FindVariableAttribute Purpose :
References FindVariableAttribute(), SALOMEDSImpl_SComponentIterator::More(), NewBuilder(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), and SALOMEDSImpl_SComponentIterator::Value().
|
virtual |
Function : GetAttribute Purpose :
References SALOMEDSImpl_SObject::FindAttribute(), and GetSObject().
SALOMEDSImpl_Callback* SALOMEDSImpl_Study::GetCallback | ( | ) |
Referenced by SALOMEDS_Study_i::EnableUseCaseAutoFilling().
SALOMEDSImpl_AttributeParameter * SALOMEDSImpl_Study::GetCommonParameters | ( | const char * | theID, |
int | theSavePoint | ||
) |
Function : Purpose :
References SALOMEDSImpl_StudyBuilder::FindAttribute(), DF_Label::FindChild(), FindComponent(), SALOMEDSImpl_StudyBuilder::FindOrCreateAttribute(), SALOMEDSImpl_SObject::GetLabel(), GetSObject(), DF_Label::IsNull(), NewBuilder(), SALOMEDSImpl_StudyBuilder::NewComponent(), and SALOMEDSImpl_StudyBuilder::NewObjectToTag().
Referenced by SALOMEDS_Study_i::GetCommonParameters(), SALOMEDSImpl_IParameters::getDefaultScript(), GetModuleParameters(), SALOMEDSImpl_IParameters::getStudyScript(), SALOMEDSImpl_IParameters::isDumpPython(), and SALOMEDSImplTest::testAttributeParameter().
|
virtual |
method to get all components names
Function : GetComponentNames Purpose : method to get all components names.
References _doc, _errorCode, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeName::GetID(), DF_Document::Main(), and SALOMEDSImpl_AttributeName::Value().
Referenced by SALOMEDS_Study::GetComponentNames(), and SALOMEDS_Study_i::GetComponentNames().
|
virtual |
method to get a context
Function : GetContext Purpose : Gets the current context.
References _current, _errorCode, GetObjectPath(), GetSObject(), and DF_Label::IsNull().
Referenced by SALOMEDSImpl_StudyBuilder::AddDirectory(), SALOMEDS_Study::GetContext(), SALOMEDS_Study_i::GetContext(), and SetContext().
|
virtual |
method to get all directory names in the given context (or in the current context, if 'theContext' is empty)
Function : GetDirectoryNames Purpose : method to get all directory names in the given context (or in the current context, if 'theContext' is empty)
References _current, _errorCode, DIRECTORYID, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeName::GetID(), SALOMEDSImpl_AttributeLocalID::GetID(), DF_Label::IsNull(), DF_ChildIterator::More(), DF_ChildIterator::Next(), SetContext(), DF_ChildIterator::Value(), SALOMEDSImpl_AttributeLocalID::Value(), and SALOMEDSImpl_AttributeName::Value().
Referenced by SALOMEDS_Study::GetDirectoryNames(), and SALOMEDS_Study_i::GetDirectoryNames().
|
virtual |
|
static |
Referenced by DumpStudy().
|
virtual |
|
virtual |
method to get all file names in the given context (or in the current context, if 'theContext' is empty)
Function : GetFileNames Purpose : method to get all file names in the given context (or in the current context, if 'theContext' is empty)
References _current, _errorCode, FILEID, FILELOCALID, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeLocalID::GetID(), SALOMEDSImpl_AttributePersistentRef::GetID(), DF_Label::IsNull(), DF_ChildIterator::More(), DF_ChildIterator::Next(), SetContext(), DF_ChildIterator::Value(), SALOMEDSImpl_AttributeLocalID::Value(), and SALOMEDSImpl_AttributePersistentRef::Value().
Referenced by SALOMEDS_Study::GetFileNames(), and SALOMEDS_Study_i::GetFileNames().
std::vector< std::string > SALOMEDSImpl_Study::GetIORs | ( | ) |
Function : GetIORs Purpose :
References myIORLabels.
Referenced by SALOMEDS_Study_i::RemovePostponed().
|
virtual |
References _errorCode, SALOMEDSImpl_AttributeStudyProperties::GetModifications(), and GetProperties().
Referenced by SALOMEDS_Study::GetLastModificationDate(), and SALOMEDS_Study_i::GetLastModificationDate().
std::vector< std::string > SALOMEDSImpl_Study::GetLockerID | ( | ) |
Function : GetLockerID Purpose :
References _lockers.
Referenced by SALOMEDS_Study::GetLockerID(), SALOMEDS_Study_i::GetLockerID(), and main().
|
virtual |
References _errorCode, SALOMEDSImpl_AttributeStudyProperties::GetModifications(), and GetProperties().
Referenced by SALOMEDS_Study::GetModificationsDate(), and SALOMEDS_Study_i::GetModificationsDate().
SALOMEDSImpl_AttributeParameter * SALOMEDSImpl_Study::GetModuleParameters | ( | const char * | theID, |
const char * | theModuleName, | ||
int | theSavePoint | ||
) |
Function : Purpose :
References DF_Attribute::FindAttribute(), SALOMEDSImpl_StudyBuilder::FindOrCreateAttribute(), GetCommonParameters(), SALOMEDSImpl_AttributeParameter::GetID(), SALOMEDSImpl_GenericAttribute::GetSObject(), SALOMEDSImpl_AttributeParameter::GetString(), SALOMEDSImpl_AttributeParameter::IsSet(), SALOMEDSImpl_ChildIterator::More(), NewBuilder(), NewChildIterator(), SALOMEDSImpl_StudyBuilder::NewObject(), SALOMEDSImpl_ChildIterator::Next(), SALOMEDSImpl_AttributeParameter::SetString(), and SALOMEDSImpl_ChildIterator::Value().
Referenced by SALOMEDSImpl_IParameters::getDefaultScript(), and SALOMEDS_Study_i::GetModuleParameters().
|
virtual |
method to get all object names in the given context (or in the current context, if 'theContext' is empty)
Function : GetObjectNames Purpose : method to get all object names in the given context (or in the current context, if 'theContext' is empty)
References _current, _errorCode, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeName::GetID(), DF_Label::IsNull(), DF_ChildIterator::More(), DF_ChildIterator::Next(), SetContext(), DF_ChildIterator::Value(), and SALOMEDSImpl_AttributeName::Value().
Referenced by SALOMEDS_Study::GetObjectNames(), and SALOMEDS_Study_i::GetObjectNames().
|
virtual |
method to get a path of SObject
Function : GetObjectPath Purpose :
References _errorCode, SALOMEDSImpl_SObject::GetFather(), and SALOMEDSImpl_SObject::GetName().
Referenced by GetContext(), SALOMEDS_Study_i::GetObjectPath(), GetObjectPathByIOR(), and main().
std::string SALOMEDSImpl_Study::GetObjectPathByIOR | ( | const std::string & | theIOR | ) |
Function : GetObjectPathByIOR Purpose :
References _errorCode, FindObjectIOR(), and GetObjectPath().
|
virtual |
method to Get persistent reference of study (idem URL())
Function : GetPersistentReference Purpose : Get persistent reference of study (idem URL())
References _errorCode, and URL().
Referenced by SALOMEDS_Study::GetPersistentReference(), and SALOMEDS_Study_i::GetPersistentReference().
|
virtual |
References _doc, _errorCode, DF_Document::Main(), and SALOMEDSImpl_AttributeStudyProperties::Set().
Referenced by SALOMEDSImpl_StudyBuilder::CheckLocked(), SALOMEDSImpl_StudyBuilder::CommitCommand(), GetLastModificationDate(), GetModificationsDate(), SALOMEDS_Study_i::GetProperties(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Impl_SaveProperties(), IsLocked(), SALOMEDSImpl_StudyBuilder::LoadWith(), SALOMEDSImpl_StudyBuilder::NewCommand(), SALOMEDSImpl_StudyManager::NewStudy(), SALOMEDSImpl_StudyManager::Open(), SALOMEDSImpl_StudyManager::Paste(), SALOMEDSImpl_StudyBuilder::Redo(), SetTransientReference(), and SALOMEDSImpl_StudyBuilder::Undo().
|
virtual |
Function : GetSComponent Purpose :
References _doc, _mapOfSCO, DF_Label::Label(), and DF_Document::Main().
Referenced by SALOMEDS_StudyBuilder_i::DefineComponentInstance(), SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDSImpl_StudyBuilder::NewComponent(), SALOMEDS_StudyBuilder_i::RemoveComponent(), and SComponent().
|
virtual |
Function : GetSComponent Purpose :
|
virtual |
Function : GetSObject Purpose :
References _doc, _mapOfSO, DF_Label::Label(), and DF_Document::Main().
Referenced by _FindObject(), _FindObjectIOR(), SALOMEDS_StudyBuilder_i::Addreference(), SALOMEDS_StudyManager_i::CanCopy(), SALOMEDS_StudyManager_i::CanPaste(), SALOMEDS_StudyManager_i::Copy(), CreateObjectID(), SALOMEDS_StudyBuilder_i::FindAttribute(), FindObjectByPath(), FindObjectID(), FindObjectIOR(), SALOMEDS_StudyBuilder_i::FindOrCreateAttribute(), SALOMEDSImpl_SObject::FindSubObject(), GetAttribute(), GetCommonParameters(), GetContext(), SALOMEDSImpl_SObject::GetFather(), SALOMEDS_StudyBuilder_i::IsGUID(), SALOMEDS_Study_i::NewChildIterator(), SALOMEDSImpl_StudyBuilder::NewObject(), SALOMEDS_StudyBuilder_i::NewObject(), SALOMEDSImpl_StudyBuilder::NewObjectToTag(), SALOMEDS_StudyBuilder_i::NewObjectToTag(), SALOMEDS_StudyManager_i::Paste(), SALOMEDSImpl_StudyManager::PasteLabel(), SALOMEDSImpl_SObject::ReferencedObject(), SALOMEDS_StudyBuilder_i::RemoveAttribute(), SALOMEDS_StudyBuilder_i::RemoveObject(), SALOMEDS_StudyBuilder_i::RemoveObjectWithChildren(), SALOMEDS_StudyBuilder_i::RemoveReference(), SALOMEDS_StudyBuilder_i::SetGUID(), and SObject().
|
virtual |
Function : GetSObject Purpose :
std::string SALOMEDSImpl_Study::GetStringVariableValue | ( | const std::string & | theVarName | ) |
Function : GetString Purpose :
References GetVariable().
Referenced by SALOMEDS_Study::GetString(), and SALOMEDS_Study_i::GetString().
|
static |
References DF_Label::FindAttribute(), SALOMEDSImpl_StudyHandle::Get(), SALOMEDSImpl_StudyHandle::GetID(), and DF_Label::Root().
Referenced by SALOMEDSImpl_GenericAttribute::CheckLocked(), SALOMEDSImpl_StudyManager::GetOpenStudies(), SALOMEDSImpl_SObject::GetStudy(), IORUpdated(), SComponent(), SALOMEDSImpl_GenericAttribute::SetModifyFlag(), SALOMEDSImpl_AttributeIOR::SetValue(), and SObject().
|
virtual |
method to Get transient reference of study
Function : GetTransientReference Purpose : Get IOR of the Study (registred in Document in doc->Root)
References _doc, _errorCode, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeIOR::GetID(), DF_Document::Root(), and SALOMEDSImpl_AttributeIOR::Value().
Referenced by SALOMEDS_SObject_i::GetStudy(), SALOMEDS_Study::GetStudy(), SALOMEDS_Study::GetTransientReference(), and SALOMEDS_Study_i::GetTransientReference().
|
virtual |
Function : GetUseCaseBuilder Purpose : Returns a UseCase builder.
References _errorCode, and _useCaseBuilder.
Referenced by SALOMEDS_Study_i::GetUseCaseBuilder(), and main().
SALOMEDSImpl_GenericVariable * SALOMEDSImpl_Study::GetVariable | ( | const std::string & | theName | ) | const |
Function : AddVariable Purpose :
References myNoteBookVars.
Referenced by GetStringVariableValue(), GetVariableValue(), IsTypeOf(), IsVariable(), RemoveVariable(), RenameVariable(), SetStringVariable(), SetStringVariableAsDouble(), and SetVariable().
std::vector< std::string > SALOMEDSImpl_Study::GetVariableNames | ( | ) | const |
Function : GetVariableNames Purpose :
References myNoteBookVars.
Referenced by SALOMEDS_Study::GetVariableNames(), and SALOMEDS_Study_i::GetVariableNames().
double SALOMEDSImpl_Study::GetVariableValue | ( | const std::string & | theVarName | ) |
Function : GetReal Purpose :
References GetVariable().
Referenced by SALOMEDS_Study::GetBoolean(), SALOMEDS_Study_i::GetBoolean(), SALOMEDS_Study::GetInteger(), SALOMEDS_Study_i::GetInteger(), SALOMEDS_Study::GetReal(), and SALOMEDS_Study_i::GetReal().
|
virtual |
|
static |
References DF_Label::Entry(), GetStudy(), DF_Attribute::Label(), UpdateIORLabelMap(), and SALOMEDSImpl_AttributeIOR::Value().
Referenced by SALOMEDS_Study_i::IORUpdated(), and SALOMEDSImpl_AttributeIOR::SetValue().
|
virtual |
method to detect if a study is empty
Function : IsEmpty Purpose : Detect if study is empty.
References _doc, _errorCode, and DF_Document::IsEmpty().
Referenced by SALOMEDS_Study::IsEmpty(), and SALOMEDS_Study_i::IsEmpty().
|
virtual |
Referenced by SALOMEDS_Study::GetStudy(), and SALOMEDS_Study_i::SetContext().
|
virtual |
References _errorCode, GetProperties(), and SALOMEDSImpl_AttributeStudyProperties::IsLocked().
Referenced by SALOMEDSImpl_GenericAttribute::CheckLocked().
|
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 _doc, _errorCode, and DF_Document::IsModified().
Referenced by SALOMEDS_Study::IsModified(), and SALOMEDS_Study_i::IsModified().
|
virtual |
method to get if study has been saved
Function : IsSaved Purpose : get if study has been saved.
References _errorCode, and _Saved.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDS_Study::IsSaved(), and SALOMEDS_Study_i::IsSaved().
|
virtual |
method to set if study has been saved
Function : IsSaved Purpose : set if study has been saved.
References _doc, _errorCode, _Saved, and DF_Document::SetModified().
bool SALOMEDSImpl_Study::IsStudyLocked | ( | ) |
Function : IsStudyLocked Purpose :
References _lockers.
Referenced by SALOMEDS_Study::IsStudyLocked(), SALOMEDS_Study_i::IsStudyLocked(), and main().
bool SALOMEDSImpl_Study::IsTypeOf | ( | const std::string & | theVarName, |
SALOMEDSImpl_GenericVariable::VariableTypes | theType | ||
) | const |
Function : IsTypeOf Purpose :
References GetVariable(), and SALOMEDSImpl_GenericVariable::Type().
Referenced by SALOMEDS_Study::IsBoolean(), SALOMEDS_Study_i::IsBoolean(), SALOMEDS_Study::IsInteger(), SALOMEDS_Study_i::IsInteger(), SALOMEDS_Study::IsReal(), SALOMEDS_Study_i::IsReal(), SALOMEDS_Study::IsString(), and SALOMEDS_Study_i::IsString().
bool SALOMEDSImpl_Study::IsVariable | ( | const std::string & | theVarName | ) | const |
Function : IsVariable Purpose :
References GetVariable().
Referenced by SALOMEDS_Study::IsVariable(), and SALOMEDS_Study_i::IsVariable().
bool SALOMEDSImpl_Study::IsVariableUsed | ( | const std::string & | theVarName | ) |
Function : IsVariableUsed Purpose :
References FindVariableAttribute().
Referenced by SALOMEDS_Study::IsVariableUsed(), and SALOMEDS_Study_i::IsVariableUsed().
void SALOMEDSImpl_Study::Modify | ( | ) |
References _doc, _errorCode, and DF_Document::SetModified().
Referenced by SALOMEDS_Study::Modified(), SALOMEDS_Study_i::Modified(), RemoveVariable(), RenameVariable(), SALOMEDSImpl_GenericAttribute::SetModifyFlag(), SetStringVariable(), and SetVariable().
|
virtual |
Function : modifySO_Notification Purpose : This function tells all the observers that a SO has been modified and pass the mofification reason.
References _notifier, and SALOMEDSImpl_AbstractCallback::modifySO_Notification().
Referenced by SALOMEDSImpl_StudyBuilder::RemoveAttribute(), and SALOMEDSImpl_GenericAttribute::SetModifyFlag().
|
virtual |
method to get study name
Function : Name Purpose : get study name.
References _errorCode, and _name.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDS_Study::Name(), SALOMEDS_Study_i::Name(), SALOMEDS_StudyManager_i::Open(), and URL().
|
virtual |
method to set study name
Function : Name Purpose : set study name.
References _errorCode, and _name.
|
virtual |
method to Create a StudyBuilder
Function : NewBuilder Purpose : Create a StudyBuilder.
References _autoFill, _builder, _cb, _errorCode, SALOMEDSImpl_StudyBuilder::SetOnAddSObject(), and SALOMEDSImpl_StudyBuilder::SetOnRemoveSObject().
Referenced by DumpStudy(), FindVariableAttribute(), GetCommonParameters(), SALOMEDSImpl_IParameters::getLastSavePoint(), GetModuleParameters(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), main(), ReadAttributes(), ReplaceVariableAttribute(), and SALOMEDS_Study_i::SALOMEDS_Study_i().
|
virtual |
method to Create a ChildIterator from an SObject
Function : NewChildIterator Purpose : Create a ChildIterator from an SObject.
References _errorCode.
Referenced by dump(), dumpSO(), FindObjectByName(), FindVariableAttribute(), SALOMEDSImpl_IParameters::getLastSavePoint(), GetModuleParameters(), main(), and ReplaceVariableAttribute().
|
virtual |
method to Create a SComponentIterator
Function : NewComponentIterator Purpose : Create a SComponentIterator.
References _doc, and _errorCode.
Referenced by DumpStudy(), FindComponent(), FindComponentID(), FindObject(), FindVariableAttribute(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDS_Study_i::NewComponentIterator(), SALOMEDSImpl_StudyManager::Open(), and ReplaceVariableAttribute().
std::vector< std::vector< std::string > > SALOMEDSImpl_Study::ParseVariables | ( | const std::string & | theVariables | ) | const |
Function : ParseVariables Purpose :
References OPERATION_SEPARATOR, SALOMEDSImpl_Tool::splitStringWithEmpty(), and VARIABLE_SEPARATOR.
Referenced by FindVariableAttribute(), SALOMEDS_Study::ParseVariables(), SALOMEDS_Study_i::ParseVariables(), and ReplaceVariableAttribute().
|
static |
Indirectly invokes GenericObj_i::Register()
References DF_Label::GetDocument(), and getGenObjRegister().
Referenced by SALOMEDSImpl_AttributeIOR::SetValue().
|
virtual |
Function : removeSO_Notification Purpose : This function tells all the observers that a SO has been removed.
References _notifier, and SALOMEDSImpl_AbstractCallback::removeSO_Notification().
Referenced by SALOMEDSImpl_StudyBuilder::RemoveObject(), and SALOMEDSImpl_StudyBuilder::RemoveObjectWithChildren().
bool SALOMEDSImpl_Study::RemoveVariable | ( | const std::string & | theVarName | ) |
Function : RemoveVariable Purpose :
References GetVariable(), Modify(), myNoteBookVars, SALOMEDSImpl_GenericVariable::Name(), ReplaceVariableAttribute(), and SALOMEDSImpl_GenericVariable::SaveToScript().
Referenced by SALOMEDS_Study::RemoveVariable(), and SALOMEDS_Study_i::RemoveVariable().
bool SALOMEDSImpl_Study::RenameVariable | ( | const std::string & | theVarName, |
const std::string & | theNewVarName | ||
) |
Function : RenameVariable Purpose :
References GetVariable(), Modify(), myNoteBookVars, SALOMEDSImpl_GenericVariable::Name(), ReplaceVariableAttribute(), and SALOMEDSImpl_GenericVariable::setName().
Referenced by SALOMEDS_Study::RenameVariable(), and SALOMEDS_Study_i::RenameVariable().
void SALOMEDSImpl_Study::ReplaceVariableAttribute | ( | SALOMEDSImpl_StudyBuilder * | theStudyBuilder, |
SALOMEDSImpl_SObject | theSObject, | ||
const std::string & | theSource, | ||
const std::string & | theDest | ||
) |
Function : ReplaceVariableAttribute Purpose :
References SALOMEDSImpl_StudyBuilder::FindAttribute(), SALOMEDSImpl_ChildIterator::More(), NewChildIterator(), SALOMEDSImpl_ChildIterator::Next(), ParseVariables(), and SALOMEDSImpl_ChildIterator::Value().
Referenced by RemoveVariable(), RenameVariable(), and ReplaceVariableAttribute().
void SALOMEDSImpl_Study::ReplaceVariableAttribute | ( | const std::string & | theSource, |
const std::string & | theDest | ||
) |
Function : ReplaceVariableAttribute Purpose :
References SALOMEDSImpl_SComponentIterator::More(), NewBuilder(), NewComponentIterator(), SALOMEDSImpl_SComponentIterator::Next(), ReplaceVariableAttribute(), and SALOMEDSImpl_SComponentIterator::Value().
|
static |
References GetSComponent(), and GetStudy().
Referenced by SALOMEDSImpl_SComponentIterator::Value().
|
virtual |
method to set a context: root ('/') is UserData component
Function : SetContext Purpose : Sets the current context.
References _current, _errorCode, FindObjectByPath(), GetContext(), SALOMEDSImpl_SObject::GetLabel(), and DF_Label::IsNull().
Referenced by GetDirectoryNames(), GetFileNames(), GetObjectNames(), SALOMEDS_Study::SetContext(), and SALOMEDS_Study_i::SetContext().
void SALOMEDSImpl_Study::setGenObjRegister | ( | SALOMEDSImpl_AbstractCallback * | theRegister | ) |
Stores theRegister.
References _doc, and getGenObjRegister().
Referenced by SALOMEDS_Study_i::SALOMEDS_Study_i().
|
virtual |
Function : setNotifier Purpose : register a notifier.
References _notifier.
Referenced by SALOMEDS_Study_i::SALOMEDS_Study_i(), and SALOMEDS_Study_i::~SALOMEDS_Study_i().
void SALOMEDSImpl_Study::SetStringVariable | ( | const std::string & | theVarName, |
const std::string & | theValue, | ||
const SALOMEDSImpl_GenericVariable::VariableTypes | theType | ||
) |
Function : SetStringVariable Purpose :
References GetVariable(), Modify(), myNoteBookVars, and SALOMEDSImpl_ScalarVariable::setStringValue().
Referenced by SALOMEDS_Study::SetString(), and SALOMEDS_Study_i::SetString().
void SALOMEDSImpl_Study::SetStringVariableAsDouble | ( | const std::string & | theVarName, |
const double | theValue, | ||
const SALOMEDSImpl_GenericVariable::VariableTypes | theType | ||
) |
Function : SetStringVariableAsDouble Purpose :
References GetVariable().
Referenced by SALOMEDS_Study::SetStringAsDouble(), and SALOMEDS_Study_i::SetStringAsDouble().
void SALOMEDSImpl_Study::SetStudyLock | ( | const char * | theLockerID | ) |
Function : SetStudyLock Purpose :
References _lockers.
Referenced by main(), and SALOMEDS_Study_i::SetStudyLock().
|
virtual |
References _doc, _errorCode, GetProperties(), SALOMEDSImpl_AttributeStudyProperties::IsLocked(), DF_Document::Main(), DF_Label::Root(), SALOMEDSImpl_AttributeIOR::Set(), and SALOMEDSImpl_AttributeStudyProperties::SetLocked().
Referenced by SALOMEDS_Study::GetStudy(), SALOMEDS_StudyManager_i::NewStudy(), and SALOMEDS_StudyManager_i::Open().
void SALOMEDSImpl_Study::SetVariable | ( | const std::string & | theVarName, |
const double | theValue, | ||
const SALOMEDSImpl_GenericVariable::VariableTypes | theType | ||
) |
Function : SetVariable Purpose :
References GetVariable(), Modify(), myNoteBookVars, and SALOMEDSImpl_ScalarVariable::setValue().
Referenced by SALOMEDS_Study::SetBoolean(), SALOMEDS_Study_i::SetBoolean(), SALOMEDS_Study::SetInteger(), SALOMEDS_Study_i::SetInteger(), SALOMEDS_Study::SetReal(), and SALOMEDS_Study_i::SetReal().
|
static |
References GetSObject(), and GetStudy().
Referenced by SALOMEDS_AttributeTarget_i::Add(), SALOMEDSImpl_StudyBuilder::Addreference(), SALOMEDSImpl_UseCaseBuilder::AddUseCase(), SALOMEDSImpl_AttributeTarget::Get(), SALOMEDSImpl_UseCaseBuilder::GetCurrentObject(), SALOMEDSImpl_GenericAttribute::GetSObject(), SALOMEDS_GenericAttribute_i::GetSObject(), SALOMEDSImpl_UseCaseBuilder::GetSObject(), SALOMEDSImpl_StudyManager::Impl_SaveObject(), SALOMEDSImpl_StudyManager::Paste(), SALOMEDSImpl_StudyManager::PasteLabel(), SALOMEDS_AttributeTarget_i::Remove(), SALOMEDSImpl_StudyBuilder::RemoveObject(), SALOMEDSImpl_StudyBuilder::RemoveObjectWithChildren(), SALOMEDSImpl_StudyBuilder::RemoveReference(), SALOMEDSImpl_ChildIterator::SALOMEDSImpl_ChildIterator(), SALOMEDSImpl_UseCaseBuilder::SortChildren(), Translate_IOR_to_persistentID(), Translate_persistentID_to_IOR(), SALOMEDSImpl_ChildIterator::Value(), and SALOMEDSImpl_UseCaseIterator::Value().
|
virtual |
References _errorCode, and _StudyId.
Referenced by SALOMEDS_Study_i::Close(), SALOMEDSImpl_StudyManager::Copy(), main(), SALOMEDSImpl_StudyManager::NewStudy(), SALOMEDSImpl_StudyManager::Open(), SALOMEDSImpl_StudyManager::PasteLabel(), SALOMEDS_Study_i::SALOMEDS_Study_i(), SALOMEDS_Study::StudyId(), and SALOMEDS_Study_i::StudyId().
|
virtual |
References _errorCode, and _StudyId.
void SALOMEDSImpl_Study::UnLockStudy | ( | const char * | theLockerID | ) |
Function : UnLockStudy Purpose :
References _lockers.
Referenced by main(), SALOMEDS_Study::UnLockStudy(), and SALOMEDS_Study_i::UnLockStudy().
|
static |
Indirectly invokes GenericObj_i::UnRegister()
References DF_Label::GetDocument(), and getGenObjRegister().
Referenced by SALOMEDSImpl_AttributeIOR::SetValue(), Translate_persistentID_to_IOR(), and SALOMEDSImpl_AttributeIOR::~SALOMEDSImpl_AttributeIOR().
|
virtual |
References _doc, _errorCode, DF_Label::Label(), DF_Document::Main(), and myIORLabels.
Referenced by IORUpdated(), and SALOMEDS_Study_i::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 _errorCode, and _URL.
Referenced by GetPersistentReference(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Open(), SALOMEDSImpl_StudyManager::Save(), SALOMEDSImpl_StudyManager::SaveASCII(), SALOMEDS_Study::URL(), and SALOMEDS_Study_i::URL().
|
virtual |
method to set URL of the study
Function : URL Purpose : set URL of the study (persistent reference of the study)
References _errorCode, _URL, and Name().
|
friend |
|
friend |
|
friend |
|
private |
Referenced by EnableUseCaseAutoFilling(), NewBuilder(), and SALOMEDSImpl_Study().
|
private |
Referenced by EnableUseCaseAutoFilling(), NewBuilder(), SALOMEDSImpl_Study(), and ~SALOMEDSImpl_Study().
|
private |
Referenced by EnableUseCaseAutoFilling(), NewBuilder(), SALOMEDSImpl_Study(), and ~SALOMEDSImpl_Study().
|
private |
Referenced by FindObjectByPath(), GetContext(), GetDirectoryNames(), GetFileNames(), GetObjectNames(), and SetContext().
|
private |
Referenced by Close(), CreateObjectID(), FindObjectByPath(), FindObjectID(), GetComponentNames(), SALOMEDSImpl_StudyManager::GetDocumentOfStudy(), GetProperties(), GetSComponent(), GetSObject(), GetTransientReference(), IsEmpty(), IsModified(), IsSaved(), Modify(), NewComponentIterator(), SALOMEDSImpl_Study(), setGenObjRegister(), SetTransientReference(), and UpdateIORLabelMap().
|
private |
Referenced by SALOMEDSImpl_GenericAttribute::CheckLocked(), Close(), CreateObjectID(), dump(), DumpStudy(), EnableUseCaseAutoFilling(), FindComponent(), FindComponentID(), FindDependances(), FindObject(), FindObjectByName(), FindObjectByPath(), FindObjectID(), FindObjectIOR(), GetComponentNames(), GetContext(), GetDirectoryNames(), GetFileNames(), GetLastModificationDate(), GetModificationsDate(), GetObjectNames(), GetObjectPath(), GetObjectPathByIOR(), GetPersistentReference(), GetProperties(), GetTransientReference(), GetUseCaseBuilder(), IsEmpty(), IsLocked(), IsModified(), IsSaved(), Modify(), Name(), NewBuilder(), NewChildIterator(), NewComponentIterator(), SALOMEDSImpl_Study(), SetContext(), SetTransientReference(), StudyId(), UpdateIORLabelMap(), and URL().
|
private |
Referenced by SALOMEDSImpl_Study().
|
private |
Referenced by GetLockerID(), IsStudyLocked(), SetStudyLock(), and UnLockStudy().
|
private |
Referenced by Close(), and GetSComponent().
|
private |
Referenced by Close(), and GetSObject().
|
private |
Referenced by Name(), and SALOMEDSImpl_Study().
|
private |
Referenced by addSO_Notification(), Close(), modifySO_Notification(), removeSO_Notification(), SALOMEDSImpl_Study(), and setNotifier().
|
private |
Referenced by IsSaved(), and SALOMEDSImpl_Study().
|
private |
Referenced by SALOMEDSImpl_Study(), and StudyId().
|
private |
Referenced by SALOMEDSImpl_Study(), and URL().
|
private |
Referenced by GetUseCaseBuilder(), SALOMEDSImpl_Study(), and ~SALOMEDSImpl_Study().
|
private |
Referenced by DeleteIORLabelMapItem(), FindObjectIOR(), GetIORs(), and UpdateIORLabelMap().
|
private |