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::BookRefIdAdapter Class Reference

#include <refidadapterimp.hpp>

Inheritance diagram for CSMWorld::BookRefIdAdapter:
Collaboration diagram for CSMWorld::BookRefIdAdapter:

Public Member Functions

 BookRefIdAdapter (const EnchantableColumns &columns, const RefIdColumn *scroll, const RefIdColumn *skill, const RefIdColumn *text)
 
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::EnchantableRefIdAdapter< ESM::Book >
 EnchantableRefIdAdapter (UniversalId::Type type, const EnchantableColumns &columns)
 
- Public Member Functions inherited from CSMWorld::InventoryRefIdAdapter< ESM::Book >
 InventoryRefIdAdapter (UniversalId::Type type, const InventoryColumns &columns)
 
- Public Member Functions inherited from CSMWorld::NameRefIdAdapter< ESM::Book >
 NameRefIdAdapter (UniversalId::Type type, const NameColumns &columns)
 
- Public Member Functions inherited from CSMWorld::ModelRefIdAdapter< ESM::Book >
 ModelRefIdAdapter (UniversalId::Type type, const ModelColumns &columns)
 
- Public Member Functions inherited from CSMWorld::BaseRefIdAdapter< ESM::Book >
 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 RefIdColumnmScroll
 
const RefIdColumnmSkill
 
const RefIdColumnmText
 

Constructor & Destructor Documentation

CSMWorld::BookRefIdAdapter::BookRefIdAdapter ( const EnchantableColumns columns,
const RefIdColumn scroll,
const RefIdColumn skill,
const RefIdColumn text 
)

Member Function Documentation

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

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

Reimplemented from CSMWorld::EnchantableRefIdAdapter< ESM::Book >.

Here is the call graph for this function:

void CSMWorld::BookRefIdAdapter::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::Book >.

Here is the call graph for this function:

Member Data Documentation

const RefIdColumn* CSMWorld::BookRefIdAdapter::mScroll
private
const RefIdColumn* CSMWorld::BookRefIdAdapter::mSkill
private
const RefIdColumn* CSMWorld::BookRefIdAdapter::mText
private

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