OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
BookRefIdAdapter (const EnchantableColumns &columns, const RefIdColumn *scroll, const RefIdColumn *skill) | |
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 * | mScroll |
const RefIdColumn * | mSkill |
CSMWorld::BookRefIdAdapter::BookRefIdAdapter | ( | const EnchantableColumns & | columns, |
const RefIdColumn * | scroll, | ||
const RefIdColumn * | skill | ||
) |
QVariant CSMWorld::BookRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::EnchantableRefIdAdapter< ESM::Book >.
void CSMWorld::BookRefIdAdapter::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::Book >.
const RefIdColumn* CSMWorld::BookRefIdAdapter::mScroll [private] |
const RefIdColumn* CSMWorld::BookRefIdAdapter::mSkill [private] |