OpenMW
|
Adapter for IDs that can go into an inventory. More...
#include <refidadapterimp.hpp>
Public Member Functions | |
InventoryRefIdAdapter (UniversalId::Type type, const InventoryColumns &columns) | |
virtual QVariant | getData (const RefIdColumn *column, const RefIdData &data, int index) const |
If called on the nest column, should return QVariant(true). More... | |
virtual void | setData (const RefIdColumn *column, RefIdData &data, int index, const QVariant &value) const |
If the data type does not match an exception is thrown. More... | |
Public Member Functions inherited from CSMWorld::NameRefIdAdapter< RecordT > | |
NameRefIdAdapter (UniversalId::Type type, const NameColumns &columns) | |
Public Member Functions inherited from CSMWorld::ModelRefIdAdapter< RecordT > | |
ModelRefIdAdapter (UniversalId::Type type, const ModelColumns &columns) | |
Public Member Functions inherited from CSMWorld::BaseRefIdAdapter< RecordT > | |
BaseRefIdAdapter (UniversalId::Type type, const BaseColumns &base) | |
virtual std::string | getId (const RecordBase &record) const |
virtual void | setId (RecordBase &record, const std::string &id) |
UniversalId::Type | getType () const |
Public Member Functions inherited from CSMWorld::RefIdAdapter | |
RefIdAdapter () | |
virtual | ~RefIdAdapter () |
Private Attributes | |
InventoryColumns | mInventory |
Adapter for IDs that can go into an inventory.
CSMWorld::InventoryRefIdAdapter< RecordT >::InventoryRefIdAdapter | ( | UniversalId::Type | type, |
const InventoryColumns & | columns | ||
) |
|
virtual |
If called on the nest column, should return QVariant(true).
Reimplemented from CSMWorld::NameRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::MiscRefIdAdapter, CSMWorld::LightRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, CSMWorld::ArmorRefIdAdapter, CSMWorld::ApparatusRefIdAdapter, CSMWorld::ToolRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< ESM::Clothing >, CSMWorld::EnchantableRefIdAdapter< ESM::Weapon >, CSMWorld::EnchantableRefIdAdapter< ESM::Armor >, CSMWorld::EnchantableRefIdAdapter< ESM::Book >, CSMWorld::IngredientRefIdAdapter, and CSMWorld::PotionRefIdAdapter.
|
virtual |
If the data type does not match an exception is thrown.
Reimplemented from CSMWorld::NameRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::MiscRefIdAdapter, CSMWorld::LightRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, CSMWorld::ArmorRefIdAdapter, CSMWorld::ApparatusRefIdAdapter, CSMWorld::ToolRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< RecordT >, CSMWorld::EnchantableRefIdAdapter< ESM::Clothing >, CSMWorld::EnchantableRefIdAdapter< ESM::Weapon >, CSMWorld::EnchantableRefIdAdapter< ESM::Armor >, CSMWorld::EnchantableRefIdAdapter< ESM::Book >, CSMWorld::IngredientRefIdAdapter, and CSMWorld::PotionRefIdAdapter.
|
private |