OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
ContainerRefIdAdapter (const NameColumns &columns, const RefIdColumn *weight, const RefIdColumn *organic, const RefIdColumn *respawn) | |
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 * | mWeight |
const RefIdColumn * | mOrganic |
const RefIdColumn * | mRespawn |
CSMWorld::ContainerRefIdAdapter::ContainerRefIdAdapter | ( | const NameColumns & | columns, |
const RefIdColumn * | weight, | ||
const RefIdColumn * | organic, | ||
const RefIdColumn * | respawn | ||
) |
QVariant CSMWorld::ContainerRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::NameRefIdAdapter< ESM::Container >.
void CSMWorld::ContainerRefIdAdapter::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::NameRefIdAdapter< ESM::Container >.
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mOrganic [private] |
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mRespawn [private] |
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mWeight [private] |