OpenMW
|
Verify stage: make sure that records with specific IDs exist. More...
#include <mandatoryid.hpp>
Public Member Functions | |
MandatoryIdStage (const CSMWorld::CollectionBase &idCollection, const CSMWorld::UniversalId &collectionId, const std::vector< std::string > &ids) | |
virtual int | setup () |
virtual void | perform (int stage, std::vector< std::string > &messages) |
Messages resulting from this tage will be appended to messages. | |
Private Attributes | |
const CSMWorld::CollectionBase & | mIdCollection |
CSMWorld::UniversalId | mCollectionId |
std::vector< std::string > | mIds |
Verify stage: make sure that records with specific IDs exist.
CSMTools::MandatoryIdStage::MandatoryIdStage | ( | const CSMWorld::CollectionBase & | idCollection, |
const CSMWorld::UniversalId & | collectionId, | ||
const std::vector< std::string > & | ids | ||
) |
void CSMTools::MandatoryIdStage::perform | ( | int | stage, |
std::vector< std::string > & | messages | ||
) | [virtual] |
Messages resulting from this tage will be appended to messages.
Implements CSMDoc::Stage.
int CSMTools::MandatoryIdStage::setup | ( | ) | [virtual] |
Implements CSMDoc::Stage.
const CSMWorld::CollectionBase& CSMTools::MandatoryIdStage::mIdCollection [private] |
std::vector<std::string> CSMTools::MandatoryIdStage::mIds [private] |