OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
MiscRefIdAdapter (const InventoryColumns &columns, const RefIdColumn *key) | |
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 * | mKey |
CSMWorld::MiscRefIdAdapter::MiscRefIdAdapter | ( | const InventoryColumns & | columns, |
const RefIdColumn * | key | ||
) |
QVariant CSMWorld::MiscRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::InventoryRefIdAdapter< ESM::Miscellaneous >.
void CSMWorld::MiscRefIdAdapter::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< ESM::Miscellaneous >.
const RefIdColumn* CSMWorld::MiscRefIdAdapter::mKey [private] |