#include <nestedcollection.hpp>
|
| | NestedCollection () |
| |
| virtual | ~NestedCollection () |
| |
| virtual void | addNestedRow (int row, int col, int position)=0 |
| |
| virtual void | removeNestedRows (int row, int column, int subRow)=0 |
| |
| virtual QVariant | getNestedData (int row, int column, int subRow, int subColumn) const =0 |
| |
| virtual void | setNestedData (int row, int column, const QVariant &data, int subRow, int subColumn)=0 |
| |
| virtual NestedTableWrapperBase * | nestedTable (int row, int column) const =0 |
| |
| virtual void | setNestedTable (int row, int column, const NestedTableWrapperBase &nestedTable)=0 |
| |
| virtual int | getNestedRowsCount (int row, int column) const |
| |
| virtual int | getNestedColumnsCount (int row, int column) const |
| |
| virtual NestableColumn * | getNestableColumn (int column)=0 |
| |
| virtual int | searchNestedColumnIndex (int parentColumn, Columns::ColumnId id) |
| |
| virtual int | findNestedColumnIndex (int parentColumn, Columns::ColumnId id) |
| |
| CSMWorld::NestedCollection::NestedCollection |
( |
| ) |
|
| CSMWorld::NestedCollection::~NestedCollection |
( |
| ) |
|
|
virtual |
| virtual void CSMWorld::NestedCollection::addNestedRow |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
position |
|
) |
| |
|
pure virtual |
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
- Returns
- the column index or throws an exception if the requested column wasn't found.
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
| int CSMWorld::NestedCollection::getNestedColumnsCount |
( |
int |
row, |
|
|
int |
column |
|
) |
| const |
|
virtual |
Reimplemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
| virtual QVariant CSMWorld::NestedCollection::getNestedData |
( |
int |
row, |
|
|
int |
column, |
|
|
int |
subRow, |
|
|
int |
subColumn |
|
) |
| const |
|
pure virtual |
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
| int CSMWorld::NestedCollection::getNestedRowsCount |
( |
int |
row, |
|
|
int |
column |
|
) |
| const |
|
virtual |
Reimplemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
| virtual void CSMWorld::NestedCollection::removeNestedRows |
( |
int |
row, |
|
|
int |
column, |
|
|
int |
subRow |
|
) |
| |
|
pure virtual |
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
- Returns
- the column index or -1 if the requested column wasn't found.
| virtual void CSMWorld::NestedCollection::setNestedData |
( |
int |
row, |
|
|
int |
column, |
|
|
const QVariant & |
data, |
|
|
int |
subRow, |
|
|
int |
subColumn |
|
) |
| |
|
pure virtual |
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
Implemented in CSMWorld::RefIdCollection, CSMWorld::NestedIdCollection< ESXRecordT, IdAccessorT >, CSMWorld::NestedIdCollection< ESM::Enchantment >, CSMWorld::NestedIdCollection< ESM::Region >, CSMWorld::NestedIdCollection< CSMWorld::Cell >, CSMWorld::NestedIdCollection< ESM::Race >, CSMWorld::NestedIdCollection< ESM::BirthSign >, CSMWorld::NestedIdCollection< ESM::Faction >, CSMWorld::NestedIdCollection< ESM::Spell >, and CSMWorld::NestedInfoCollection.
The documentation for this class was generated from the following files: