OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchstage.hpp
Go to the documentation of this file.
1 #ifndef CSM_TOOLS_SEARCHSTAGE_H
2 #define CSM_TOOLS_SEARCHSTAGE_H
3 
4 #include "../doc/stage.hpp"
5 
6 #include "search.hpp"
7 
8 namespace CSMWorld
9 {
10  class IdTableBase;
11 }
12 
13 namespace CSMTools
14 {
15  class SearchOperation;
16 
17  class SearchStage : public CSMDoc::Stage
18  {
22 
23  public:
24 
25  SearchStage (const CSMWorld::IdTableBase *model);
26 
27  virtual int setup();
29 
30  virtual void perform (int stage, CSMDoc::Messages& messages);
32 
33  void setOperation (const SearchOperation *operation);
34  };
35 }
36 
37 #endif
Search mSearch
Definition: searchstage.hpp:20
const CSMWorld::IdTableBase * mModel
Definition: searchstage.hpp:19
Definition: searchoperation.hpp:17
Definition: messages.hpp:38
SearchStage(const CSMWorld::IdTableBase *model)
Definition: searchstage.cpp:7
virtual int setup()
Definition: searchstage.cpp:11
Definition: stage.hpp:15
void setOperation(const SearchOperation *operation)
Definition: searchstage.cpp:26
const SearchOperation * mOperation
Definition: searchstage.hpp:21
Definition: searchstage.hpp:17
virtual void perform(int stage, CSMDoc::Messages &messages)
Messages resulting from this stage will be appended to messages.
Definition: searchstage.cpp:21
Definition: idtablebase.hpp:12
Definition: search.hpp:26