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

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

 ArmorRefIdAdapter (const EnchantableColumns &columns, const RefIdColumn *type, const RefIdColumn *health, const RefIdColumn *armor)
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 RefIdColumnmType
const RefIdColumnmHealth
const RefIdColumnmArmor

Constructor & Destructor Documentation

CSMWorld::ArmorRefIdAdapter::ArmorRefIdAdapter ( const EnchantableColumns columns,
const RefIdColumn type,
const RefIdColumn health,
const RefIdColumn armor 
)

Member Function Documentation

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


Member Data Documentation


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