OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMWorld::ContainerRefIdAdapter Class Reference

#include <refidadapterimp.hpp>

Inheritance diagram for CSMWorld::ContainerRefIdAdapter:
Collaboration diagram for CSMWorld::ContainerRefIdAdapter:

Public Member Functions

 ContainerRefIdAdapter (const NameColumns &columns, const RefIdColumn *weight, const RefIdColumn *organic, const RefIdColumn *respawn, const RefIdColumn *content)
 
virtual QVariant getData (const RefIdColumn *column, const RefIdData &data, int index) const
 If called on the nest column, should return QVariant(true). More...
 
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. More...
 
- Public Member Functions inherited from CSMWorld::NameRefIdAdapter< ESM::Container >
 NameRefIdAdapter (UniversalId::Type type, const NameColumns &columns)
 
- Public Member Functions inherited from CSMWorld::ModelRefIdAdapter< ESM::Container >
 ModelRefIdAdapter (UniversalId::Type type, const ModelColumns &columns)
 
- Public Member Functions inherited from CSMWorld::BaseRefIdAdapter< ESM::Container >
 BaseRefIdAdapter (UniversalId::Type type, const BaseColumns &base)
 
virtual std::string getId (const RecordBase &record) const
 
virtual void setId (RecordBase &record, const std::string &id)
 
UniversalId::Type getType () const
 
- Public Member Functions inherited from CSMWorld::RefIdAdapter
 RefIdAdapter ()
 
virtual ~RefIdAdapter ()
 

Private Attributes

const RefIdColumnmWeight
 
const RefIdColumnmOrganic
 
const RefIdColumnmRespawn
 
const RefIdColumnmContent
 

Constructor & Destructor Documentation

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

Member Function Documentation

QVariant CSMWorld::ContainerRefIdAdapter::getData ( const RefIdColumn column,
const RefIdData data,
int  index 
) const
virtual

If called on the nest column, should return QVariant(true).

Reimplemented from CSMWorld::NameRefIdAdapter< ESM::Container >.

Here is the call graph for this function:

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 >.

Here is the call graph for this function:

Member Data Documentation

const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mContent
private
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mOrganic
private
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mRespawn
private
const RefIdColumn* CSMWorld::ContainerRefIdAdapter::mWeight
private

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