OpenMW
|
#include <refidadapterimp.hpp>
Public Member Functions | |
NpcRefIdAdapter (const NpcColumns &columns) | |
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 | |
NpcColumns | mColumns |
CSMWorld::NpcRefIdAdapter::NpcRefIdAdapter | ( | const NpcColumns & | columns | ) |
QVariant CSMWorld::NpcRefIdAdapter::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::ActorRefIdAdapter< ESM::NPC >.
void CSMWorld::NpcRefIdAdapter::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::ActorRefIdAdapter< ESM::NPC >.