Version: 8.3.0
SALOMEDS_Study Class Referenceabstract

#include <SALOMEDS_Study.hxx>

Inheritance diagram for SALOMEDS_Study:

Public Member Functions

 SALOMEDS_Study (SALOMEDSImpl_Study *theStudy)
 
 SALOMEDS_Study (SALOMEDS::Study_ptr theStudy)
 
 ~SALOMEDS_Study ()
 
virtual std::string GetPersistentReference ()
 
virtual std::string GetTransientReference ()
 
virtual bool IsEmpty ()
 
virtual void SetContext (const std::string &thePath)
 
virtual std::string GetContext ()
 
virtual std::vector< std::string > GetObjectNames (const std::string &theContext)
 
virtual std::vector< std::string > GetDirectoryNames (const std::string &theContext)
 
virtual std::vector< std::string > GetFileNames (const std::string &theContext)
 
virtual std::vector< std::string > GetComponentNames (const std::string &theContext)
 
virtual _PTR (ChildIterator) NewChildIterator(const _PTR(SObject)&theSO)
 
virtual _PTR (SComponentIterator) NewComponentIterator()
 
virtual _PTR (StudyBuilder) NewBuilder()
 
virtual std::string Name ()
 
virtual void Name (const std::string &name)
 
virtual bool IsSaved ()
 
virtual void IsSaved (bool save)
 
virtual bool IsModified ()
 
virtual void Modified ()
 
virtual std::string URL ()
 
virtual void URL (const std::string &url)
 
virtual int StudyId ()
 
virtual void StudyId (int id)
 
virtual std::vector< _PTR(SObject)> FindDependances (const _PTR(SObject)&theSO)
 
virtual _PTR (AttributeStudyProperties) GetProperties()
 
virtual std::string GetLastModificationDate ()
 
virtual std::vector< std::string > GetModificationsDate ()
 
virtual _PTR (UseCaseBuilder) GetUseCaseBuilder()
 
virtual void Close ()
 
virtual void EnableUseCaseAutoFilling (bool isEnabled)
 
virtual bool DumpStudy (const std::string &thePath, const std::string &theBaseName, bool isPublished, bool isMultiFile)
 
virtual bool IsStudyLocked ()
 
virtual void UnLockStudy (const std::string &theLockerID)
 
virtual std::vector< std::string > GetLockerID ()
 
virtual void SetReal (const std::string &theVarName, const double theValue)
 
virtual void SetInteger (const std::string &theVarName, const int theValue)
 
virtual void SetBoolean (const std::string &theVarName, const bool theValue)
 
virtual void SetString (const std::string &theVarName, const std::string &theValue)
 
virtual void SetStringAsDouble (const std::string &theVarName, const double theValue)
 
virtual double GetReal (const std::string &theVarName)
 
virtual int GetInteger (const std::string &theVarName)
 
virtual bool GetBoolean (const std::string &theVarName)
 
virtual std::string GetString (const std::string &theVarName)
 
virtual bool IsReal (const std::string &theVarName)
 
virtual bool IsInteger (const std::string &theVarName)
 
virtual bool IsBoolean (const std::string &theVarName)
 
virtual bool IsString (const std::string &theVarName)
 
virtual bool IsVariable (const std::string &theVarName)
 
virtual std::vector< std::string > GetVariableNames ()
 
virtual bool RemoveVariable (const std::string &theVarName)
 
virtual bool RenameVariable (const std::string &theVarName, const std::string &theNewVarName)
 
virtual bool IsVariableUsed (const std::string &theVarName)
 
virtual std::vector
< std::vector< std::string > > 
ParseVariables (const std::string &theVars)
 
virtual void attach (SALOMEDS::Observer_ptr theObserver, bool modify)
 
virtual void detach (SALOMEDS::Observer_ptr theObserver)
 
std::string ConvertObjectToIOR (CORBA::Object_ptr theObject)
 
CORBA::Object_ptr ConvertIORToObject (const std::string &theIOR)
 
SALOMEDS::Study_ptr GetStudy ()
 
SALOMEDSImpl_StudyGetLocalImpl ()
 
virtual clt_shared_ptr
< SALOMEDSClient_SComponent
FindComponent (const std::string &aComponentName)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SComponent
FindComponentID (const std::string &aComponentID)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
FindObject (const std::string &anObjectName)=0
 
virtual std::vector
< clt_shared_ptr
< SALOMEDSClient_SObject > > 
FindObjectByName (const std::string &anObjectName, const std::string &aComponentName)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
FindObjectID (const std::string &anObjectID)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
CreateObjectID (const std::string &anObjectID)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
FindObjectIOR (const std::string &anObjectIOR)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
FindObjectByPath (const std::string &thePath)=0
 
virtual std::string GetObjectPath (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_ChildIterator
NewChildIterator (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SComponentIterator
NewComponentIterator ()=0
 
virtual clt_shared_ptr
< SALOMEDSClient_StudyBuilder
NewBuilder ()=0
 
virtual std::vector
< clt_shared_ptr
< SALOMEDSClient_SObject > > 
FindDependances (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_AttributeStudyProperties
GetProperties ()=0
 
virtual clt_shared_ptr
< SALOMEDSClient_UseCaseBuilder
GetUseCaseBuilder ()=0
 
virtual clt_shared_ptr
< SALOMEDSClient_AttributeParameter
GetCommonParameters (const std::string &theID, int theSavePoint)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_AttributeParameter
GetModuleParameters (const std::string &theID, const std::string &theModuleName, int theSavePoint)=0
 
virtual void SetStudyLock (const std::string &theLockerID)=0
 

Private Member Functions

void init_orb ()
 

Private Attributes

bool _isLocal
 
SALOMEDSImpl_Study_local_impl
 
SALOMEDS::Study_var _corba_impl
 
CORBA::ORB_var _orb
 

Constructor & Destructor Documentation

SALOMEDS_Study::SALOMEDS_Study ( SALOMEDSImpl_Study theStudy)
SALOMEDS_Study::SALOMEDS_Study ( SALOMEDS::Study_ptr  theStudy)
SALOMEDS_Study::~SALOMEDS_Study ( )

Member Function Documentation

virtual SALOMEDS_Study::_PTR ( ChildIterator  ) const
virtual

Referenced by FindDependances().

virtual SALOMEDS_Study::_PTR ( SComponentIterator  )
virtual
virtual SALOMEDS_Study::_PTR ( StudyBuilder  )
virtual
virtual SALOMEDS_Study::_PTR ( AttributeStudyProperties  )
virtual
virtual SALOMEDS_Study::_PTR ( UseCaseBuilder  )
virtual
void SALOMEDS_Study::attach ( SALOMEDS::Observer_ptr  theObserver,
bool  modify 
)
virtual

Implements SALOMEDSClient_Study.

References _corba_impl, and GetStudy().

void SALOMEDS_Study::Close ( )
virtual
CORBA::Object_ptr SALOMEDS_Study::ConvertIORToObject ( const std::string &  theIOR)

References _orb.

std::string SALOMEDS_Study::ConvertObjectToIOR ( CORBA::Object_ptr  theObject)

References _orb.

virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_Study::CreateObjectID ( const std::string &  anObjectID)
pure virtualinherited
void SALOMEDS_Study::detach ( SALOMEDS::Observer_ptr  theObserver)
virtual

Implements SALOMEDSClient_Study.

References _corba_impl, and GetStudy().

bool SALOMEDS_Study::DumpStudy ( const std::string &  thePath,
const std::string &  theBaseName,
bool  isPublished,
bool  isMultiFile 
)
virtual

Implements SALOMEDSClient_Study.

References _corba_impl, and GetStudy().

void SALOMEDS_Study::EnableUseCaseAutoFilling ( bool  isEnabled)
virtual
virtual clt_shared_ptr<SALOMEDSClient_SComponent > SALOMEDSClient_Study::FindComponent ( const std::string &  aComponentName)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SComponent > SALOMEDSClient_Study::FindComponentID ( const std::string &  aComponentID)
pure virtualinherited
virtual std::vector<clt_shared_ptr<SALOMEDSClient_SObject > > SALOMEDSClient_Study::FindDependances ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO)
pure virtualinherited
std::vector< _PTR(SObject)> SALOMEDS_Study::FindDependances ( const _PTR(SObject)&  theSO)
virtual
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_Study::FindObject ( const std::string &  anObjectName)
pure virtualinherited
virtual std::vector<clt_shared_ptr<SALOMEDSClient_SObject > > SALOMEDSClient_Study::FindObjectByName ( const std::string &  anObjectName,
const std::string &  aComponentName 
)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_Study::FindObjectByPath ( const std::string &  thePath)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_Study::FindObjectID ( const std::string &  anObjectID)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_Study::FindObjectIOR ( const std::string &  anObjectIOR)
pure virtualinherited
bool SALOMEDS_Study::GetBoolean ( const std::string &  theVarName)
virtual
virtual clt_shared_ptr<SALOMEDSClient_AttributeParameter > SALOMEDSClient_Study::GetCommonParameters ( const std::string &  theID,
int  theSavePoint 
)
pure virtualinherited
std::vector< std::string > SALOMEDS_Study::GetComponentNames ( const std::string &  theContext)
virtual
std::string SALOMEDS_Study::GetContext ( )
virtual
std::vector< std::string > SALOMEDS_Study::GetDirectoryNames ( const std::string &  theContext)
virtual
std::vector< std::string > SALOMEDS_Study::GetFileNames ( const std::string &  theContext)
virtual
int SALOMEDS_Study::GetInteger ( const std::string &  theVarName)
virtual
std::string SALOMEDS_Study::GetLastModificationDate ( )
virtual
SALOMEDSImpl_Study* SALOMEDS_Study::GetLocalImpl ( )
std::vector< std::string > SALOMEDS_Study::GetLockerID ( )
virtual
std::vector< std::string > SALOMEDS_Study::GetModificationsDate ( )
virtual
virtual clt_shared_ptr<SALOMEDSClient_AttributeParameter > SALOMEDSClient_Study::GetModuleParameters ( const std::string &  theID,
const std::string &  theModuleName,
int  theSavePoint 
)
pure virtualinherited
std::vector< std::string > SALOMEDS_Study::GetObjectNames ( const std::string &  theContext)
virtual
virtual std::string SALOMEDSClient_Study::GetObjectPath ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO)
pure virtualinherited
std::string SALOMEDS_Study::GetPersistentReference ( )
virtual
virtual clt_shared_ptr<SALOMEDSClient_AttributeStudyProperties > SALOMEDSClient_Study::GetProperties ( )
pure virtualinherited
double SALOMEDS_Study::GetReal ( const std::string &  theVarName)
virtual
std::string SALOMEDS_Study::GetString ( const std::string &  theVarName)
virtual
std::string SALOMEDS_Study::GetTransientReference ( )
virtual
virtual clt_shared_ptr<SALOMEDSClient_UseCaseBuilder > SALOMEDSClient_Study::GetUseCaseBuilder ( )
pure virtualinherited
std::vector< std::string > SALOMEDS_Study::GetVariableNames ( )
virtual
void SALOMEDS_Study::init_orb ( )
private

References _orb, ASSERT, and SINGLETON_< TYPE >::Instance().

Referenced by SALOMEDS_Study().

bool SALOMEDS_Study::IsBoolean ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::IsEmpty ( )
virtual
bool SALOMEDS_Study::IsInteger ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::IsModified ( )
virtual
bool SALOMEDS_Study::IsReal ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::IsSaved ( )
virtual
void SALOMEDS_Study::IsSaved ( bool  save)
virtual
bool SALOMEDS_Study::IsString ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::IsStudyLocked ( )
virtual
bool SALOMEDS_Study::IsVariable ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::IsVariableUsed ( const std::string &  theVarName)
virtual
void SALOMEDS_Study::Modified ( )
virtual
std::string SALOMEDS_Study::Name ( )
virtual
void SALOMEDS_Study::Name ( const std::string &  name)
virtual
virtual clt_shared_ptr<SALOMEDSClient_StudyBuilder > SALOMEDSClient_Study::NewBuilder ( )
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_ChildIterator > SALOMEDSClient_Study::NewChildIterator ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SComponentIterator > SALOMEDSClient_Study::NewComponentIterator ( )
pure virtualinherited
std::vector< std::vector< std::string > > SALOMEDS_Study::ParseVariables ( const std::string &  theVars)
virtual
bool SALOMEDS_Study::RemoveVariable ( const std::string &  theVarName)
virtual
bool SALOMEDS_Study::RenameVariable ( const std::string &  theVarName,
const std::string &  theNewVarName 
)
virtual
void SALOMEDS_Study::SetBoolean ( const std::string &  theVarName,
const bool  theValue 
)
virtual
void SALOMEDS_Study::SetContext ( const std::string &  thePath)
virtual
void SALOMEDS_Study::SetInteger ( const std::string &  theVarName,
const int  theValue 
)
virtual
void SALOMEDS_Study::SetReal ( const std::string &  theVarName,
const double  theValue 
)
virtual
void SALOMEDS_Study::SetString ( const std::string &  theVarName,
const std::string &  theValue 
)
virtual
void SALOMEDS_Study::SetStringAsDouble ( const std::string &  theVarName,
const double  theValue 
)
virtual
virtual void SALOMEDSClient_Study::SetStudyLock ( const std::string &  theLockerID)
pure virtualinherited
int SALOMEDS_Study::StudyId ( )
virtual
void SALOMEDS_Study::StudyId ( int  id)
virtual
void SALOMEDS_Study::UnLockStudy ( const std::string &  theLockerID)
virtual
std::string SALOMEDS_Study::URL ( )
virtual
void SALOMEDS_Study::URL ( const std::string &  url)
virtual

Field Documentation

CORBA::ORB_var SALOMEDS_Study::_orb
private