Version: 8.3.0
SALOMEDSImpl_GenericAttribute Class Referenceabstract

#include <SALOMEDSImpl_GenericAttribute.hxx>

Inheritance diagram for SALOMEDSImpl_GenericAttribute:

Public Member Functions

 SALOMEDSImpl_GenericAttribute (const std::string &theType)
 
virtual std::string Type ()
 
virtual void CheckLocked ()
 
std::string GetClassType ()
 
SALOMEDSImpl_SObject GetSObject ()
 
void SetModifyFlag (int reason=0)
 Set modification flag of the Attribute. More...
 
DF_Label Label () const
 
DF_AttributeFindAttribute (const std::string &theID) const
 
virtual std::string Save ()
 
virtual void Load (const std::string &)
 
virtual const std::string & ID () const =0
 
virtual void Restore (DF_Attribute *theAttribute)=0
 
virtual DF_AttributeNewEmpty () const =0
 
virtual void Paste (DF_Attribute *theIntoAttribute)=0
 
virtual void AfterAddition ()
 
virtual void BeforeForget ()
 

Static Public Member Functions

static std::string Impl_GetType (DF_Attribute *theAttr)
 
static std::string Impl_GetClassType (DF_Attribute *theAttr)
 
static void Impl_CheckLocked (DF_Attribute *theAttr)
 

Protected Member Functions

void Backup ()
 

Protected Attributes

std::string _type
 
DF_LabelNode_node
 

Constructor & Destructor Documentation

SALOMEDSImpl_GenericAttribute::SALOMEDSImpl_GenericAttribute ( const std::string &  theType)

Member Function Documentation

virtual void DF_Attribute::AfterAddition ( )
virtualinherited

Reimplemented in SALOMEDSImpl_AttributeTreeNode.

Referenced by DF_Label::AddAttribute().

void DF_Attribute::Backup ( )
protectedinherited

Referenced by SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), SALOMEDSImpl_AttributeTextColor::ChangeArray(), SALOMEDSImpl_AttributeTextHighlightColor::ChangeArray(), SALOMEDSImpl_AttributeStudyProperties::ChangeCreatorName(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDSImpl_AttributeParameter::Clear(), SALOMEDSImpl_AttributeTableOfString::Load(), SALOMEDSImpl_AttributeTableOfReal::Load(), SALOMEDSImpl_AttributeTableOfInteger::Load(), SALOMEDSImpl_AttributeParameter::Load(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeParameter::RemoveID(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeFlags::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SALOMEDSImpl_AttributeStudyProperties::SetComment(), SALOMEDSImpl_AttributeStudyProperties::SetComponentVersion(), SALOMEDSImpl_AttributeStudyProperties::SetCreationMode(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SALOMEDSImpl_AttributeStudyProperties::SetModification(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributeOpened::SetOpened(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeSelectable::SetSelectable(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SALOMEDSImpl_AttributeStudyProperties::SetUnits(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeInteger::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), and SALOMEDSImpl_AttributeGraphic::SetVisibility().

virtual void DF_Attribute::BeforeForget ( )
virtualinherited
void SALOMEDSImpl_GenericAttribute::CheckLocked ( )
virtual

References SALOMEDSImpl_Study::_errorCode, SALOMEDSImpl_Study::GetStudy(), SALOMEDSImpl_Study::IsLocked(), DF_Label::IsNull(), and DF_Attribute::Label().

Referenced by SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), SALOMEDSImpl_AttributeStudyProperties::ChangeCreatorName(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDS_GenericAttribute::CheckLocked(), Impl_CheckLocked(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDSImpl_AttributeTableOfString::PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeTableOfString::RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SALOMEDSImpl_AttributeStudyProperties::SetComment(), SALOMEDSImpl_AttributeStudyProperties::SetComponentVersion(), SALOMEDSImpl_AttributeStudyProperties::SetCreationMode(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SALOMEDSImpl_AttributeStudyProperties::SetModification(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SALOMEDSImpl_AttributeStudyProperties::SetUnits(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), SALOMEDSImpl_AttributeTableOfString::SortByColumn(), SALOMEDSImpl_AttributeTableOfReal::SortByColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortByColumn(), SALOMEDSImpl_AttributeTableOfString::SortByRow(), SALOMEDSImpl_AttributeTableOfReal::SortByRow(), SALOMEDSImpl_AttributeTableOfInteger::SortByRow(), SALOMEDSImpl_AttributeTableOfString::SortColumn(), SALOMEDSImpl_AttributeTableOfReal::SortColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortColumn(), SALOMEDSImpl_AttributeTableOfString::SortRow(), SALOMEDSImpl_AttributeTableOfReal::SortRow(), SALOMEDSImpl_AttributeTableOfInteger::SortRow(), SALOMEDSImpl_AttributeTableOfString::SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), SALOMEDSImpl_AttributeTableOfInteger::SwapCells(), SALOMEDSImpl_AttributeTableOfString::SwapColumns(), SALOMEDSImpl_AttributeTableOfReal::SwapColumns(), SALOMEDSImpl_AttributeTableOfInteger::SwapColumns(), SALOMEDSImpl_AttributeTableOfString::SwapRows(), SALOMEDSImpl_AttributeTableOfReal::SwapRows(), and SALOMEDSImpl_AttributeTableOfInteger::SwapRows().

std::string SALOMEDSImpl_GenericAttribute::GetClassType ( )
void SALOMEDSImpl_GenericAttribute::Impl_CheckLocked ( DF_Attribute theAttr)
static
std::string SALOMEDSImpl_GenericAttribute::Impl_GetClassType ( DF_Attribute theAttr)
static
std::string SALOMEDSImpl_GenericAttribute::Impl_GetType ( DF_Attribute theAttr)
static
DF_Label DF_Attribute::Label ( ) const
inherited
void SALOMEDSImpl_GenericAttribute::SetModifyFlag ( int  reason = 0)

Set modification flag of the Attribute.

param reason reason of the modification (by default equal to 0)

References GetSObject(), SALOMEDSImpl_Study::GetStudy(), DF_Label::IsNull(), DF_Attribute::Label(), SALOMEDSImpl_Study::Modify(), and SALOMEDSImpl_Study::modifySO_Notification().

Referenced by SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), SALOMEDSImpl_AttributeTextHighlightColor::ChangeArray(), SALOMEDSImpl_AttributeTextColor::ChangeArray(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDSImpl_AttributeParameter::Clear(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDSImpl_AttributeTableOfString::PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeParameter::RemoveID(), SALOMEDSImpl_AttributeTableOfString::RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitles(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitles(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitles(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowTitles(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitles(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitles(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnits(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnits(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SALOMEDSImpl_AttributeTreeNode::SetTreeID(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeInteger::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), SALOMEDSImpl_AttributeTableOfString::SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), and SALOMEDSImpl_AttributeTableOfInteger::SwapCells().

std::string SALOMEDSImpl_GenericAttribute::Type ( )
virtual

Field Documentation

std::string SALOMEDSImpl_GenericAttribute::_type
protected

Referenced by Type().