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