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

Adapter for enchantable IDs. More...

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

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

EnchantableColumns mEnchantable

Detailed Description

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

Adapter for enchantable IDs.


Constructor & Destructor Documentation

template<typename RecordT >
CSMWorld::EnchantableRefIdAdapter< RecordT >::EnchantableRefIdAdapter ( UniversalId::Type  type,
const EnchantableColumns columns 
)

Member Function Documentation

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

Reimplemented in CSMWorld::WeaponRefIdAdapter, CSMWorld::ClothingRefIdAdapter, CSMWorld::BookRefIdAdapter, and CSMWorld::ArmorRefIdAdapter.


Member Data Documentation

template<typename RecordT>
EnchantableColumns CSMWorld::EnchantableRefIdAdapter< RecordT >::mEnchantable [private]

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