OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
textnode.hpp
Go to the documentation of this file.
1 #ifndef CSM_FILTER_TEXTNODE_H
2 #define CSM_FILTER_TEXTNODE_H
3 
4 #include "leafnode.hpp"
5 
6 namespace CSMFilter
7 {
8  class TextNode : public LeafNode
9  {
10  int mColumnId;
11  std::string mText;
12 
13  public:
14 
15  TextNode (int columnId, const std::string& text);
16 
17  virtual bool test (const CSMWorld::IdTableBase& table, int row,
18  const std::map<int, int>& columns) const;
21 
22  virtual std::vector<int> getReferencedColumns() const;
25 
26  virtual std::string toString (bool numericColumns) const;
30  };
31 }
32 
33 #endif
Definition: leafnode.hpp:10
virtual std::vector< int > getReferencedColumns() const
Definition: textnode.cpp:62
Definition: textnode.hpp:8
int mColumnId
Definition: textnode.hpp:10
std::string mText
Definition: textnode.hpp:11
virtual std::string toString(bool numericColumns) const
Definition: textnode.cpp:67
TextNode(int columnId, const std::string &text)
Definition: textnode.cpp:11
virtual bool test(const CSMWorld::IdTableBase &table, int row, const std::map< int, int > &columns) const
Definition: textnode.cpp:15
Definition: idtablebase.hpp:12