OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
unarynode.hpp
Go to the documentation of this file.
1 #ifndef CSM_FILTER_UNARYNODE_H
2 #define CSM_FILTER_UNARYNODE_H
3 
4 #include <boost/shared_ptr.hpp>
5 
6 #include "node.hpp"
7 
8 namespace CSMFilter
9 {
10  class UnaryNode : public Node
11  {
12  boost::shared_ptr<Node> mChild;
13  std::string mName;
14 
15  public:
16 
17  UnaryNode (boost::shared_ptr<Node> child, const std::string& name);
18 
19  const Node& getChild() const;
20 
21  Node& getChild();
22 
23  virtual std::vector<int> getReferencedColumns() const;
26 
27  virtual std::string toString (bool numericColumns) const;
31  };
32 }
33 
34 #endif
virtual std::string toString(bool numericColumns) const
Definition: unarynode.cpp:22
const Node & getChild() const
Definition: unarynode.cpp:7
virtual std::vector< int > getReferencedColumns() const
Definition: unarynode.cpp:17
Root class for the filter node hierarchy.
Definition: node.hpp:23
boost::shared_ptr< Node > mChild
Definition: unarynode.hpp:12
Definition: unarynode.hpp:10
std::string mName
Definition: unarynode.hpp:13
UnaryNode(boost::shared_ptr< Node > child, const std::string &name)
Definition: unarynode.cpp:3
const char * name
Definition: crashcatcher.cpp:59