Version: 8.3.0
SALOMEDS_StudyBuilder Class Referenceabstract

#include <SALOMEDS_StudyBuilder.hxx>

Inheritance diagram for SALOMEDS_StudyBuilder:

Public Member Functions

 SALOMEDS_StudyBuilder (SALOMEDSImpl_StudyBuilder *theBuilder)
 
 SALOMEDS_StudyBuilder (SALOMEDS::StudyBuilder_ptr theBuilder)
 
 ~SALOMEDS_StudyBuilder ()
 
virtual void RemoveComponent (const _PTR(SComponent)&theSCO)
 
virtual _PTR (SObject) NewObject(const _PTR(SObject)&theFatherObject)
 
virtual _PTR (SObject) NewObjectToTag(const _PTR(SObject)&theFatherObject
 
virtual void AddDirectory (const std::string &thePath)
 
virtual void LoadWith (const _PTR(SComponent)&theSCO, const std::string &theIOR)
 
virtual void Load (const _PTR(SObject)&theSCO)
 
virtual void RemoveObject (const _PTR(SObject)&theSO)
 
virtual void RemoveObjectWithChildren (const _PTR(SObject)&theSO)
 
virtual _PTR (GenericAttribute) FindOrCreateAttribute(const _PTR(SObject)&theSO
 
virtual bool FindAttribute (const _PTR(SObject)&theSO, _PTR(GenericAttribute)&theAttribute, const std::string &aTypeOfAttribute)
 
virtual void RemoveAttribute (const _PTR(SObject)&theSO, const std::string &aTypeOfAttribute)
 
virtual void Addreference (const _PTR(SObject)&me, const _PTR(SObject)&thereferencedObject)
 
virtual void RemoveReference (const _PTR(SObject)&me)
 
virtual void SetGUID (const _PTR(SObject)&theSO, const std::string &theGUID)
 
virtual bool IsGUID (const _PTR(SObject)&theSO, const std::string &theGUID)
 
virtual void NewCommand ()
 
virtual void CommitCommand ()
 
virtual bool HasOpenCommand ()
 
virtual void AbortCommand ()
 
virtual void Undo ()
 
virtual void Redo ()
 
virtual bool GetAvailableUndos ()
 
virtual bool GetAvailableRedos ()
 
virtual int UndoLimit ()
 
virtual void UndoLimit (int theLimit)
 
virtual void SetName (const _PTR(SObject)&theSO, const std::string &theValue)
 
virtual void SetComment (const _PTR(SObject)&theSO, const std::string &theValue)
 
virtual void SetIOR (const _PTR(SObject)&theSO, const std::string &theValue)
 
SALOMEDS::StudyBuilder_ptr GetBuilder ()
 
virtual clt_shared_ptr
< SALOMEDSClient_SComponent
NewComponent (const std::string &ComponentDataType)=0
 
virtual void DefineComponentInstance (const clt_shared_ptr< SALOMEDSClient_SComponent > &, const std::string &ComponentIOR)=0
 
virtual void RemoveComponent (const clt_shared_ptr< SALOMEDSClient_SComponent > &theSCO)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
NewObject (const clt_shared_ptr< SALOMEDSClient_SObject > &theFatherObject)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_SObject
NewObjectToTag (const clt_shared_ptr< SALOMEDSClient_SObject > &theFatherObject, int theTag)=0
 
virtual void LoadWith (const clt_shared_ptr< SALOMEDSClient_SComponent > &theSCO, const std::string &theIOR)=0
 
virtual void Load (const clt_shared_ptr< SALOMEDSClient_SObject > &theSCO)=0
 
virtual void RemoveObject (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0
 
virtual void RemoveObjectWithChildren (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO)=0
 
virtual clt_shared_ptr
< SALOMEDSClient_GenericAttribute
FindOrCreateAttribute (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &aTypeOfAttribute)=0
 
virtual bool FindAttribute (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, clt_shared_ptr< SALOMEDSClient_GenericAttribute > &theAttribute, const std::string &aTypeOfAttribute)=0
 
virtual void RemoveAttribute (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &aTypeOfAttribute)=0
 
virtual void Addreference (const clt_shared_ptr< SALOMEDSClient_SObject > &me, const clt_shared_ptr< SALOMEDSClient_SObject > &thereferencedObject)=0
 
virtual void RemoveReference (const clt_shared_ptr< SALOMEDSClient_SObject > &me)=0
 
virtual void SetGUID (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &theGUID)=0
 
virtual bool IsGUID (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &theGUID)=0
 
virtual void SetName (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &theValue)=0
 
virtual void SetComment (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &theValue)=0
 
virtual void SetIOR (const clt_shared_ptr< SALOMEDSClient_SObject > &theSO, const std::string &theValue)=0
 

Data Fields

virtual int theTag
 
virtual const std::string & aTypeOfAttribute
 

Private Member Functions

void CheckLocked ()
 
void init_orb ()
 

Private Attributes

bool _isLocal
 
SALOMEDSImpl_StudyBuilder_local_impl
 
SALOMEDS::StudyBuilder_var _corba_impl
 
CORBA::ORB_var _orb
 

Constructor & Destructor Documentation

SALOMEDS_StudyBuilder::SALOMEDS_StudyBuilder ( SALOMEDSImpl_StudyBuilder theBuilder)
SALOMEDS_StudyBuilder::SALOMEDS_StudyBuilder ( SALOMEDS::StudyBuilder_ptr  theBuilder)
SALOMEDS_StudyBuilder::~SALOMEDS_StudyBuilder ( )

Member Function Documentation

virtual SALOMEDS_StudyBuilder::_PTR ( SObject  ) const
virtual

Referenced by FindAttribute().

virtual SALOMEDS_StudyBuilder::_PTR ( SObject  ) const
virtual
virtual SALOMEDS_StudyBuilder::_PTR ( GenericAttribute  ) const
virtual
void SALOMEDS_StudyBuilder::AbortCommand ( )
virtual
virtual void SALOMEDSClient_StudyBuilder::Addreference ( const clt_shared_ptr< SALOMEDSClient_SObject > &  me,
const clt_shared_ptr< SALOMEDSClient_SObject > &  thereferencedObject 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::Addreference ( const _PTR(SObject)&  me,
const _PTR(SObject)&  thereferencedObject 
)
virtual
void SALOMEDS_StudyBuilder::CommitCommand ( )
virtual
virtual void SALOMEDSClient_StudyBuilder::DefineComponentInstance ( const clt_shared_ptr< SALOMEDSClient_SComponent > &  ,
const std::string &  ComponentIOR 
)
pure virtualinherited
virtual bool SALOMEDSClient_StudyBuilder::FindAttribute ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
clt_shared_ptr< SALOMEDSClient_GenericAttribute > &  theAttribute,
const std::string &  aTypeOfAttribute 
)
pure virtualinherited
bool SALOMEDS_StudyBuilder::FindAttribute ( const _PTR(SObject)&  theSO,
_PTR(GenericAttribute)&  theAttribute,
const std::string &  aTypeOfAttribute 
)
virtual
virtual clt_shared_ptr<SALOMEDSClient_GenericAttribute > SALOMEDSClient_StudyBuilder::FindOrCreateAttribute ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  aTypeOfAttribute 
)
pure virtualinherited
bool SALOMEDS_StudyBuilder::GetAvailableRedos ( )
virtual
bool SALOMEDS_StudyBuilder::GetAvailableUndos ( )
virtual
SALOMEDS::StudyBuilder_ptr SALOMEDS_StudyBuilder::GetBuilder ( )

References _corba_impl, _isLocal, _local_impl, and _orb.

Referenced by ConvertBuilder().

bool SALOMEDS_StudyBuilder::HasOpenCommand ( )
virtual
void SALOMEDS_StudyBuilder::init_orb ( )
private
virtual bool SALOMEDSClient_StudyBuilder::IsGUID ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  theGUID 
)
pure virtualinherited
bool SALOMEDS_StudyBuilder::IsGUID ( const _PTR(SObject)&  theSO,
const std::string &  theGUID 
)
virtual
virtual void SALOMEDSClient_StudyBuilder::Load ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSCO)
pure virtualinherited
void SALOMEDS_StudyBuilder::Load ( const _PTR(SObject)&  theSCO)
virtual
virtual void SALOMEDSClient_StudyBuilder::LoadWith ( const clt_shared_ptr< SALOMEDSClient_SComponent > &  theSCO,
const std::string &  theIOR 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::NewCommand ( )
virtual
virtual clt_shared_ptr<SALOMEDSClient_SComponent > SALOMEDSClient_StudyBuilder::NewComponent ( const std::string &  ComponentDataType)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_StudyBuilder::NewObject ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theFatherObject)
pure virtualinherited
virtual clt_shared_ptr<SALOMEDSClient_SObject > SALOMEDSClient_StudyBuilder::NewObjectToTag ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theFatherObject,
int  theTag 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::Redo ( )
virtual
virtual void SALOMEDSClient_StudyBuilder::RemoveAttribute ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  aTypeOfAttribute 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::RemoveAttribute ( const _PTR(SObject)&  theSO,
const std::string &  aTypeOfAttribute 
)
virtual
virtual void SALOMEDSClient_StudyBuilder::RemoveComponent ( const clt_shared_ptr< SALOMEDSClient_SComponent > &  theSCO)
pure virtualinherited
void SALOMEDS_StudyBuilder::RemoveComponent ( const _PTR(SComponent)&  theSCO)
virtual
virtual void SALOMEDSClient_StudyBuilder::RemoveObject ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO)
pure virtualinherited
virtual void SALOMEDSClient_StudyBuilder::RemoveObjectWithChildren ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO)
pure virtualinherited
void SALOMEDS_StudyBuilder::RemoveObjectWithChildren ( const _PTR(SObject)&  theSO)
virtual
virtual void SALOMEDSClient_StudyBuilder::RemoveReference ( const clt_shared_ptr< SALOMEDSClient_SObject > &  me)
pure virtualinherited
virtual void SALOMEDSClient_StudyBuilder::SetComment ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  theValue 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::SetComment ( const _PTR(SObject)&  theSO,
const std::string &  theValue 
)
virtual
virtual void SALOMEDSClient_StudyBuilder::SetGUID ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  theGUID 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::SetGUID ( const _PTR(SObject)&  theSO,
const std::string &  theGUID 
)
virtual
virtual void SALOMEDSClient_StudyBuilder::SetIOR ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  theValue 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::SetIOR ( const _PTR(SObject)&  theSO,
const std::string &  theValue 
)
virtual
virtual void SALOMEDSClient_StudyBuilder::SetName ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSO,
const std::string &  theValue 
)
pure virtualinherited
void SALOMEDS_StudyBuilder::SetName ( const _PTR(SObject)&  theSO,
const std::string &  theValue 
)
virtual
void SALOMEDS_StudyBuilder::Undo ( )
virtual
int SALOMEDS_StudyBuilder::UndoLimit ( )
virtual
void SALOMEDS_StudyBuilder::UndoLimit ( int  theLimit)
virtual

Field Documentation

CORBA::ORB_var SALOMEDS_StudyBuilder::_orb
private

Referenced by GetBuilder(), init_orb(), and LoadWith().

virtual const std::string& SALOMEDS_StudyBuilder::aTypeOfAttribute
virtual int SALOMEDS_StudyBuilder::theTag