#include <SALOMEDSImpl_SComponent.hxx>
Public Member Functions | |
SALOMEDSImpl_SComponent () | |
Function : Empty constructor Purpose : More... | |
SALOMEDSImpl_SComponent (const SALOMEDSImpl_SComponent &theSCO) | |
Function : Copy constructor Purpose : More... | |
SALOMEDSImpl_SComponent (const DF_Label &lab) | |
Function : constructor Purpose : More... | |
~SALOMEDSImpl_SComponent () | |
Function : destructor Purpose : More... | |
virtual std::string | ComponentDataType () |
Function : ComponentDataType Purpose : More... | |
virtual bool | ComponentIOR (std::string &theID) |
Function : ComponentIOR Purpose : More... | |
SALOMEDSImpl_SComponent * | GetPersistentCopy () const |
Function : GetPersistentCopy 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 | |
Static Public Member Functions | |
static bool | IsA (const DF_Label &theLabel) |
Function : IsA Purpose : More... | |
static std::string | GetGUID (const std::string &theTypeOfAttribute) |
Protected Attributes | |
DF_Label | _lab |
std::string | _name |
std::string | _value |
std::string | _type |
SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent | ( | ) |
Function : Empty constructor Purpose :
Referenced by GetPersistentCopy().
SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent | ( | const SALOMEDSImpl_SComponent & | theSCO | ) |
Function : Copy constructor Purpose :
References SALOMEDSImpl_SObject::_lab, SALOMEDSImpl_SObject::_name, SALOMEDSImpl_SObject::_type, and SALOMEDSImpl_SObject::_value.
SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent | ( | const DF_Label & | lab | ) |
Function : constructor Purpose :
SALOMEDSImpl_SComponent::~SALOMEDSImpl_SComponent | ( | ) |
Function : destructor Purpose :
|
virtual |
Function : ComponentDataType Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeComment::GetID(), and SALOMEDSImpl_AttributeComment::Value().
Referenced by SALOMEDSImpl_Study::DumpStudy(), SALOMEDSImpl_Study::FindComponent(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), and main().
|
virtual |
Function : ComponentIOR Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeIOR::GetID(), and SALOMEDSImpl_AttributeIOR::Value().
Referenced by SALOMEDSImpl_StudyManager::CanCopy(), SALOMEDSImpl_StudyManager::CanPaste(), SALOMEDSImpl_Study::DumpStudy(), and SALOMEDSImpl_StudyManager::Impl_SaveAs().
|
virtualinherited |
Referenced by SALOMEDS_SObject::Depth(), and SALOMEDS_SObject_i::Depth().
|
virtualinherited |
Function : FindAttribute Purpose : Find attribute of given type on this SObject.
References SALOMEDSImpl_SObject::_lab, DF_Label::FindAttribute(), SALOMEDSImpl_SObject::GetGUID(), and DF_Label::IsNull().
Referenced by SALOMEDS_SObject::FindAttribute(), SALOMEDS_SObject_i::FindAttribute(), and SALOMEDSImpl_Study::GetAttribute().
|
virtualinherited |
Function : FindSubObject Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::FindChild(), SALOMEDSImpl_Study::GetSObject(), SALOMEDSImpl_SObject::GetStudy(), and DF_Label::IsNull().
Referenced by SALOMEDS_SObject::FindSubObject(), and SALOMEDS_SObject_i::FindSubObject().
|
virtualinherited |
Function : GetAllAttributes Purpose : Returns list of all attributes for this sobject.
References SALOMEDSImpl_SObject::_lab, DF_Label::GetAttributes(), and SALOMEDSImpl_GenericAttribute::Type().
Referenced by SALOMEDS_SObject::GetAllAttributes(), SALOMEDS_SObject_i::GetAllAttributes(), and main().
|
virtualinherited |
Function : GetComment Purpose :
References SALOMEDSImpl_SObject::_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().
|
virtualinherited |
Function : GetFather Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::Father(), SALOMEDSImpl_Study::GetSObject(), and SALOMEDSImpl_SObject::GetStudy().
Referenced by SALOMEDS_SObject_i::GetFather(), and SALOMEDSImpl_Study::GetObjectPath().
|
virtualinherited |
Function : GetFatherComponent Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::Father(), SALOMEDSImpl_Study::GetSComponent(), SALOMEDSImpl_SObject::GetStudy(), 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().
|
staticinherited |
|
virtualinherited |
Function : GetID Purpose :
References SALOMEDSImpl_SObject::_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().
|
virtualinherited |
Function : GetIOR Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::FindAttribute(), and SALOMEDSImpl_AttributeIOR::GetID().
Referenced by GetDriver(), SALOMEDS_SObject::GetIOR(), SALOMEDS_SObject_i::GetIOR(), and SALOMEDS_SObject_i::GetObject().
|
virtualinherited |
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(), SALOMEDSImpl_SObject::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().
|
virtualinherited |
Function : GetLastChild Purpose :
References SALOMEDSImpl_SObject::_lab, and DF_Label::LastChildTag().
Referenced by SALOMEDS_SObject_i::GetLastChildTag().
|
virtualinherited |
Function : GetName Purpose :
References SALOMEDSImpl_SObject::_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_SComponent * SALOMEDSImpl_SComponent::GetPersistentCopy | ( | ) | const |
Function : GetPersistentCopy Purpose :
References SALOMEDSImpl_SObject::_lab, SALOMEDSImpl_SObject::_name, SALOMEDSImpl_SObject::_type, SALOMEDSImpl_SObject::_value, and SALOMEDSImpl_SComponent().
Referenced by SALOMEDS_SObject::SALOMEDS_SObject(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
|
virtualinherited |
Function : GetStudy Purpose :
References SALOMEDSImpl_SObject::_lab, and SALOMEDSImpl_Study::GetStudy().
Referenced by SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::AppendTo(), SALOMEDSImpl_StudyManager::Copy(), SALOMEDSImpl_SObject::FindSubObject(), SALOMEDSImpl_SObject::GetFather(), SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDS_SObject_i::GetStudy(), SALOMEDSImpl_UseCaseBuilder::InsertBefore(), SALOMEDSImpl_StudyManager::Paste(), SALOMEDSImpl_SObject::ReferencedObject(), and SALOMEDSImpl_IParameters::SALOMEDSImpl_IParameters().
Function : IsA Purpose :
References DF_Label::Depth(), SALOMEDSImpl_AttributeComment::GetID(), and DF_Label::IsAttribute().
Referenced by SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDSImpl_SObject::IsComponent(), and SALOMEDSImpl_SComponentIterator::More().
|
inherited |
Function : IsComponent Purpose :
References SALOMEDSImpl_SObject::_lab, and IsA().
Referenced by _PTR(), SALOMEDS_Study_i::FindObject(), SALOMEDS_SObject::SALOMEDS_SObject(), and SALOMEDS_SObject_i::SALOMEDS_SObject_i().
|
inherited |
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().
|
virtualinherited |
Referenced by SALOMEDS_SObject::Name(), and SALOMEDS_SObject_i::Name().
|
virtualinherited |
|
inherited |
|
inherited |
Function : SALOMEDSImpl_SComponent Purpose :
References SALOMEDSImpl_SObject::_lab, SALOMEDSImpl_SObject::_name, SALOMEDSImpl_SObject::_type, and SALOMEDSImpl_SObject::_value.
|
virtualinherited |
Function : ReferencedObject Purpose :
References SALOMEDSImpl_SObject::_lab, DF_Label::FindAttribute(), SALOMEDSImpl_AttributeReference::Get(), SALOMEDSImpl_AttributeReference::GetID(), SALOMEDSImpl_Study::GetSObject(), and SALOMEDSImpl_SObject::GetStudy().
Referenced by main(), SALOMEDS_SObject::ReferencedObject(), SALOMEDS_SObject_i::ReferencedObject(), and SALOMEDSImpl_StudyBuilder::RemoveReference().
|
virtualinherited |
|
virtualinherited |
Referenced by SALOMEDS_SObject::Tag(), and SALOMEDS_SObject_i::Tag().
|
protectedinherited |
Referenced by ComponentDataType(), ComponentIOR(), SALOMEDSImpl_SObject::FindAttribute(), SALOMEDSImpl_SObject::FindSubObject(), SALOMEDSImpl_SObject::GetAllAttributes(), SALOMEDSImpl_SObject::GetComment(), SALOMEDSImpl_SObject::GetFather(), SALOMEDSImpl_SObject::GetFatherComponent(), SALOMEDSImpl_SObject::GetID(), SALOMEDSImpl_SObject::GetIOR(), SALOMEDSImpl_SObject::GetLastChildTag(), SALOMEDSImpl_SObject::GetName(), GetPersistentCopy(), SALOMEDSImpl_SObject::GetPersistentCopy(), SALOMEDSImpl_SObject::GetStudy(), SALOMEDSImpl_SObject::IsComponent(), SALOMEDSImpl_SObject::operator SALOMEDSImpl_SComponent(), SALOMEDSImpl_SObject::ReferencedObject(), SALOMEDSImpl_SComponent(), and SALOMEDSImpl_SObject::SALOMEDSImpl_SObject().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |