OpenMW
Public Member Functions | Private Attributes
CSMDoc::WriteCollectionStage< CollectionT > Class Template Reference

#include <savingstages.hpp>

List of all members.

Public Member Functions

 WriteCollectionStage (const CollectionT &collection, SavingState &state)
virtual int setup ()
virtual void perform (int stage, std::vector< std::string > &messages)
 Messages resulting from this stage will be appended to messages.

Private Attributes

const CollectionT & mCollection
SavingStatemState

template<class CollectionT>
class CSMDoc::WriteCollectionStage< CollectionT >


Constructor & Destructor Documentation

template<class CollectionT>
CSMDoc::WriteCollectionStage< CollectionT >::WriteCollectionStage ( const CollectionT &  collection,
SavingState state 
)

Member Function Documentation

template<class CollectionT >
void CSMDoc::WriteCollectionStage< CollectionT >::perform ( int  stage,
std::vector< std::string > &  messages 
) [virtual]

Messages resulting from this stage will be appended to messages.

Todo:
make endianess agnostic (change ESMWriter interface?)
Todo:
write record with delete flag

Implements CSMDoc::Stage.

Reimplemented in CSMDoc::WriteFilterStage.

template<class CollectionT >
int CSMDoc::WriteCollectionStage< CollectionT >::setup ( ) [virtual]
Returns:
number of steps

Implements CSMDoc::Stage.


Member Data Documentation

template<class CollectionT>
const CollectionT& CSMDoc::WriteCollectionStage< CollectionT >::mCollection [private]
template<class CollectionT>
SavingState& CSMDoc::WriteCollectionStage< CollectionT >::mState [private]

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