#include <tree.hpp>
Public Member Functions | |
unary_expr_node () | |
unary_expr_node (unary_expr_node const &node) | |
void | operand (boost::shared_ptr< component > comp) |
boost::shared_ptr < component > | get_operand () const |
void | set_operator (string op) |
const string & | get_operator () const |
string | to_string () const |
component * | clone () const |
void | accept (const_visitor &v) const |
void | accept (visitor &v) |
Private Attributes | |
string | _op |
Definition at line 237 of file tree.hpp.
jdl::unary_expr_node::unary_expr_node | ( | ) | [inline] |
Definition at line 240 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by clone().
jdl::unary_expr_node::unary_expr_node | ( | unary_expr_node const & | node | ) | [inline] |
void jdl::unary_expr_node::operand | ( | boost::shared_ptr< component > | comp | ) | [inline] |
Definition at line 251 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::create().
boost::shared_ptr<component> jdl::unary_expr_node::get_operand | ( | ) | const [inline] |
Definition at line 253 of file tree.hpp.
References jdl::abstract_node::children.
Referenced by jdl::dump_visitor::visit().
void jdl::unary_expr_node::set_operator | ( | string | op | ) | [inline] |
const string& jdl::unary_expr_node::get_operator | ( | ) | const [inline] |
Definition at line 257 of file tree.hpp.
References _op.
Referenced by unary_expr_node(), and jdl::dump_visitor::visit().
string unary_expr_node::to_string | ( | ) | const [virtual] |
Implements jdl::component.
Definition at line 181 of file tree.cpp.
References _op, and jdl::abstract_node::children.
component* jdl::unary_expr_node::clone | ( | ) | const [inline, virtual] |
void unary_expr_node::accept | ( | const_visitor & | v | ) | const [virtual] |
Implements jdl::abstract_node.
Definition at line 185 of file tree.cpp.
References jdl::const_visitor::visit().
void unary_expr_node::accept | ( | visitor & | v | ) | [virtual] |
Implements jdl::abstract_node.
Definition at line 189 of file tree.cpp.
References jdl::visitor::visit().
string jdl::unary_expr_node::_op [private] |
Definition at line 238 of file tree.hpp.
Referenced by get_operator(), set_operator(), to_string(), and unary_expr_node().