OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSMTools::MagicEffectCheckStage Class Reference

VerifyStage: make sure that magic effect records are internally consistent. More...

#include <magiceffectcheck.hpp>

Inheritance diagram for CSMTools::MagicEffectCheckStage:
Collaboration diagram for CSMTools::MagicEffectCheckStage:

Public Member Functions

 MagicEffectCheckStage (const CSMWorld::IdCollection< ESM::MagicEffect > &effects, const CSMWorld::IdCollection< ESM::Sound > &sounds, const CSMWorld::RefIdCollection &referenceables, const CSMWorld::Resources &icons, const CSMWorld::Resources &textures)
 
virtual int setup ()
 
virtual void perform (int stage, CSMDoc::Messages &messages)
 Messages resulting from this tage will be appended to messages. More...
 
- Public Member Functions inherited from CSMDoc::Stage
virtual ~Stage ()
 

Private Member Functions

bool isTextureExists (const std::string &texture, bool isIcon) const
 
std::string checkReferenceable (const std::string &id, const CSMWorld::UniversalId &type, const std::string &column) const
 
std::string checkSound (const std::string &id, const std::string &column) const
 

Private Attributes

const CSMWorld::IdCollection
< ESM::MagicEffect > & 
mMagicEffects
 
const CSMWorld::IdCollection
< ESM::Sound > & 
mSounds
 
const CSMWorld::RefIdCollectionmReferenceables
 
const CSMWorld::ResourcesmIcons
 
const CSMWorld::ResourcesmTextures
 

Detailed Description

VerifyStage: make sure that magic effect records are internally consistent.

Constructor & Destructor Documentation

CSMTools::MagicEffectCheckStage::MagicEffectCheckStage ( const CSMWorld::IdCollection< ESM::MagicEffect > &  effects,
const CSMWorld::IdCollection< ESM::Sound > &  sounds,
const CSMWorld::RefIdCollection referenceables,
const CSMWorld::Resources icons,
const CSMWorld::Resources textures 
)

Member Function Documentation

std::string CSMTools::MagicEffectCheckStage::checkReferenceable ( const std::string &  id,
const CSMWorld::UniversalId type,
const std::string &  column 
) const
private

Here is the call graph for this function:

std::string CSMTools::MagicEffectCheckStage::checkSound ( const std::string &  id,
const std::string &  column 
) const
private
bool CSMTools::MagicEffectCheckStage::isTextureExists ( const std::string &  texture,
bool  isIcon 
) const
private

Here is the call graph for this function:

void CSMTools::MagicEffectCheckStage::perform ( int  stage,
CSMDoc::Messages messages 
)
virtual

Messages resulting from this tage will be appended to messages.

Implements CSMDoc::Stage.

Here is the call graph for this function:

int CSMTools::MagicEffectCheckStage::setup ( )
virtual
Returns
number of steps

Implements CSMDoc::Stage.

Member Data Documentation

const CSMWorld::Resources& CSMTools::MagicEffectCheckStage::mIcons
private
const CSMWorld::IdCollection<ESM::MagicEffect>& CSMTools::MagicEffectCheckStage::mMagicEffects
private
const CSMWorld::RefIdCollection& CSMTools::MagicEffectCheckStage::mReferenceables
private
const CSMWorld::IdCollection<ESM::Sound>& CSMTools::MagicEffectCheckStage::mSounds
private
const CSMWorld::Resources& CSMTools::MagicEffectCheckStage::mTextures
private

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