OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces
refidadapterimp.hpp File Reference
#include <map>
#include <QVariant>
#include <components/esm/loadalch.hpp>
#include <components/esm/loadench.hpp>
#include <components/esm/loadappa.hpp>
#include <components/esm/loadnpc.hpp>
#include <components/esm/loadcrea.hpp>
#include "columnbase.hpp"
#include "record.hpp"
#include "refiddata.hpp"
#include "universalid.hpp"
#include "refidadapter.hpp"
#include "nestedtablewrapper.hpp"
Include dependency graph for refidadapterimp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CSMWorld::BaseColumns
 
class  CSMWorld::BaseRefIdAdapter< RecordT >
 Base adapter for all refereceable record types Adapters that can handle nested tables, needs to return valid qvariant for parent columns. More...
 
struct  CSMWorld::ModelColumns
 
class  CSMWorld::ModelRefIdAdapter< RecordT >
 Adapter for IDs with models (all but levelled lists) More...
 
struct  CSMWorld::NameColumns
 
class  CSMWorld::NameRefIdAdapter< RecordT >
 Adapter for IDs with names (all but levelled lists and statics) More...
 
struct  CSMWorld::InventoryColumns
 
class  CSMWorld::InventoryRefIdAdapter< RecordT >
 Adapter for IDs that can go into an inventory. More...
 
struct  CSMWorld::PotionColumns
 
class  CSMWorld::PotionRefIdAdapter
 
struct  CSMWorld::IngredientColumns
 
class  CSMWorld::IngredientRefIdAdapter
 
class  CSMWorld::IngredEffectRefIdAdapter
 
struct  CSMWorld::EnchantableColumns
 
class  CSMWorld::EnchantableRefIdAdapter< RecordT >
 Adapter for enchantable IDs. More...
 
struct  CSMWorld::ToolColumns
 
class  CSMWorld::ToolRefIdAdapter< RecordT >
 Adapter for tools with limited uses IDs (lockpick, repair, probes) More...
 
struct  CSMWorld::ActorColumns
 
class  CSMWorld::ActorRefIdAdapter< RecordT >
 Adapter for actor IDs (handles common AI functionality) More...
 
class  CSMWorld::ApparatusRefIdAdapter
 
class  CSMWorld::ArmorRefIdAdapter
 
class  CSMWorld::BookRefIdAdapter
 
class  CSMWorld::ClothingRefIdAdapter
 
class  CSMWorld::ContainerRefIdAdapter
 
struct  CSMWorld::CreatureColumns
 
class  CSMWorld::CreatureRefIdAdapter
 
class  CSMWorld::DoorRefIdAdapter
 
struct  CSMWorld::LightColumns
 
class  CSMWorld::LightRefIdAdapter
 
class  CSMWorld::MiscRefIdAdapter
 
struct  CSMWorld::NpcColumns
 
class  CSMWorld::NpcRefIdAdapter
 
struct  CSMWorld::WeaponColumns
 
class  CSMWorld::WeaponRefIdAdapter
 
class  CSMWorld::NpcAttributesRefIdAdapter
 
class  CSMWorld::NpcSkillsRefIdAdapter
 
class  CSMWorld::NpcMiscRefIdAdapter
 
class  CSMWorld::CreatureAttributesRefIdAdapter
 
class  CSMWorld::CreatureAttackRefIdAdapter
 
class  CSMWorld::CreatureMiscRefIdAdapter
 
class  CSMWorld::EffectsListAdapter< ESXRecordT >
 
class  CSMWorld::EffectsRefIdAdapter< ESXRecordT >
 
class  CSMWorld::NestedInventoryRefIdAdapter< ESXRecordT >
 
class  CSMWorld::NestedSpellRefIdAdapter< ESXRecordT >
 
class  CSMWorld::NestedTravelRefIdAdapter< ESXRecordT >
 
class  CSMWorld::ActorAiRefIdAdapter< ESXRecordT >
 
class  CSMWorld::BodyPartRefIdAdapter< ESXRecordT >
 
struct  CSMWorld::LevListColumns
 
class  CSMWorld::LevelledListRefIdAdapter< RecordT >
 
class  CSMWorld::NestedListLevListRefIdAdapter< ESXRecordT >
 
class  CSMWorld::NestedLevListRefIdAdapter< ESXRecordT >
 

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.