OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces
subcellcollection.hpp File Reference
#include "nestedidcollection.hpp"
Include dependency graph for subcellcollection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSMWorld::IdCollection< ESXRecordT, IdAccessorT >
 Single type collection of top level records. More...
 
class  CSMWorld::SubCellCollection< T, AT >
 Single type collection of top level records that are associated with cells. More...
 

Namespaces

 ESM
 ESM/ESP records.
 
 CSMWorld
 Class for holding the model. Uses typical qt table abstraction/interface for granting access to the individiual fields of the records, Some records are holding nested data (for instance inventory list of the npc). In cases like this, table model offers interface to access nested data in the qt way - that is specify parent. Since some of those nested data require multiple columns to represent information, single int (default way to index model in the qmodelindex) is not sufficiant. Therefore tablemodelindex class can hold two ints for the sake of indexing two dimensions of the table. This model does not support multiple levels of the nested data. Vast majority of methods makes sense only for the top level data.