#include <SALOMEDSImpl_AttributeTableOfString.hxx>
Public Types | |
enum | SortOrder { AscendingOrder, DescendingOrder } |
Sort order. More... | |
enum | SortPolicy { EmptyLowest, EmptyHighest, EmptyFirst, EmptyLast, EmptyIgnore } |
Sort policy (specifies how empty cells are taken into account when sorting) More... | |
Public Member Functions | |
virtual std::string | Save () |
virtual void | Load (const std::string &) |
SALOMEDSImpl_AttributeTableOfString () | |
void | SetNbColumns (const int theNbColumns) |
void | SetTitle (const std::string &theTitle) |
std::string | GetTitle () const |
void | SetRowData (const int theRow, const std::vector< std::string > &theData) |
std::vector< std::string > | GetRowData (const int theRow) |
void | SetRowTitle (const int theRow, const std::string &theTitle) |
void | SetRowUnit (const int theRow, const std::string &theUnit) |
std::string | GetRowUnit (const int theRow) const |
void | SetRowUnits (const std::vector< std::string > &theUnits) |
std::vector< std::string > | GetRowUnits () |
void | SetRowTitles (const std::vector< std::string > &theTitles) |
std::vector< std::string > | GetRowTitles () |
std::string | GetRowTitle (const int theRow) const |
void | SetColumnData (const int theColumn, const std::vector< std::string > &theData) |
std::vector< std::string > | GetColumnData (const int theColumn) |
void | SetColumnTitle (const int theColumn, const std::string &theTitle) |
std::string | GetColumnTitle (const int theColumn) const |
void | SetColumnTitles (const std::vector< std::string > &theTitles) |
std::vector< std::string > | GetColumnTitles () |
int | GetNbRows () const |
int | GetNbColumns () const |
void | PutValue (const std::string &theValue, const int theRow, const int theColumn) |
bool | HasValue (const int theRow, const int theColumn) |
std::string | GetValue (const int theRow, const int theColumn) |
void | RemoveValue (const int theRow, const int theColumn) |
const std::string & | ID () const |
void | Restore (DF_Attribute *with) |
DF_Attribute * | NewEmpty () const |
void | Paste (DF_Attribute *into) |
std::vector< int > | GetSetRowIndices (const int theRow) |
std::vector< int > | GetSetColumnIndices (const int theColumn) |
std::vector< int > | SortRow (const int theRow, SortOrder sortOrder, SortPolicy sortPolicy) |
std::vector< int > | SortColumn (const int theColumn, SortOrder sortOrder, SortPolicy sortPolicy) |
std::vector< int > | SortByRow (const int theRow, SortOrder sortOrder, SortPolicy sortPolicy) |
std::vector< int > | SortByColumn (const int theColumn, SortOrder sortOrder, SortPolicy sortPolicy) |
void | SwapCells (const int theRow1, const int theColumn1, const int theRow2, const int theColumn2) |
void | SwapRows (const int theRow1, const int theRow2) |
void | SwapColumns (const int theColumn1, const int theColumn2) |
~SALOMEDSImpl_AttributeTableOfString () | |
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_Attribute * | FindAttribute (const std::string &theID) const |
virtual void | AfterAddition () |
virtual void | BeforeForget () |
Static Public Member Functions | |
static const std::string & | GetID () |
static SALOMEDSImpl_AttributeTableOfString * | Set (const DF_Label &label) |
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 |
Private Attributes | |
std::map< int, std::string > | myTable |
std::string | myTitle |
std::vector< std::string > | myRows |
std::vector< std::string > | myCols |
int | myNbRows |
int | myNbColumns |
|
inherited |
|
inherited |
Sort policy (specifies how empty cells are taken into account when sorting)
SALOMEDSImpl_AttributeTableOfString::SALOMEDSImpl_AttributeTableOfString | ( | ) |
References myNbColumns, and myNbRows.
Referenced by NewEmpty(), and Set().
SALOMEDSImpl_AttributeTableOfString::~SALOMEDSImpl_AttributeTableOfString | ( | ) |
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode.
Referenced by DF_Label::AddAttribute().
|
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(), 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(), SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), 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(), 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(), SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeSelectable::SetSelectable(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), 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().
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode.
Referenced by DF_Label::ForgetAttribute().
|
virtualinherited |
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(), SALOMEDSImpl_GenericAttribute::Impl_CheckLocked(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_AttributeTreeNode::Prepend(), PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), 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(), 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(), SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SALOMEDSImpl_AttributeStudyProperties::SetUnits(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), SortByColumn(), SALOMEDSImpl_AttributeTableOfReal::SortByColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortByColumn(), SortByRow(), SALOMEDSImpl_AttributeTableOfReal::SortByRow(), SALOMEDSImpl_AttributeTableOfInteger::SortByRow(), SortColumn(), SALOMEDSImpl_AttributeTableOfReal::SortColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortColumn(), SortRow(), SALOMEDSImpl_AttributeTableOfReal::SortRow(), SALOMEDSImpl_AttributeTableOfInteger::SortRow(), SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), SALOMEDSImpl_AttributeTableOfInteger::SwapCells(), SwapColumns(), SALOMEDSImpl_AttributeTableOfReal::SwapColumns(), SALOMEDSImpl_AttributeTableOfInteger::SwapColumns(), SwapRows(), SALOMEDSImpl_AttributeTableOfReal::SwapRows(), and SALOMEDSImpl_AttributeTableOfInteger::SwapRows().
|
inherited |
References DF_Attribute::_node, DF_Label::FindAttribute(), and DF_Attribute::Label().
Referenced by SALOMEDSImpl_UseCaseBuilder::AddUseCase(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::GetCurrentObject(), SALOMEDSImpl_Study::GetModuleParameters(), SALOMEDSImpl_UseCaseBuilder::GetName(), SALOMEDSImpl_UseCaseBuilder::Remove(), SALOMEDSImpl_UseCaseBuilder::SALOMEDSImpl_UseCaseBuilder(), SALOMEDSImpl_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_UseCaseBuilder::SetName(), and SALOMEDSImpl_UseCaseBuilder::SetRootCurrent().
|
inherited |
std::vector< std::string > SALOMEDSImpl_AttributeTableOfString::GetColumnData | ( | const int | theColumn | ) |
References myNbColumns, myNbRows, and myTable.
Referenced by SALOMEDS_AttributeTableOfString_i::GetColumn().
std::string SALOMEDSImpl_AttributeTableOfString::GetColumnTitle | ( | const int | theColumn | ) | const |
References myCols.
Referenced by SALOMEDS_AttributeTableOfString_i::GetColumnTitle(), SALOMEDS_AttributeTableOfString_i::GetColumnTitles(), Paste(), and Restore().
std::vector< std::string > SALOMEDSImpl_AttributeTableOfString::GetColumnTitles | ( | ) |
References myCols.
|
static |
int SALOMEDSImpl_AttributeTableOfString::GetNbColumns | ( | ) | const |
References myNbColumns.
Referenced by SALOMEDS_AttributeTableOfString::AddColumn(), SALOMEDS_AttributeTableOfString_i::AddColumn(), SALOMEDS_AttributeTableOfString_i::GetColumn(), SALOMEDS_AttributeTableOfString_i::GetColumnTitle(), SALOMEDS_AttributeTableOfString_i::GetColumnTitles(), Paste(), SALOMEDS_AttributeTableOfString_i::RemoveValue(), Restore(), SALOMEDS_AttributeTableOfString_i::SetColumnTitle(), SALOMEDS_AttributeTableOfString_i::SetColumnTitles(), SALOMEDS_AttributeTableOfString_i::SortByColumn(), SALOMEDS_AttributeTableOfString_i::SortColumn(), SALOMEDS_AttributeTableOfString_i::SwapCells(), and SALOMEDS_AttributeTableOfString_i::SwapColumns().
int SALOMEDSImpl_AttributeTableOfString::GetNbRows | ( | ) | const |
References myNbRows.
Referenced by SALOMEDS_AttributeTableOfString::AddRow(), SALOMEDS_AttributeTableOfString_i::AddRow(), SALOMEDS_AttributeTableOfString_i::GetRow(), SALOMEDS_AttributeTableOfString_i::GetRowSetIndices(), SALOMEDS_AttributeTableOfString_i::GetRowTitle(), SALOMEDS_AttributeTableOfString_i::GetRowTitles(), SALOMEDS_AttributeTableOfString_i::GetRowUnit(), SALOMEDS_AttributeTableOfString_i::GetRowUnits(), SALOMEDS_AttributeTableOfString_i::GetValue(), Paste(), SALOMEDS_AttributeTableOfString_i::RemoveValue(), Restore(), SALOMEDS_AttributeTableOfString_i::SetRowTitle(), SALOMEDS_AttributeTableOfString_i::SetRowTitles(), SetRowTitles(), SALOMEDS_AttributeTableOfString_i::SetRowUnit(), SetRowUnits(), SALOMEDS_AttributeTableOfString_i::SetRowUnits(), SALOMEDS_AttributeTableOfString_i::SortByRow(), SALOMEDS_AttributeTableOfString_i::SortRow(), SALOMEDS_AttributeTableOfString_i::SwapCells(), and SALOMEDS_AttributeTableOfString_i::SwapRows().
std::vector< std::string > SALOMEDSImpl_AttributeTableOfString::GetRowData | ( | const int | theRow | ) |
References myNbColumns, and myTable.
Referenced by SALOMEDS_AttributeTableOfString_i::GetRow().
std::string SALOMEDSImpl_AttributeTableOfString::GetRowTitle | ( | const int | theRow | ) | const |
References getTitle(), and myRows.
Referenced by SALOMEDS_AttributeTableOfString_i::GetRowTitle(), SALOMEDS_AttributeTableOfString_i::GetRowTitles(), Paste(), Restore(), and SetRowUnit().
std::vector< std::string > SALOMEDSImpl_AttributeTableOfString::GetRowTitles | ( | ) |
References getTitle(), and myRows.
std::string SALOMEDSImpl_AttributeTableOfString::GetRowUnit | ( | const int | theRow | ) | const |
References getUnit(), and myRows.
Referenced by SALOMEDS_AttributeTableOfString_i::GetRowUnit(), SALOMEDS_AttributeTableOfString_i::GetRowUnits(), and SetRowTitle().
std::vector< std::string > SALOMEDSImpl_AttributeTableOfString::GetRowUnits | ( | ) |
std::vector< int > SALOMEDSImpl_AttributeTableOfString::GetSetColumnIndices | ( | const int | theColumn | ) |
References myNbColumns, myNbRows, and myTable.
std::vector< int > SALOMEDSImpl_AttributeTableOfString::GetSetRowIndices | ( | const int | theRow | ) |
References myNbColumns, and myTable.
Referenced by SALOMEDS_AttributeTableOfString_i::GetRowSetIndices().
|
inherited |
std::string SALOMEDSImpl_AttributeTableOfString::GetTitle | ( | ) | const |
References myTitle.
Referenced by SALOMEDS_AttributeTableOfString_i::GetTitle().
std::string SALOMEDSImpl_AttributeTableOfString::GetValue | ( | const int | theRow, |
const int | theColumn | ||
) |
References myNbColumns, myNbRows, and myTable.
Referenced by SALOMEDS_AttributeTableOfString_i::GetValue().
bool SALOMEDSImpl_AttributeTableOfString::HasValue | ( | const int | theRow, |
const int | theColumn | ||
) |
References myNbColumns, myNbRows, and myTable.
Referenced by SortByColumn(), SortByRow(), SortColumn(), and SortRow().
|
virtual |
Implements DF_Attribute.
References GetID().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::CheckLocked().
Referenced by SALOMEDS_GenericAttribute_i::CheckLocked().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::GetClassType().
Referenced by SALOMEDS_GenericAttribute_i::GetClassType().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::Type().
Referenced by SALOMEDSImpl_StudyManager::CopyLabel(), SaveAttributes(), and SALOMEDS_GenericAttribute_i::Type().
|
inherited |
References DF_Attribute::_node, and DF_Attribute::DF_Label.
Referenced by SALOMEDS_AttributeTarget_i::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_GenericAttribute::CheckLocked(), DF_Attribute::FindAttribute(), SALOMEDSImpl_UseCaseBuilder::GetCurrentObject(), SALOMEDSImpl_AttributeParameter::GetFather(), GetNode(), SALOMEDSImpl_GenericAttribute::GetSObject(), SALOMEDS_GenericAttribute_i::GetSObject(), SALOMEDSImpl_UseCaseBuilder::GetSObject(), SALOMEDSImpl_UseCaseBuilder::HasChildren(), SALOMEDSImpl_AttributeParameter::HasFather(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_Study::IORUpdated(), SALOMEDSImpl_UseCaseBuilder::IsUseCaseNode(), SALOMEDS_AttributeTreeNode::Label(), SALOMEDS_AttributeTreeNode_i::Label(), SALOMEDSImpl_AttributeReference::Load(), SALOMEDSImpl_AttributeTreeNode::Load(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDS_AttributeTarget_i::Remove(), SALOMEDSImpl_UseCaseBuilder::Remove(), SALOMEDSImpl_UseCaseBuilder::SALOMEDSImpl_UseCaseBuilder(), SALOMEDSImpl_AttributeTreeNode::Save(), SALOMEDSImpl_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_GenericAttribute::SetModifyFlag(), SALOMEDSImpl_UseCaseBuilder::SetName(), SALOMEDSImpl_UseCaseBuilder::SetRootCurrent(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_UseCaseBuilder::SortChildren(), Translate_persistentID_to_IOR(), SALOMEDSImpl_UseCaseIterator::Value(), and SALOMEDSImpl_AttributeIOR::~SALOMEDSImpl_AttributeIOR().
|
virtual |
Reimplemented from DF_Attribute.
References DF_Attribute::Backup(), myCols, myNbColumns, myNbRows, myRows, myTable, and myTitle.
Referenced by SALOMEDS_AttributeTableOfString_i::ReadFromFile().
|
virtual |
Implements DF_Attribute.
References SALOMEDSImpl_AttributeTableOfString().
|
virtual |
Implements DF_Attribute.
References GetColumnTitle(), GetNbColumns(), GetNbRows(), GetRowTitle(), myCols, myNbColumns, myNbRows, myRows, myTable, and myTitle.
void SALOMEDSImpl_AttributeTableOfString::PutValue | ( | const std::string & | theValue, |
const int | theRow, | ||
const int | theColumn | ||
) |
void SALOMEDSImpl_AttributeTableOfString::RemoveValue | ( | const int | theRow, |
const int | theColumn | ||
) |
|
virtual |
Implements DF_Attribute.
References GetColumnTitle(), GetNbColumns(), GetNbRows(), GetRowTitle(), myCols, myNbColumns, myNbRows, myRows, myTable, and myTitle.
|
virtual |
Reimplemented from DF_Attribute.
References myCols, myNbColumns, myNbRows, myRows, myTable, and myTitle.
Referenced by SALOMEDS_AttributeTableOfString_i::SaveToFile().
|
static |
void SALOMEDSImpl_AttributeTableOfString::SetColumnData | ( | const int | theColumn, |
const std::vector< std::string > & | theData | ||
) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), myNbColumns, myNbRows, myRows, myTable, SALOMEDSImpl_GenericAttribute::SetModifyFlag(), and SetNbColumns().
Referenced by SALOMEDS_AttributeTableOfString::AddColumn(), SALOMEDS_AttributeTableOfString_i::AddColumn(), SALOMEDS_AttributeTableOfString::SetColumn(), and SALOMEDS_AttributeTableOfString_i::SetColumn().
void SALOMEDSImpl_AttributeTableOfString::SetColumnTitle | ( | const int | theColumn, |
const std::string & | theTitle | ||
) |
void SALOMEDSImpl_AttributeTableOfString::SetColumnTitles | ( | const std::vector< std::string > & | theTitles | ) |
References myCols, myNbColumns, and SALOMEDSImpl_GenericAttribute::SetModifyFlag().
|
inherited |
Set modification flag of the Attribute.
param reason reason of the modification (by default equal to 0)
References SALOMEDSImpl_GenericAttribute::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(), PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeParameter::RemoveID(), RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), 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(), 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(), SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SetRowTitles(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitles(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitles(), 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(), 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(), SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), and SALOMEDSImpl_AttributeTableOfInteger::SwapCells().
void SALOMEDSImpl_AttributeTableOfString::SetNbColumns | ( | const int | theNbColumns | ) |
void SALOMEDSImpl_AttributeTableOfString::SetRowData | ( | const int | theRow, |
const std::vector< std::string > & | theData | ||
) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), myNbColumns, myNbRows, myRows, myTable, SALOMEDSImpl_GenericAttribute::SetModifyFlag(), and SetNbColumns().
Referenced by SALOMEDS_AttributeTableOfString::AddRow(), SALOMEDS_AttributeTableOfString_i::AddRow(), SALOMEDS_AttributeTableOfString::SetRow(), and SALOMEDS_AttributeTableOfString_i::SetRow().
void SALOMEDSImpl_AttributeTableOfString::SetRowTitle | ( | const int | theRow, |
const std::string & | theTitle | ||
) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), GetRowUnit(), myRows, SEPARATOR, and SALOMEDSImpl_GenericAttribute::SetModifyFlag().
Referenced by SALOMEDS_AttributeTableOfString_i::SetRowTitle(), SALOMEDS_AttributeTableOfString_i::SetRowTitles(), and SetRowTitles().
void SALOMEDSImpl_AttributeTableOfString::SetRowTitles | ( | const std::vector< std::string > & | theTitles | ) |
References GetNbRows(), SALOMEDSImpl_GenericAttribute::SetModifyFlag(), and SetRowTitle().
void SALOMEDSImpl_AttributeTableOfString::SetRowUnit | ( | const int | theRow, |
const std::string & | theUnit | ||
) |
void SALOMEDSImpl_AttributeTableOfString::SetRowUnits | ( | const std::vector< std::string > & | theUnits | ) |
References GetNbRows(), and SetRowUnit().
void SALOMEDSImpl_AttributeTableOfString::SetTitle | ( | const std::string & | theTitle | ) |
std::vector< int > SALOMEDSImpl_AttributeTableOfString::SortByColumn | ( | const int | theColumn, |
SortOrder | sortOrder, | ||
SortPolicy | sortPolicy | ||
) |
std::vector< int > SALOMEDSImpl_AttributeTableOfString::SortByRow | ( | const int | theRow, |
SortOrder | sortOrder, | ||
SortPolicy | sortPolicy | ||
) |
std::vector< int > SALOMEDSImpl_AttributeTableOfString::SortColumn | ( | const int | theColumn, |
SortOrder | sortOrder, | ||
SortPolicy | sortPolicy | ||
) |
std::vector< int > SALOMEDSImpl_AttributeTableOfString::SortRow | ( | const int | theRow, |
SortOrder | sortOrder, | ||
SortPolicy | sortPolicy | ||
) |
References SALOMEDSImpl_GenericAttribute::CheckLocked(), SALOMEDSImpl_AttributeTable::EmptyIgnore, HasValue(), myNbColumns, myNbRows, and SwapCells().
Referenced by SALOMEDS_AttributeTableOfString_i::SortRow().
void SALOMEDSImpl_AttributeTableOfString::SwapCells | ( | const int | theRow1, |
const int | theColumn1, | ||
const int | theRow2, | ||
const int | theColumn2 | ||
) |
References SALOMEDSImpl_GenericAttribute::CheckLocked(), myNbColumns, myNbRows, myTable, and SALOMEDSImpl_GenericAttribute::SetModifyFlag().
Referenced by SortColumn(), SortRow(), SALOMEDS_AttributeTableOfString_i::SwapCells(), SwapColumns(), and SwapRows().
void SALOMEDSImpl_AttributeTableOfString::SwapColumns | ( | const int | theColumn1, |
const int | theColumn2 | ||
) |
References SALOMEDSImpl_GenericAttribute::CheckLocked(), myCols, myNbRows, and SwapCells().
Referenced by SortByRow(), and SALOMEDS_AttributeTableOfString_i::SwapColumns().
void SALOMEDSImpl_AttributeTableOfString::SwapRows | ( | const int | theRow1, |
const int | theRow2 | ||
) |
References SALOMEDSImpl_GenericAttribute::CheckLocked(), myNbColumns, myRows, and SwapCells().
Referenced by SortByColumn(), and SALOMEDS_AttributeTableOfString_i::SwapRows().
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode, and SALOMEDSImpl_AttributeUserID.
References SALOMEDSImpl_GenericAttribute::_type.
Referenced by SALOMEDSImpl_SObject::GetAllAttributes(), SALOMEDSImpl_GenericAttribute::Impl_GetType(), main(), and SALOMEDS_GenericAttribute::Type().
|
protectedinherited |
|
protectedinherited |
Referenced by SALOMEDSImpl_GenericAttribute::Type().
|
private |
Referenced by GetColumnTitle(), GetColumnTitles(), Load(), Paste(), Restore(), Save(), SetColumnTitle(), SetColumnTitles(), SetNbColumns(), and SwapColumns().
|
private |
Referenced by GetColumnData(), GetNbColumns(), GetRowData(), GetSetColumnIndices(), GetSetRowIndices(), GetValue(), HasValue(), Load(), Paste(), PutValue(), RemoveValue(), Restore(), SALOMEDSImpl_AttributeTableOfString(), Save(), SetColumnData(), SetColumnTitles(), SetNbColumns(), SetRowData(), SortByColumn(), SortByRow(), SortColumn(), SortRow(), SwapCells(), and SwapRows().
|
private |
Referenced by GetColumnData(), GetNbRows(), GetSetColumnIndices(), GetValue(), HasValue(), Load(), Paste(), PutValue(), RemoveValue(), Restore(), SALOMEDSImpl_AttributeTableOfString(), Save(), SetColumnData(), SetRowData(), SortByColumn(), SortByRow(), SortColumn(), SortRow(), SwapCells(), and SwapColumns().
|
private |
Referenced by GetRowTitle(), GetRowTitles(), GetRowUnit(), GetRowUnits(), Load(), Paste(), PutValue(), Restore(), Save(), SetColumnData(), SetRowData(), SetRowTitle(), SetRowUnit(), and SwapRows().
|
private |
Referenced by GetColumnData(), GetRowData(), GetSetColumnIndices(), GetSetRowIndices(), GetValue(), HasValue(), Load(), Paste(), PutValue(), RemoveValue(), Restore(), Save(), SetColumnData(), SetNbColumns(), SetRowData(), and SwapCells().
|
private |
Referenced by GetTitle(), Load(), Paste(), Restore(), Save(), and SetTitle().