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