OpenMW
|
Adapter for actor IDs (handles common AI functionality) More...
#include <refidadapterimp.hpp>
Public Member Functions | |
ActorRefIdAdapter (UniversalId::Type type, const ActorColumns &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 | |
ActorColumns | mActors |
Adapter for actor IDs (handles common AI functionality)
CSMWorld::ActorRefIdAdapter< RecordT >::ActorRefIdAdapter | ( | UniversalId::Type | type, |
const ActorColumns & | columns | ||
) |
QVariant CSMWorld::ActorRefIdAdapter< RecordT >::getData | ( | const RefIdColumn * | column, |
const RefIdData & | data, | ||
int | index | ||
) | const [virtual] |
Reimplemented from CSMWorld::NameRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::NpcRefIdAdapter, and CSMWorld::CreatureRefIdAdapter.
void CSMWorld::ActorRefIdAdapter< RecordT >::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< RecordT >.
Reimplemented in CSMWorld::NpcRefIdAdapter, and CSMWorld::CreatureRefIdAdapter.
ActorColumns CSMWorld::ActorRefIdAdapter< RecordT >::mActors [private] |