Version: 9.15.0
SALOMEDSImpl_SComponent Class Reference

#include <SALOMEDSImpl_SComponent.hxx>

Inheritance diagram for SALOMEDSImpl_SComponent:

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_SComponentGetPersistentCopy () 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 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
 

Constructor & Destructor Documentation

◆ SALOMEDSImpl_SComponent() [1/3]

SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( )

Function : Empty constructor Purpose :

Referenced by GetPersistentCopy().

◆ SALOMEDSImpl_SComponent() [2/3]

SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( const SALOMEDSImpl_SComponent theSCO)

◆ SALOMEDSImpl_SComponent() [3/3]

SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( const DF_Label lab)

Function : constructor Purpose :

◆ ~SALOMEDSImpl_SComponent()

SALOMEDSImpl_SComponent::~SALOMEDSImpl_SComponent ( )

Function : destructor Purpose :

Member Function Documentation

◆ ComponentDataType()

◆ ComponentIOR()

◆ Depth()

virtual int SALOMEDSImpl_SObject::Depth ( ) const
virtualinherited

◆ FindAttribute()

bool SALOMEDSImpl_SObject::FindAttribute ( DF_Attribute *&  theAttribute,
const std::string &  theTypeOfAttribute 
) const
virtualinherited

◆ FindSubObject()

bool SALOMEDSImpl_SObject::FindSubObject ( int  theTag,
SALOMEDSImpl_SObject theObject 
)
virtualinherited

◆ GetAllAttributes()

std::vector< DF_Attribute * > SALOMEDSImpl_SObject::GetAllAttributes ( ) const
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().

◆ GetComment()

◆ GetFather()

SALOMEDSImpl_SObject SALOMEDSImpl_SObject::GetFather ( ) const
virtualinherited

◆ GetFatherComponent()

◆ GetGUID()

std::string SALOMEDSImpl_SObject::GetGUID ( const std::string &  theTypeOfAttribute)
staticinherited

◆ GetID()

◆ GetIOR()

std::string SALOMEDSImpl_SObject::GetIOR ( ) const
virtualinherited

◆ GetLabel()

virtual DF_Label SALOMEDSImpl_SObject::GetLabel ( ) const
virtualinherited

Referenced by SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_StudyBuilder::Addreference(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::AppendTo(), SALOMEDSImpl_Study::CanCopy(), SALOMEDSImpl_Study::Copy(), SALOMEDSImpl_IParameters::decodeEntry(), SALOMEDSImpl_StudyBuilder::DefineComponentInstance(), dumpSO(), SALOMEDSImpl_StudyBuilder::FindAttribute(), SALOMEDSImpl_Study::FindDependances(), SALOMEDSImpl_Study::FindObjectIOR(), SALOMEDSImpl_StudyBuilder::FindOrCreateAttribute(), SALOMEDSImpl_Study::GetCommonParameters(), SALOMEDSImpl_UseCaseBuilder::GetFather(), SALOMEDSImpl_UseCaseBuilder::GetIndexInFather(), SALOMEDSImpl_Study::GetModuleParameters(), SALOMEDSImpl_UseCaseBuilder::GetUseCaseIterator(), SALOMEDSImpl_UseCaseBuilder::HasChildren(), SALOMEDSImpl_Study::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_UseCaseBuilder::Remove(), SALOMEDSImpl_AttributeTarget::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_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_StudyBuilder::SetGUID(), SALOMEDSImpl_StudyBuilder::SetIOR(), SALOMEDSImpl_StudyBuilder::SetName(), SALOMEDSImpl_UseCaseBuilder::SortChildren(), and Translate_IOR_to_persistentID().

◆ GetLastChildTag()

int SALOMEDSImpl_SObject::GetLastChildTag ( ) const
virtualinherited

◆ GetName()

◆ GetPersistentCopy()

◆ IsA()

◆ IsComponent()

bool SALOMEDSImpl_SObject::IsComponent ( ) const
inherited

◆ IsNull()

◆ Name() [1/2]

virtual std::string SALOMEDSImpl_SObject::Name ( ) const
virtualinherited

◆ Name() [2/2]

virtual void SALOMEDSImpl_SObject::Name ( const std::string &  theName)
virtualinherited

◆ operator bool()

SALOMEDSImpl_SObject::operator bool ( ) const
inherited

◆ operator SALOMEDSImpl_SComponent()

◆ ReferencedObject()

◆ SetAttrString()

void SALOMEDSImpl_SObject::SetAttrString ( const std::string &  name,
const std::string &  value 
)
virtualinherited

◆ Tag()

virtual int SALOMEDSImpl_SObject::Tag ( ) const
virtualinherited

Field Documentation

◆ _lab

◆ _name

◆ _type

◆ _value