OpenMW
Public Member Functions | Private Attributes
CSMWorld::BookRefIdAdapter Class Reference

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

 BookRefIdAdapter (const EnchantableColumns &columns, const RefIdColumn *scroll, const RefIdColumn *skill)
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

const RefIdColumnmScroll
const RefIdColumnmSkill

Constructor & Destructor Documentation

CSMWorld::BookRefIdAdapter::BookRefIdAdapter ( const EnchantableColumns columns,
const RefIdColumn scroll,
const RefIdColumn skill 
)

Member Function Documentation

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


Member Data Documentation


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