OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
ArmorRefIdAdapter (const EnchantableColumns &columns, const RefIdColumn *type, const RefIdColumn *health, const RefIdColumn *armor) | |
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 | |
const RefIdColumn * | mType |
const RefIdColumn * | mHealth |
const RefIdColumn * | mArmor |
CSMWorld::ArmorRefIdAdapter::ArmorRefIdAdapter | ( | const EnchantableColumns & | columns, |
const RefIdColumn * | type, | ||
const RefIdColumn * | health, | ||
const RefIdColumn * | armor | ||
) |
QVariant CSMWorld::ArmorRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::EnchantableRefIdAdapter< ESM::Armor >.
void CSMWorld::ArmorRefIdAdapter::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::EnchantableRefIdAdapter< ESM::Armor >.
const RefIdColumn* CSMWorld::ArmorRefIdAdapter::mArmor [private] |
const RefIdColumn* CSMWorld::ArmorRefIdAdapter::mHealth [private] |
const RefIdColumn* CSMWorld::ArmorRefIdAdapter::mType [private] |
Reimplemented from CSMWorld::BaseRefIdAdapter< ESM::Armor >.