OpenMW
apps/opencs/model/filter/unarynode.hpp
Go to the documentation of this file.
00001 #ifndef CSM_FILTER_UNARYNODE_H
00002 #define CSM_FILTER_UNARYNODE_H
00003 
00004 #include <boost/shared_ptr.hpp>
00005 
00006 #include "node.hpp"
00007 
00008 namespace CSMFilter
00009 {
00010     class UnaryNode : public Node
00011     {
00012             boost::shared_ptr<Node> mChild;
00013             std::string mName;
00014 
00015         public:
00016 
00017             UnaryNode (boost::shared_ptr<Node> child, const std::string& name);
00018 
00019             const Node& getChild() const;
00020 
00021             Node& getChild();
00022 
00023             virtual std::vector<int> getReferencedColumns() const;
00026 
00027             virtual std::string toString (bool numericColumns) const;
00031     };
00032 }
00033 
00034 #endif