OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
racecheck.hpp
Go to the documentation of this file.
1 #ifndef CSM_TOOLS_RACECHECK_H
2 #define CSM_TOOLS_RACECHECK_H
3 
5 
6 #include "../world/idcollection.hpp"
7 
8 #include "../doc/stage.hpp"
9 
10 namespace CSMTools
11 {
14  {
16  bool mPlayable;
17 
18  void performPerRecord (int stage, CSMDoc::Messages& messages);
19 
20  void performFinal (CSMDoc::Messages& messages);
21 
22  public:
23 
25 
26  virtual int setup();
28 
29  virtual void perform (int stage, CSMDoc::Messages& messages);
31  };
32 }
33 
34 #endif
virtual void perform(int stage, CSMDoc::Messages &messages)
Messages resulting from this tage will be appended to messages.
Definition: racecheck.cpp:66
RaceCheckStage(const CSMWorld::IdCollection< ESM::Race > &races)
Definition: racecheck.cpp:56
virtual int setup()
Definition: racecheck.cpp:60
Definition: messages.hpp:38
bool mPlayable
Definition: racecheck.hpp:16
Definition: stage.hpp:15
VerifyStage: make sure that race records are internally consistent.
Definition: racecheck.hpp:13
void performFinal(CSMDoc::Messages &messages)
Definition: racecheck.cpp:48
const CSMWorld::IdCollection< ESM::Race > & mRaces
Definition: racecheck.hpp:15
void performPerRecord(int stage, CSMDoc::Messages &messages)
Definition: racecheck.cpp:9