OpenMW
|
Adapter for enchantable IDs. More...
#include <refidadapterimp.hpp>
Public Member Functions | |
EnchantableRefIdAdapter (UniversalId::Type type, const EnchantableColumns &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::InventoryRefIdAdapter< RecordT > | |
InventoryRefIdAdapter (UniversalId::Type type, const InventoryColumns &columns) | |
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 | |
EnchantableColumns | mEnchantable |
Adapter for enchantable IDs.
CSMWorld::EnchantableRefIdAdapter< RecordT >::EnchantableRefIdAdapter | ( | UniversalId::Type | type, |
const EnchantableColumns & | columns | ||
) |
|
virtual |
If called on the nest column, should return QVariant(true).
Reimplemented from CSMWorld::InventoryRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, and CSMWorld::ArmorRefIdAdapter.
|
virtual |
If the data type does not match an exception is thrown.
Reimplemented from CSMWorld::InventoryRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, and CSMWorld::ArmorRefIdAdapter.
|
private |