OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
WeaponRefIdAdapter (const WeaponColumns &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 | |
WeaponColumns | mColumns |
CSMWorld::WeaponRefIdAdapter::WeaponRefIdAdapter | ( | const WeaponColumns & | columns | ) |
QVariant CSMWorld::WeaponRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::EnchantableRefIdAdapter< ESM::Weapon >.
void CSMWorld::WeaponRefIdAdapter::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::Weapon >.