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 |
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. | |
Private Attributes | |
EnchantableColumns | mEnchantable |
Adapter for enchantable IDs.
CSMWorld::EnchantableRefIdAdapter< RecordT >::EnchantableRefIdAdapter | ( | UniversalId::Type | type, |
const EnchantableColumns & | columns | ||
) |
QVariant CSMWorld::EnchantableRefIdAdapter< RecordT >::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::InventoryRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, and CSMWorld::ArmorRefIdAdapter.
void CSMWorld::EnchantableRefIdAdapter< RecordT >::setData | ( | const RefIdColumn * | column, |
RefIdData & | data, | ||
int | index, | ||
const QVariant & | value | ||
) | const [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.
EnchantableColumns CSMWorld::EnchantableRefIdAdapter< RecordT >::mEnchantable [private] |