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

Adapter for IDs with names (all but levelled lists and statics) More...

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

 NameRefIdAdapter (UniversalId::Type type, const NameColumns &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

NameColumns mName

Detailed Description

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

Adapter for IDs with names (all but levelled lists and statics)


Constructor & Destructor Documentation

template<typename RecordT >
CSMWorld::NameRefIdAdapter< RecordT >::NameRefIdAdapter ( UniversalId::Type  type,
const NameColumns columns 
)

Member Function Documentation

template<typename RecordT >
QVariant CSMWorld::NameRefIdAdapter< RecordT >::getData ( const RefIdColumn column,
const RefIdData data,
int  index 
) const [virtual]
template<typename RecordT >
void CSMWorld::NameRefIdAdapter< RecordT >::setData ( const RefIdColumn column,
RefIdData data,
int  index,
const QVariant &  value 
) const [virtual]

Member Data Documentation

template<typename RecordT>
NameColumns CSMWorld::NameRefIdAdapter< RecordT >::mName [private]

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