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

#include <refidadapterimp.hpp>

List of all members.

Public Member Functions

 ContainerRefIdAdapter (const NameColumns &columns, const RefIdColumn *weight, const RefIdColumn *organic, const RefIdColumn *respawn)
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 RefIdColumnmWeight
const RefIdColumnmOrganic
const RefIdColumnmRespawn

Constructor & Destructor Documentation

CSMWorld::ContainerRefIdAdapter::ContainerRefIdAdapter ( const NameColumns columns,
const RefIdColumn weight,
const RefIdColumn organic,
const RefIdColumn respawn 
)

Member Function Documentation

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


Member Data Documentation


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