OpenMW
Public Member Functions | Public Attributes
CSMWorld::Record< ESXRecordT > Struct Template Reference

#include <record.hpp>

List of all members.

Public Member Functions

virtual RecordBaseclone () const
virtual void assign (const RecordBase &record)
 Will throw an exception if the types don't match.
const ESXRecordT & get () const
 Throws an exception, if the record is deleted.
ESXRecordT & get ()
 Throws an exception, if the record is deleted.
const ESXRecordT & getBase () const
 Throws an exception, if the record is deleted. Returns modified, if there is no base.
void setModified (const ESXRecordT &modified)
 Throws an exception, if the record is deleted.
void merge ()
 Merge modified into base.

Public Attributes

ESXRecordT mBase
ESXRecordT mModified

template<typename ESXRecordT>
struct CSMWorld::Record< ESXRecordT >


Member Function Documentation

template<typename ESXRecordT >
void CSMWorld::Record< ESXRecordT >::assign ( const RecordBase record) [virtual]

Will throw an exception if the types don't match.

Implements CSMWorld::RecordBase.

template<typename ESXRecordT >
RecordBase * CSMWorld::Record< ESXRecordT >::clone ( ) const [virtual]

Implements CSMWorld::RecordBase.

template<typename ESXRecordT >
const ESXRecordT & CSMWorld::Record< ESXRecordT >::get ( ) const

Throws an exception, if the record is deleted.

template<typename ESXRecordT >
ESXRecordT & CSMWorld::Record< ESXRecordT >::get ( )

Throws an exception, if the record is deleted.

template<typename ESXRecordT >
const ESXRecordT & CSMWorld::Record< ESXRecordT >::getBase ( ) const

Throws an exception, if the record is deleted. Returns modified, if there is no base.

template<typename ESXRecordT >
void CSMWorld::Record< ESXRecordT >::merge ( )

Merge modified into base.

template<typename ESXRecordT >
void CSMWorld::Record< ESXRecordT >::setModified ( const ESXRecordT &  modified)

Throws an exception, if the record is deleted.


Member Data Documentation

template<typename ESXRecordT>
ESXRecordT CSMWorld::Record< ESXRecordT >::mBase
template<typename ESXRecordT>
ESXRecordT CSMWorld::Record< ESXRecordT >::mModified

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