OpenMW
apps/opencs/model/filter/booleannode.hpp
Go to the documentation of this file.
00001 #ifndef CSM_FILTER_BOOLEANNODE_H
00002 #define CSM_FILTER_BOOLEANNODE_H
00003 
00004 #include "leafnode.hpp"
00005 
00006 namespace CSMFilter
00007 {
00008     class BooleanNode : public LeafNode
00009     {
00010             bool mTrue;
00011 
00012         public:
00013 
00014             BooleanNode (bool true_);
00015 
00016             virtual bool test (const CSMWorld::IdTable& table, int row,
00017                 const std::map<int, int>& columns) const;
00020 
00021             virtual std::string toString (bool numericColumns) const;
00025 
00026     };
00027 }
00028 
00029 #endif