#include <SALOMEDSImpl_SObject.hxx>
Public Member Functions | |
SALOMEDSImpl_SObject () | |
Function : empty constructor Purpose : More... | |
SALOMEDSImpl_SObject (const DF_Label &theLabel) | |
Function : constructor Purpose : More... | |
SALOMEDSImpl_SObject (const SALOMEDSImpl_SObject &theSObject) | |
Function : copy constructor Purpose : More... | |
virtual | ~SALOMEDSImpl_SObject () |
Function : Desctructor Purpose : More... | |
virtual std::string | GetID () const |
Function : GetID Purpose : More... | |
virtual SALOMEDSImpl_SComponent | GetFatherComponent () const |
Function : GetFatherComponent Purpose : More... | |
virtual SALOMEDSImpl_SObject | GetFather () const |
Function : GetFather Purpose : More... | |
virtual int | GetLastChildTag () const |
Function : GetLastChild Purpose : More... | |
virtual bool | FindAttribute (DF_Attribute *&theAttribute, const std::string &theTypeOfAttribute) const |
Function : FindAttribute Purpose : Find attribute of given type on this SObject. More... | |
virtual bool | ReferencedObject (SALOMEDSImpl_SObject &theObject) const |
Function : ReferencedObject Purpose : More... | |
virtual bool | FindSubObject (int theTag, SALOMEDSImpl_SObject &theObject) |
Function : FindSubObject Purpose : More... | |
virtual SALOMEDSImpl_Study * | GetStudy () const |
Function : GetStudy Purpose : More... | |
virtual std::string | Name () const |
virtual void | Name (const std::string &theName) |
virtual std::vector < DF_Attribute * > | GetAllAttributes () const |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject. More... | |
virtual std::string | GetName () const |
Function : GetName Purpose : More... | |
virtual std::string | GetComment () const |
Function : GetComment Purpose : More... | |
virtual std::string | GetIOR () const |
Function : GetIOR Purpose : More... | |
virtual void | SetAttrString (const std::string &name, const std::string &value) |
virtual int | Tag () const |
virtual int | Depth () const |
virtual DF_Label | GetLabel () const |
bool | IsNull () const |
bool | IsComponent () const |
Function : IsComponent Purpose : More... | |
operator SALOMEDSImpl_SComponent () const | |
Function : SALOMEDSImpl_SComponent Purpose : More... | |
operator bool () const | |
SALOMEDSImpl_SObject * | GetPersistentCopy () const |
Function : GetPersistentCopy Purpose : More... | |
Static Public Member Functions | |
static std::string | GetGUID (const std::string &theTypeOfAttribute) |
Protected Attributes | |
DF_Label | _lab |
std::string | _name |
std::string | _value |
std::string | _type |
SALOMEDSImpl_SObject::SALOMEDSImpl_SObject | ( | ) |
Function : empty constructor Purpose :
Referenced by GetPersistentCopy().
SALOMEDSImpl_SObject::SALOMEDSImpl_SObject | ( | const DF_Label & | theLabel | ) |
SALOMEDSImpl_SObject::SALOMEDSImpl_SObject | ( | const SALOMEDSImpl_SObject & | theSObject | ) |
|
virtual |
Function : Desctructor Purpose :
|
virtual |
Referenced by SALOMEDS_SObject::Depth(), and SALOMEDS_SObject_i::Depth().
|
virtual |
Function : FindAttribute Purpose : Find attribute of given type on this SObject.
References _lab, DF_Label::FindAttribute(), GetGUID(), and DF_Label::IsNull().
Referenced by SALOMEDS_SObject::FindAttribute(), SALOMEDS_SObject_i::FindAttribute(), and SALOMEDSImpl_Study::GetAttribute().
|
virtual |
Function : FindSubObject Purpose :
References _lab, DF_Label::FindChild(), SALOMEDSImpl_Study::GetSObject(), GetStudy(), and DF_Label::IsNull().
Referenced by SALOMEDS_SObject::FindSubObject(), and SALOMEDS_SObject_i::FindSubObject().
|
virtual |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject.
References _lab, DF_Label::GetAttributes(), and SALOMEDSImpl_GenericAttribute::Type().
Referenced by SALOMEDS_SObject::GetAllAttributes(), SALOMEDS_SObject_i::GetAllAttributes(), and main().
|
virtual |
Function : GetComment Purpose :
References _lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeComment::GetID(), and SALOMEDSImpl_AttributeComment::Value().
Referenced by SALOMEDS_SObject::GetComment(), SALOMEDS_SObject_i::GetComment(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), and SALOMEDSImpl_StudyManager::Open().
|
virtual |
Function : GetFather Purpose :
References _lab, DF_Label::Father(), SALOMEDSImpl_Study::GetSObject(), and GetStudy().
Referenced by SALOMEDS_SObject_i::GetFather(), and SALOMEDSImpl_Study::GetObjectPath().
|
virtual |
Function : GetFatherComponent Purpose :
References _lab, DF_Label::Father(), SALOMEDSImpl_Study::GetSComponent(), GetStudy(), SALOMEDSImpl_SComponent::IsA(), and DF_Label::IsRoot().
Referenced by SALOMEDSImpl_StudyManager::CanCopy(), SALOMEDSImpl_StudyManager::CanPaste(), GetDriver(), SALOMEDS_SObject_i::GetFatherComponent(), SALOMEDSImpl_StudyManager::Paste(), and SALOMEDSImpl_StudyManager::PasteLabel().
|
static |
References __AttributeTypeToGUIDForSObject.
Referenced by FindAttribute(), SALOMEDSImpl_StudyBuilder::FindAttribute(), and SALOMEDSImpl_StudyBuilder::RemoveAttribute().
|
virtual |
Function : GetID Purpose :
References _lab, and DF_Label::Entry().
Referenced by SALOMEDSImpl_Study::_FindObject(), SALOMEDS_StudyBuilder_i::Addreference(), SALOMEDS::Notifier::addSO_Notification(), SALOMEDSImpl_IParameters::decodeEntry(), dumpSO(), SALOMEDSImpl_Study::FindComponentID(), SALOMEDSImpl_Study::FindObjectByName(), SALOMEDS_SObject::GetID(), SALOMEDS_SObject_i::GetID(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Impl_SaveObject(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), SALOMEDS::Notifier::modifySO_Notification(), SALOMEDS_StudyBuilder_i::NewObject(), SALOMEDS_StudyBuilder_i::NewObjectToTag(), SALOMEDSImpl_StudyManager::Paste(), and SALOMEDS::Notifier::removeSO_Notification().
|
virtual |
Function : GetIOR Purpose :
References _lab, DF_Label::FindAttribute(), and SALOMEDSImpl_AttributeIOR::GetID().
Referenced by GetDriver(), SALOMEDS_SObject::GetIOR(), SALOMEDS_SObject_i::GetIOR(), and SALOMEDS_SObject_i::GetObject().
|
virtual |
Referenced by SALOMEDSImpl_Study::_FindObject(), SALOMEDSImpl_Study::_FindObjectIOR(), SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_StudyBuilder::AddDirectory(), SALOMEDSImpl_StudyBuilder::Addreference(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::AppendTo(), SALOMEDSImpl_StudyManager::CanCopy(), SALOMEDSImpl_StudyManager::Copy(), SALOMEDSImpl_StudyBuilder::DefineComponentInstance(), dumpSO(), SALOMEDSImpl_StudyBuilder::FindAttribute(), SALOMEDSImpl_Study::FindDependances(), SALOMEDSImpl_Study::FindObjectIOR(), SALOMEDSImpl_StudyBuilder::FindOrCreateAttribute(), SALOMEDSImpl_Study::GetCommonParameters(), SALOMEDSImpl_UseCaseBuilder::GetFather(), SALOMEDSImpl_UseCaseBuilder::GetUseCaseIterator(), SALOMEDSImpl_UseCaseBuilder::HasChildren(), SALOMEDSImpl_StudyManager::Impl_SaveObject(), SALOMEDSImpl_ChildIterator::Init(), SALOMEDSImpl_ChildIterator::InitEx(), SALOMEDSImpl_UseCaseBuilder::InsertBefore(), SALOMEDSImpl_StudyBuilder::IsGUID(), SALOMEDSImpl_UseCaseBuilder::IsUseCase(), SALOMEDSImpl_UseCaseBuilder::IsUseCaseNode(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), SALOMEDSImpl_StudyBuilder::NewObject(), SALOMEDSImpl_StudyBuilder::NewObjectToTag(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_UseCaseBuilder::Remove(), SALOMEDSImpl_StudyBuilder::RemoveAttribute(), SALOMEDSImpl_StudyBuilder::RemoveObject(), SALOMEDSImpl_StudyBuilder::RemoveObjectWithChildren(), SALOMEDSImpl_StudyBuilder::RemoveReference(), SALOMEDSImpl_ChildIterator::SALOMEDSImpl_ChildIterator(), SaveAttributes(), SetAttrString(), SALOMEDSImpl_StudyBuilder::SetComment(), SALOMEDSImpl_Study::SetContext(), SALOMEDSImpl_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_StudyBuilder::SetGUID(), SALOMEDSImpl_StudyBuilder::SetIOR(), SALOMEDSImpl_StudyBuilder::SetName(), SALOMEDSImpl_UseCaseBuilder::SortChildren(), and Translate_IOR_to_persistentID().
|
virtual |
Function : GetLastChild Purpose :
References _lab, and DF_Label::LastChildTag().
Referenced by SALOMEDS_SObject_i::GetLastChildTag().
|
virtual |
Function : GetName Purpose :
References _lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeName::GetID(), and SALOMEDSImpl_AttributeName::Value().
Referenced by SALOMEDSImpl_Study::FindObject(), SALOMEDSImpl_Study::FindObjectByName(), SALOMEDSImpl_IParameters::getDefaultScript(), SALOMEDS_SObject::GetName(), SALOMEDS_SObject_i::GetName(), and SALOMEDSImpl_Study::GetObjectPath().
SALOMEDSImpl_SObject * SALOMEDSImpl_SObject::GetPersistentCopy | ( | ) | const |
Function : GetPersistentCopy Purpose :
References _lab, _name, _type, _value, and SALOMEDSImpl_SObject().
Referenced by SALOMEDS_SObject::SALOMEDS_SObject(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
|
virtual |
Function : GetStudy Purpose :
References _lab, and SALOMEDSImpl_Study::GetStudy().
Referenced by SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::AppendTo(), SALOMEDSImpl_StudyManager::Copy(), FindSubObject(), GetFather(), GetFatherComponent(), SALOMEDS_SObject_i::GetStudy(), SALOMEDSImpl_UseCaseBuilder::InsertBefore(), SALOMEDSImpl_StudyManager::Paste(), ReferencedObject(), and SALOMEDSImpl_IParameters::SALOMEDSImpl_IParameters().
bool SALOMEDSImpl_SObject::IsComponent | ( | ) | const |
Function : IsComponent Purpose :
References _lab, and SALOMEDSImpl_SComponent::IsA().
Referenced by _PTR(), SALOMEDS_Study_i::FindObject(), SALOMEDS_SObject::SALOMEDS_SObject(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
bool SALOMEDSImpl_SObject::IsNull | ( | ) | const |
Referenced by _PTR(), SALOMEDS_Study_i::CreateObjectID(), SALOMEDS_Study_i::FindComponent(), SALOMEDS_Study_i::FindComponentID(), SALOMEDS_Study_i::FindObject(), SALOMEDS_Study_i::FindObjectByPath(), SALOMEDS_Study_i::FindObjectID(), SALOMEDS_Study_i::FindObjectIOR(), GetDriver(), SALOMEDS_Study_i::GetObjectPath(), SALOMEDS_SObject::IsNull(), SALOMEDS_SObject_i::IsNull(), main(), SALOMEDS_StudyBuilder_i::NewComponent(), SALOMEDS_StudyBuilder_i::NewObject(), SALOMEDS_StudyBuilder_i::NewObjectToTag(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
|
virtual |
Referenced by SALOMEDS_SObject::Name(), and SALOMEDS_SObject_i::Name().
|
virtual |
SALOMEDSImpl_SObject::operator bool | ( | ) | const |
SALOMEDSImpl_SObject::operator SALOMEDSImpl_SComponent | ( | ) | const |
Function : SALOMEDSImpl_SComponent Purpose :
|
virtual |
Function : ReferencedObject Purpose :
References _lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeReference::Get(), SALOMEDSImpl_AttributeReference::GetID(), SALOMEDSImpl_Study::GetSObject(), and GetStudy().
Referenced by main(), SALOMEDS_SObject::ReferencedObject(), SALOMEDS_SObject_i::ReferencedObject(), and SALOMEDSImpl_StudyBuilder::RemoveReference().
|
virtual |
|
virtual |
Referenced by SALOMEDS_SObject::Tag(), and SALOMEDS_SObject_i::Tag().
|
protected |
Referenced by SALOMEDSImpl_SComponent::ComponentDataType(), SALOMEDSImpl_SComponent::ComponentIOR(), FindAttribute(), FindSubObject(), GetAllAttributes(), GetComment(), GetFather(), GetFatherComponent(), GetID(), GetIOR(), GetLastChildTag(), GetName(), SALOMEDSImpl_SComponent::GetPersistentCopy(), GetPersistentCopy(), GetStudy(), IsComponent(), operator SALOMEDSImpl_SComponent(), ReferencedObject(), SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent(), and SALOMEDSImpl_SObject().
|
protected |
|
protected |
|
protected |