Version: 7.8.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 SALOMEDSImpl_StudyGetStudy () 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
 

Constructor & Destructor Documentation

SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( )

Function : Empty constructor Purpose :

Referenced by GetPersistentCopy().

SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( const SALOMEDSImpl_SComponent theSCO)
SALOMEDSImpl_SComponent::SALOMEDSImpl_SComponent ( const DF_Label lab)

Function : constructor Purpose :

SALOMEDSImpl_SComponent::~SALOMEDSImpl_SComponent ( )

Function : destructor Purpose :

Member Function Documentation

virtual int SALOMEDSImpl_SObject::Depth ( ) const
virtualinherited
bool SALOMEDSImpl_SObject::FindAttribute ( DF_Attribute *&  theAttribute,
const std::string &  theTypeOfAttribute 
) const
virtualinherited
bool SALOMEDSImpl_SObject::FindSubObject ( int  theTag,
SALOMEDSImpl_SObject theObject 
)
virtualinherited
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().

SALOMEDSImpl_SObject SALOMEDSImpl_SObject::GetFather ( ) const
virtualinherited
std::string SALOMEDSImpl_SObject::GetGUID ( const std::string &  theTypeOfAttribute)
staticinherited
std::string SALOMEDSImpl_SObject::GetIOR ( ) const
virtualinherited
virtual DF_Label SALOMEDSImpl_SObject::GetLabel ( ) const
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().

int SALOMEDSImpl_SObject::GetLastChildTag ( ) const
virtualinherited

Function : GetLastChild Purpose :

References SALOMEDSImpl_SObject::_lab, and DF_Label::LastChildTag().

Referenced by SALOMEDS_SObject_i::GetLastChildTag().

bool SALOMEDSImpl_SObject::IsComponent ( ) const
inherited
virtual std::string SALOMEDSImpl_SObject::Name ( ) const
virtualinherited
virtual void SALOMEDSImpl_SObject::Name ( const std::string &  theName)
virtualinherited
SALOMEDSImpl_SObject::operator bool ( ) const
inherited
void SALOMEDSImpl_SObject::SetAttrString ( const std::string &  name,
const std::string &  value 
)
virtualinherited
virtual int SALOMEDSImpl_SObject::Tag ( ) const
virtualinherited

Field Documentation