OpenMW
Public Member Functions
CSMWorld::IdCollection< ESXRecordT, IdAccessorT > Class Template Reference

Single type collection of top level records. More...

#include <idcollection.hpp>

List of all members.

Public Member Functions

void load (ESM::ESMReader &reader, bool base)
void load (const ESXRecordT &record, bool base)
bool tryDelete (const std::string &id)

Detailed Description

template<typename ESXRecordT, typename IdAccessorT = IdAccessor<ESXRecordT>>
class CSMWorld::IdCollection< ESXRecordT, IdAccessorT >

Single type collection of top level records.


Member Function Documentation

template<typename ESXRecordT , typename IdAccessorT >
void CSMWorld::IdCollection< ESXRecordT, IdAccessorT >::load ( ESM::ESMReader reader,
bool  base 
)
Todo:
report the problem to the user
template<typename ESXRecordT, typename IdAccessorT >
void CSMWorld::IdCollection< ESXRecordT, IdAccessorT >::load ( const ESXRecordT &  record,
bool  base 
)
template<typename ESXRecordT , typename IdAccessorT >
bool CSMWorld::IdCollection< ESXRecordT, IdAccessorT >::tryDelete ( const std::string &  id)

Try deleting id. If the id does not exist or can't be deleted the call is ignored.

Returns:
Has the ID been deleted?

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