OpenMW
apps/opencs/model/filter/textnode.hpp
Go to the documentation of this file.
00001 #ifndef CSM_FILTER_TEXTNODE_H
00002 #define CSM_FILTER_TEXTNODE_H
00003 
00004 #include "leafnode.hpp"
00005 
00006 namespace CSMFilter
00007 {
00008     class TextNode : public LeafNode
00009     {
00010             int mColumnId;
00011             std::string mText;
00012 
00013         public:
00014 
00015             TextNode (int columnId, const std::string& text);
00016 
00017             virtual bool test (const CSMWorld::IdTable& table, int row,
00018                 const std::map<int, int>& columns) const;
00021 
00022             virtual std::vector<int> getReferencedColumns() const;
00025 
00026             virtual std::string toString (bool numericColumns) const;
00030     };
00031 }
00032 
00033 #endif