OpenMW
Public Member Functions | Private Attributes
CSMWorld::ActorRefIdAdapter< RecordT > Class Template Reference

Adapter for actor IDs (handles common AI functionality) More...

#include <refidadapterimp.hpp>

List of all members.

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

Detailed Description

template<typename RecordT>
class CSMWorld::ActorRefIdAdapter< RecordT >

Adapter for actor IDs (handles common AI functionality)


Constructor & Destructor Documentation

template<typename RecordT >
CSMWorld::ActorRefIdAdapter< RecordT >::ActorRefIdAdapter ( UniversalId::Type  type,
const ActorColumns columns 
)

Member Function Documentation

template<typename RecordT >
QVariant CSMWorld::ActorRefIdAdapter< RecordT >::getData ( const RefIdColumn column,
const RefIdData data,
int  index 
) const [virtual]
template<typename RecordT >
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.


Member Data Documentation

template<typename RecordT>
ActorColumns CSMWorld::ActorRefIdAdapter< RecordT >::mActors [private]

The documentation for this class was generated from the following file: