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

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

 ApparatusRefIdAdapter (const InventoryColumns &columns, const RefIdColumn *type, const RefIdColumn *quality)
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 RefIdColumnmQuality

Constructor & Destructor Documentation

CSMWorld::ApparatusRefIdAdapter::ApparatusRefIdAdapter ( const InventoryColumns columns,
const RefIdColumn type,
const RefIdColumn quality 
)

Member Function Documentation

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


Member Data Documentation


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