OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces
land.hpp File Reference
#include <string>
#include <components/esm/loadland.hpp>
Include dependency graph for land.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CSMWorld::Land
 Wrapper for Land record. Encodes X and Y cell index in the ID. More...
 

Namespaces

 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.