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::LevelledListRefIdAdapter< RecordT > Class Template Reference

#include <refidadapterimp.hpp>

Inheritance diagram for CSMWorld::LevelledListRefIdAdapter< RecordT >:
Collaboration diagram for CSMWorld::LevelledListRefIdAdapter< RecordT >:

Public Member Functions

 LevelledListRefIdAdapter (UniversalId::Type type, const LevListColumns &columns)
 
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::BaseRefIdAdapter< RecordT >
 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

LevListColumns mLevList
 

Constructor & Destructor Documentation

template<typename RecordT >
CSMWorld::LevelledListRefIdAdapter< RecordT >::LevelledListRefIdAdapter ( UniversalId::Type  type,
const LevListColumns columns 
)

Member Function Documentation

template<typename RecordT >
QVariant CSMWorld::LevelledListRefIdAdapter< RecordT >::getData ( const RefIdColumn column,
const RefIdData data,
int  idnex 
) const
virtual

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

Reimplemented from CSMWorld::BaseRefIdAdapter< RecordT >.

Here is the call graph for this function:

template<typename RecordT >
void CSMWorld::LevelledListRefIdAdapter< RecordT >::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::BaseRefIdAdapter< RecordT >.

Here is the call graph for this function:

Member Data Documentation

template<typename RecordT >
LevListColumns CSMWorld::LevelledListRefIdAdapter< RecordT >::mLevList
private

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