|
| int | load (ESM::ESMReader &reader, bool base) |
| |
| int | load (const ESXRecordT &record, bool base, int index=-2) |
| |
| bool | tryDelete (const std::string &id) |
| |
| | Collection () |
| |
| virtual | ~Collection () |
| |
| void | add (const ESXRecordT &record) |
| | Add a new record (modified) More...
|
| |
| virtual int | getSize () const |
| |
| virtual std::string | getId (int index) const |
| |
| virtual int | getIndex (const std::string &id) const |
| |
| virtual int | getColumns () const |
| |
| virtual QVariant | getData (int index, int column) const |
| |
| virtual void | setData (int index, int column, const QVariant &data) |
| |
| virtual const ColumnBase & | getColumn (int column) const |
| |
| virtual void | merge () |
| | Merge modified into base. More...
|
| |
| virtual void | purge () |
| | Remove records that are flagged as erased. More...
|
| |
| virtual void | removeRows (int index, int count) |
| | < Merge modified into base. More...
|
| |
| virtual void | appendBlankRecord (const std::string &id, UniversalId::Type type=UniversalId::Type_None) |
| |
| virtual void | cloneRecord (const std::string &origin, const std::string &destination, const UniversalId::Type type) |
| |
| virtual bool | touchRecord (const std::string &id) |
| |
| virtual int | searchId (const std::string &id) const |
| |
| virtual void | replace (int index, const RecordBase &record) |
| |
| virtual void | appendRecord (const RecordBase &record, UniversalId::Type type=UniversalId::Type_None) |
| |
virtual const Record
< ESXRecordT > & | getRecord (const std::string &id) const |
| |
virtual const Record
< ESXRecordT > & | getRecord (int index) const |
| |
| virtual int | getAppendIndex (const std::string &id, UniversalId::Type type=UniversalId::Type_None) const |
| |
| virtual std::vector< std::string > | getIds (bool listDeleted=true) const |
| |
| virtual void | insertRecord (const RecordBase &record, int index, UniversalId::Type type=UniversalId::Type_None) |
| |
| virtual bool | reorderRows (int baseIndex, const std::vector< int > &newOrder) |
| |
| void | addColumn (Column< ESXRecordT > *column) |
| |
| void | setRecord (int index, const Record< ESXRecordT > &record) |
| |
| NestableColumn * | getNestableColumn (int column) const |
| |
| template<> |
| void | cloneRecord (const std::string &origin, const std::string &destination, const UniversalId::Type type) |
| |
| template<> |
| bool | touchRecord (const std::string &id) |
| |
| | CollectionBase () |
| |
| virtual | ~CollectionBase () |
| |
| int | searchColumnIndex (Columns::ColumnId id) const |
| | Return index of column with the given id. If no such column exists, -1 is returned. More...
|
| |
| int | findColumnIndex (Columns::ColumnId id) const |
| |
template<typename ESXRecordT, typename IdAccessorT = IdAccessor<ESXRecordT>>
class CSMWorld::IdCollection< ESXRecordT, IdAccessorT >
Single type collection of top level records.