OpenMW
Public Member Functions | Private Member Functions
CSMWorld::RefIdAdapter Class Reference

#include <refidadapter.hpp>

List of all members.

Public Member Functions

 RefIdAdapter ()
virtual ~RefIdAdapter ()
virtual QVariant getData (const RefIdColumn *column, const RefIdData &data, int idnex) const =0
virtual void setData (const RefIdColumn *column, RefIdData &data, int index, const QVariant &value) const =0
 If the data type does not match an exception is thrown.
virtual std::string getId (const RecordBase &record) const =0

Private Member Functions

 RefIdAdapter (const RefIdAdapter &)
RefIdAdapteroperator= (const RefIdAdapter &)

Constructor & Destructor Documentation


Member Function Documentation

virtual QVariant CSMWorld::RefIdAdapter::getData ( const RefIdColumn column,
const RefIdData data,
int  idnex 
) const [pure virtual]

Implemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::NpcRefIdAdapter, CSMWorld::MiscRefIdAdapter, CSMWorld::LightRefIdAdapter, CSMWorld::DoorRefIdAdapter, CSMWorld::CreatureRefIdAdapter, CSMWorld::ContainerRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, CSMWorld::ArmorRefIdAdapter, CSMWorld::ApparatusRefIdAdapter, CSMWorld::ActorRefIdAdapter< RecordT >, CSMWorld::ActorRefIdAdapter< ESM::Creature >, CSMWorld::ActorRefIdAdapter< ESM::NPC >, CSMWorld::ToolRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< ESM::Clothing >, CSMWorld::EnchantableRefIdAdapter< ESM::Weapon >, CSMWorld::EnchantableRefIdAdapter< ESM::Armor >, CSMWorld::EnchantableRefIdAdapter< ESM::Book >, CSMWorld::PotionRefIdAdapter, CSMWorld::InventoryRefIdAdapter< RecordT >, CSMWorld::InventoryRefIdAdapter< ESM::Clothing >, CSMWorld::InventoryRefIdAdapter< ESM::Apparatus >, CSMWorld::InventoryRefIdAdapter< ESM::Weapon >, CSMWorld::InventoryRefIdAdapter< ESM::Armor >, CSMWorld::InventoryRefIdAdapter< ESM::Book >, CSMWorld::InventoryRefIdAdapter< ESM::Miscellaneous >, CSMWorld::InventoryRefIdAdapter< ESM::Light >, CSMWorld::InventoryRefIdAdapter< ESM::Potion >, CSMWorld::NameRefIdAdapter< RecordT >, CSMWorld::NameRefIdAdapter< ESM::Clothing >, CSMWorld::NameRefIdAdapter< ESM::Apparatus >, CSMWorld::NameRefIdAdapter< ESM::Weapon >, CSMWorld::NameRefIdAdapter< ESM::Armor >, CSMWorld::NameRefIdAdapter< ESM::Book >, CSMWorld::NameRefIdAdapter< ESM::Container >, CSMWorld::NameRefIdAdapter< ESM::Door >, CSMWorld::NameRefIdAdapter< ESM::Miscellaneous >, CSMWorld::NameRefIdAdapter< ESM::Creature >, CSMWorld::NameRefIdAdapter< ESM::Light >, CSMWorld::NameRefIdAdapter< ESM::Potion >, CSMWorld::NameRefIdAdapter< ESM::NPC >, CSMWorld::ModelRefIdAdapter< RecordT >, CSMWorld::ModelRefIdAdapter< ESM::Clothing >, CSMWorld::ModelRefIdAdapter< ESM::Apparatus >, CSMWorld::ModelRefIdAdapter< ESM::Weapon >, CSMWorld::ModelRefIdAdapter< ESM::Armor >, CSMWorld::ModelRefIdAdapter< ESM::Book >, CSMWorld::ModelRefIdAdapter< ESM::Container >, CSMWorld::ModelRefIdAdapter< ESM::Door >, CSMWorld::ModelRefIdAdapter< ESM::Miscellaneous >, CSMWorld::ModelRefIdAdapter< ESM::Creature >, CSMWorld::ModelRefIdAdapter< ESM::Light >, CSMWorld::ModelRefIdAdapter< ESM::Potion >, CSMWorld::ModelRefIdAdapter< ESM::NPC >, CSMWorld::BaseRefIdAdapter< RecordT >, CSMWorld::BaseRefIdAdapter< ESM::Clothing >, CSMWorld::BaseRefIdAdapter< ESM::Apparatus >, CSMWorld::BaseRefIdAdapter< ESM::Weapon >, CSMWorld::BaseRefIdAdapter< ESM::Armor >, CSMWorld::BaseRefIdAdapter< ESM::Book >, CSMWorld::BaseRefIdAdapter< ESM::Container >, CSMWorld::BaseRefIdAdapter< ESM::Door >, CSMWorld::BaseRefIdAdapter< ESM::Miscellaneous >, CSMWorld::BaseRefIdAdapter< ESM::Creature >, CSMWorld::BaseRefIdAdapter< ESM::Light >, CSMWorld::BaseRefIdAdapter< ESM::Potion >, and CSMWorld::BaseRefIdAdapter< ESM::NPC >.

virtual std::string CSMWorld::RefIdAdapter::getId ( const RecordBase record) const [pure virtual]
RefIdAdapter& CSMWorld::RefIdAdapter::operator= ( const RefIdAdapter ) [private]
virtual void CSMWorld::RefIdAdapter::setData ( const RefIdColumn column,
RefIdData data,
int  index,
const QVariant &  value 
) const [pure virtual]

If the data type does not match an exception is thrown.

Implemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::NpcRefIdAdapter, CSMWorld::MiscRefIdAdapter, CSMWorld::LightRefIdAdapter, CSMWorld::DoorRefIdAdapter, CSMWorld::CreatureRefIdAdapter, CSMWorld::ContainerRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, CSMWorld::ArmorRefIdAdapter, CSMWorld::ApparatusRefIdAdapter, CSMWorld::ActorRefIdAdapter< RecordT >, CSMWorld::ActorRefIdAdapter< ESM::Creature >, CSMWorld::ActorRefIdAdapter< ESM::NPC >, CSMWorld::ToolRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< ESM::Clothing >, CSMWorld::EnchantableRefIdAdapter< ESM::Weapon >, CSMWorld::EnchantableRefIdAdapter< ESM::Armor >, CSMWorld::EnchantableRefIdAdapter< ESM::Book >, CSMWorld::PotionRefIdAdapter, CSMWorld::InventoryRefIdAdapter< RecordT >, CSMWorld::InventoryRefIdAdapter< ESM::Clothing >, CSMWorld::InventoryRefIdAdapter< ESM::Apparatus >, CSMWorld::InventoryRefIdAdapter< ESM::Weapon >, CSMWorld::InventoryRefIdAdapter< ESM::Armor >, CSMWorld::InventoryRefIdAdapter< ESM::Book >, CSMWorld::InventoryRefIdAdapter< ESM::Miscellaneous >, CSMWorld::InventoryRefIdAdapter< ESM::Light >, CSMWorld::InventoryRefIdAdapter< ESM::Potion >, CSMWorld::NameRefIdAdapter< RecordT >, CSMWorld::NameRefIdAdapter< ESM::Clothing >, CSMWorld::NameRefIdAdapter< ESM::Apparatus >, CSMWorld::NameRefIdAdapter< ESM::Weapon >, CSMWorld::NameRefIdAdapter< ESM::Armor >, CSMWorld::NameRefIdAdapter< ESM::Book >, CSMWorld::NameRefIdAdapter< ESM::Container >, CSMWorld::NameRefIdAdapter< ESM::Door >, CSMWorld::NameRefIdAdapter< ESM::Miscellaneous >, CSMWorld::NameRefIdAdapter< ESM::Creature >, CSMWorld::NameRefIdAdapter< ESM::Light >, CSMWorld::NameRefIdAdapter< ESM::Potion >, CSMWorld::NameRefIdAdapter< ESM::NPC >, CSMWorld::ModelRefIdAdapter< RecordT >, CSMWorld::ModelRefIdAdapter< ESM::Clothing >, CSMWorld::ModelRefIdAdapter< ESM::Apparatus >, CSMWorld::ModelRefIdAdapter< ESM::Weapon >, CSMWorld::ModelRefIdAdapter< ESM::Armor >, CSMWorld::ModelRefIdAdapter< ESM::Book >, CSMWorld::ModelRefIdAdapter< ESM::Container >, CSMWorld::ModelRefIdAdapter< ESM::Door >, CSMWorld::ModelRefIdAdapter< ESM::Miscellaneous >, CSMWorld::ModelRefIdAdapter< ESM::Creature >, CSMWorld::ModelRefIdAdapter< ESM::Light >, CSMWorld::ModelRefIdAdapter< ESM::Potion >, CSMWorld::ModelRefIdAdapter< ESM::NPC >, CSMWorld::BaseRefIdAdapter< RecordT >, CSMWorld::BaseRefIdAdapter< ESM::Clothing >, CSMWorld::BaseRefIdAdapter< ESM::Apparatus >, CSMWorld::BaseRefIdAdapter< ESM::Weapon >, CSMWorld::BaseRefIdAdapter< ESM::Armor >, CSMWorld::BaseRefIdAdapter< ESM::Book >, CSMWorld::BaseRefIdAdapter< ESM::Container >, CSMWorld::BaseRefIdAdapter< ESM::Door >, CSMWorld::BaseRefIdAdapter< ESM::Miscellaneous >, CSMWorld::BaseRefIdAdapter< ESM::Creature >, CSMWorld::BaseRefIdAdapter< ESM::Light >, CSMWorld::BaseRefIdAdapter< ESM::Potion >, and CSMWorld::BaseRefIdAdapter< ESM::NPC >.


The documentation for this class was generated from the following files: