OpenMW
Public Member Functions | Public Attributes
CSMWorld::RefIdDataContainer< RecordT > Struct Template Reference

#include <refiddata.hpp>

List of all members.

Public Member Functions

virtual int getSize () const
virtual const RecordBasegetRecord (int index) const
virtual RecordBasegetRecord (int index)
virtual void appendRecord (const std::string &id)
virtual void load (int index, ESM::ESMReader &reader, bool base)
virtual void erase (int index, int count)
virtual std::string getId (int index) const
virtual void save (int index, ESM::ESMWriter &writer) const

Public Attributes

std::vector< Record< RecordT > > mContainer

template<typename RecordT>
struct CSMWorld::RefIdDataContainer< RecordT >


Member Function Documentation

template<typename RecordT >
void CSMWorld::RefIdDataContainer< RecordT >::appendRecord ( const std::string &  id) [virtual]
template<typename RecordT >
void CSMWorld::RefIdDataContainer< RecordT >::erase ( int  index,
int  count 
) [virtual]
template<typename RecordT >
std::string CSMWorld::RefIdDataContainer< RecordT >::getId ( int  index) const [virtual]
template<typename RecordT >
const RecordBase & CSMWorld::RefIdDataContainer< RecordT >::getRecord ( int  index) const [virtual]
template<typename RecordT >
RecordBase & CSMWorld::RefIdDataContainer< RecordT >::getRecord ( int  index) [virtual]
template<typename RecordT >
int CSMWorld::RefIdDataContainer< RecordT >::getSize ( ) const [virtual]
template<typename RecordT >
void CSMWorld::RefIdDataContainer< RecordT >::load ( int  index,
ESM::ESMReader reader,
bool  base 
) [virtual]
template<typename RecordT >
void CSMWorld::RefIdDataContainer< RecordT >::save ( int  index,
ESM::ESMWriter writer 
) const [virtual]
Todo:
make endianess agnostic (change ESMWriter interface?)
Todo:
write record with delete flag

Implements CSMWorld::RefIdDataContainerBase.


Member Data Documentation

template<typename RecordT>
std::vector<Record<RecordT> > CSMWorld::RefIdDataContainer< RecordT >::mContainer

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