#include <SALOMEDS_SObject.hxx>
Public Member Functions | |
SALOMEDS_SObject (SALOMEDS::SObject_ptr theSObject) | |
SALOMEDS_SObject (const SALOMEDSImpl_SObject &theSObject) | |
virtual | ~SALOMEDS_SObject () |
virtual bool | IsNull () const |
virtual std::string | GetID () |
virtual | _PTR (SComponent) GetFatherComponent() |
virtual | _PTR (SObject) GetFather() |
virtual bool | FindAttribute (_PTR(GenericAttribute)&anAttribute, const std::string &aTypeOfAttribute) |
virtual bool | ReferencedObject (_PTR(SObject)&theObject) |
virtual bool | FindSubObject (int theTag, _PTR(SObject)&theObject) |
virtual | _PTR (Study) GetStudy() |
virtual std::string | Name () |
virtual void | Name (const std::string &theName) |
virtual std::vector< _PTR(GenericAttribute)> | GetAllAttributes () |
virtual std::string | GetName () |
virtual std::string | GetComment () |
virtual std::string | GetIOR () |
virtual void | SetAttrString (const std::string &name, const std::string &value) |
virtual int | Tag () |
virtual int | Depth () |
CORBA::Object_ptr | GetObject () |
SALOMEDS::SObject_ptr | GetSObject () |
SALOMEDS::SObject_var | GetCORBAImpl () |
SALOMEDSImpl_SObject * | GetLocalImpl () |
virtual clt_shared_ptr < SALOMEDSClient_SComponent > | GetFatherComponent ()=0 |
virtual clt_shared_ptr < SALOMEDSClient_SObject > | GetFather ()=0 |
virtual bool | FindAttribute (clt_shared_ptr< SALOMEDSClient_GenericAttribute > &anAttribute, const std::string &aTypeOfAttribute)=0 |
virtual bool | ReferencedObject (clt_shared_ptr< SALOMEDSClient_SObject > &theObject)=0 |
virtual bool | FindSubObject (int theTag, clt_shared_ptr< SALOMEDSClient_SObject > &theObject)=0 |
virtual clt_shared_ptr < SALOMEDSClient_Study > | GetStudy ()=0 |
Protected Attributes | |
bool | _isLocal |
SALOMEDSImpl_SObject * | _local_impl |
SALOMEDS::SObject_var | _corba_impl |
CORBA::ORB_var | _orb |
Private Member Functions | |
void | init_orb () |
SALOMEDS_SObject::SALOMEDS_SObject | ( | SALOMEDS::SObject_ptr | theSObject | ) |
References _corba_impl, _isLocal, _local_impl, Kernel_Utils::GetHostname(), and init_orb().
Referenced by FindSubObject(), and ReferencedObject().
SALOMEDS_SObject::SALOMEDS_SObject | ( | const SALOMEDSImpl_SObject & | theSObject | ) |
|
virtual |
References _corba_impl, _isLocal, and _local_impl.
|
virtual |
Referenced by FindAttribute(), FindSubObject(), GetAllAttributes(), and ReferencedObject().
|
virtual |
|
virtual |
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_SObject::Depth(), and SALOMEDS::lock().
|
pure virtualinherited |
|
pure virtualinherited |
References _corba_impl, _isLocal, _local_impl, _PTR(), SALOMEDSImpl_SObject::FindSubObject(), SALOMEDS::lock(), and SALOMEDS_SObject().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, _PTR(), SALOMEDS_GenericAttribute::CreateAttribute(), SALOMEDSImpl_SObject::GetAllAttributes(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_SObject::GetComment(), and SALOMEDS::lock().
SALOMEDS::SObject_var SALOMEDS_SObject::GetCORBAImpl | ( | ) |
Referenced by _PTR(), SALOMEDS_AttributeTarget::Add(), SALOMEDS_StudyBuilder::Addreference(), SALOMEDS_UseCaseBuilder::Append(), SALOMEDS_UseCaseBuilder::AppendTo(), SALOMEDS_StudyManager::CanCopy(), SALOMEDS_StudyManager::CanPaste(), SALOMEDS_SComponent::ComponentDataType(), SALOMEDS_SComponent::ComponentIOR(), SALOMEDS_StudyManager::Copy(), SALOMEDS_StudyBuilder::FindAttribute(), SALOMEDS_Study::FindDependances(), SALOMEDS_SComponent::GetSComponent(), SALOMEDS_UseCaseBuilder::HasChildren(), SALOMEDS_UseCaseBuilder::InsertBefore(), SALOMEDS_StudyBuilder::IsGUID(), SALOMEDS_UseCaseBuilder::IsUseCase(), SALOMEDS_UseCaseBuilder::IsUseCaseNode(), SALOMEDS_StudyBuilder::Load(), SALOMEDS_StudyBuilder::LoadWith(), SALOMEDS_AttributeTarget::Remove(), SALOMEDS_UseCaseBuilder::Remove(), SALOMEDS_StudyBuilder::RemoveAttribute(), SALOMEDS_StudyBuilder::RemoveComponent(), SALOMEDS_StudyBuilder::RemoveObject(), SALOMEDS_StudyBuilder::RemoveObjectWithChildren(), SALOMEDS_StudyBuilder::RemoveReference(), SALOMEDS_StudyBuilder::SetComment(), SALOMEDS_UseCaseBuilder::SetCurrentObject(), SALOMEDS_StudyBuilder::SetGUID(), SALOMEDS_StudyBuilder::SetIOR(), SALOMEDS_StudyBuilder::SetName(), and SALOMEDS_UseCaseBuilder::SortChildren().
|
pure virtualinherited |
|
pure virtualinherited |
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_SObject::GetID(), and SALOMEDS::lock().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_SObject::GetIOR(), and SALOMEDS::lock().
Referenced by GetObject().
SALOMEDSImpl_SObject* SALOMEDS_SObject::GetLocalImpl | ( | ) |
Referenced by _PTR(), SALOMEDS_AttributeTarget::Add(), SALOMEDS_StudyBuilder::Addreference(), SALOMEDS_UseCaseBuilder::Append(), SALOMEDS_UseCaseBuilder::AppendTo(), SALOMEDS_StudyManager::CanCopy(), SALOMEDS_StudyManager::CanPaste(), SALOMEDS_SComponent::ComponentDataType(), SALOMEDS_SComponent::ComponentIOR(), SALOMEDS_StudyManager::Copy(), SALOMEDS_StudyBuilder::FindAttribute(), SALOMEDS_Study::FindDependances(), SALOMEDS_SComponent::GetSComponent(), SALOMEDS_UseCaseBuilder::HasChildren(), SALOMEDS_UseCaseBuilder::InsertBefore(), SALOMEDS_StudyBuilder::IsGUID(), SALOMEDS_UseCaseBuilder::IsUseCase(), SALOMEDS_UseCaseBuilder::IsUseCaseNode(), SALOMEDS_StudyBuilder::Load(), SALOMEDS_StudyBuilder::LoadWith(), SALOMEDS_AttributeTarget::Remove(), SALOMEDS_UseCaseBuilder::Remove(), SALOMEDS_StudyBuilder::RemoveAttribute(), SALOMEDS_StudyBuilder::RemoveComponent(), SALOMEDS_StudyBuilder::RemoveObject(), SALOMEDS_StudyBuilder::RemoveObjectWithChildren(), SALOMEDS_StudyBuilder::RemoveReference(), SALOMEDS_StudyBuilder::SetComment(), SALOMEDS_UseCaseBuilder::SetCurrentObject(), SALOMEDS_StudyBuilder::SetGUID(), SALOMEDS_StudyBuilder::SetIOR(), SALOMEDS_StudyBuilder::SetName(), and SALOMEDS_UseCaseBuilder::SortChildren().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDSImpl_SObject::GetName(), and SALOMEDS::lock().
CORBA::Object_ptr SALOMEDS_SObject::GetObject | ( | ) |
References _corba_impl, _isLocal, _orb, GetIOR(), and SALOMEDS::lock().
SALOMEDS::SObject_ptr SALOMEDS_SObject::GetSObject | ( | ) |
References _corba_impl, _isLocal, _local_impl, _orb, and SALOMEDS_SObject_i::New().
Referenced by ConvertSObject().
|
pure virtualinherited |
|
private |
References _orb, ASSERT, and SINGLETON_< TYPE >::Instance().
Referenced by SALOMEDS_SObject().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, and SALOMEDSImpl_SObject::IsNull().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Name().
|
pure virtualinherited |
References _corba_impl, _isLocal, _local_impl, _PTR(), SALOMEDS::lock(), SALOMEDSImpl_SObject::ReferencedObject(), and SALOMEDS_SObject().
|
virtual |
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::SetAttrString().
|
virtual |
Implements SALOMEDSClient_SObject.
References _corba_impl, _isLocal, _local_impl, SALOMEDS::lock(), and SALOMEDSImpl_SObject::Tag().
|
protected |
|
protected |
Referenced by SALOMEDS_SComponent::ComponentDataType(), SALOMEDS_SComponent::ComponentIOR(), Depth(), FindAttribute(), FindSubObject(), GetAllAttributes(), GetComment(), GetID(), GetIOR(), GetName(), GetObject(), SALOMEDS_SComponent::GetSComponent(), GetSObject(), IsNull(), Name(), ReferencedObject(), SALOMEDS_SObject(), SetAttrString(), Tag(), and ~SALOMEDS_SObject().
|
protected |
Referenced by Depth(), FindAttribute(), FindSubObject(), GetAllAttributes(), GetComment(), GetID(), GetIOR(), GetName(), GetSObject(), IsNull(), Name(), ReferencedObject(), SALOMEDS_SObject(), SetAttrString(), Tag(), and ~SALOMEDS_SObject().
|
protected |
Referenced by GetObject(), SALOMEDS_SComponent::GetSComponent(), GetSObject(), and init_orb().