jdl::unary_expr_node Class Reference

#include <tree.hpp>

Inheritance diagram for jdl::unary_expr_node:

Inheritance graph
[legend]
Collaboration diagram for jdl::unary_expr_node:

Collaboration graph
[legend]

List of all members.

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
componentclone () const
void accept (const_visitor &v) const
void accept (visitor &v)

Private Attributes

string _op


Detailed Description

Definition at line 237 of file tree.hpp.


Constructor & Destructor Documentation

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]

Definition at line 247 of file tree.hpp.

References _op, and get_operator().


Member Function Documentation

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]

Definition at line 255 of file tree.hpp.

References _op.

Referenced by jdl::create().

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]

Implements jdl::component.

Definition at line 261 of file tree.hpp.

References unary_expr_node().

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun Feb 17 16:55:57 2008 for JDLParser by  doxygen 1.5.3