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 |
If called on the nest column, should return QVariant(true). More... | |
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. More... | |
Public Member Functions inherited from CSMWorld::NameRefIdAdapter< RecordT > | |
NameRefIdAdapter (UniversalId::Type type, const NameColumns &columns) | |
Public Member Functions inherited from CSMWorld::ModelRefIdAdapter< RecordT > | |
ModelRefIdAdapter (UniversalId::Type type, const ModelColumns &columns) | |
Public Member Functions inherited from CSMWorld::BaseRefIdAdapter< RecordT > | |
BaseRefIdAdapter (UniversalId::Type type, const BaseColumns &base) | |
virtual std::string | getId (const RecordBase &record) const |
virtual void | setId (RecordBase &record, const std::string &id) |
UniversalId::Type | getType () const |
Public Member Functions inherited from CSMWorld::RefIdAdapter | |
RefIdAdapter () | |
virtual | ~RefIdAdapter () |
Private Attributes | |
ActorColumns | mActors |
Adapter for actor IDs (handles common AI functionality)
CSMWorld::ActorRefIdAdapter< RecordT >::ActorRefIdAdapter | ( | UniversalId::Type | type, |
const ActorColumns & | columns | ||
) |
|
virtual |
If called on the nest column, should return QVariant(true).
Reimplemented from CSMWorld::NameRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::NpcRefIdAdapter, and CSMWorld::CreatureRefIdAdapter.
|
virtual |
If the data type does not match an exception is thrown.
Reimplemented from CSMWorld::NameRefIdAdapter< RecordT >.
Reimplemented in CSMWorld::NpcRefIdAdapter, and CSMWorld::CreatureRefIdAdapter.
|
private |