jdl::binary_expr_node Class Reference

#include <tree.hpp>

Inheritance diagram for jdl::binary_expr_node:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 binary_expr_node ()
 binary_expr_node (binary_expr_node const &node)
void left_operand (boost::shared_ptr< component > comp)
boost::shared_ptr
< component
get_left_operand () const
void right_operand (boost::shared_ptr< component > comp)
boost::shared_ptr
< component
get_right_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 201 of file tree.hpp.


Constructor & Destructor Documentation

jdl::binary_expr_node::binary_expr_node (  )  [inline]

Definition at line 204 of file tree.hpp.

References jdl::abstract_node::children.

Referenced by clone().

jdl::binary_expr_node::binary_expr_node ( binary_expr_node const &  node  )  [inline]

Definition at line 206 of file tree.hpp.

References _op, and get_operator().


Member Function Documentation

void jdl::binary_expr_node::left_operand ( boost::shared_ptr< component comp  )  [inline]

Definition at line 210 of file tree.hpp.

References jdl::abstract_node::children.

Referenced by jdl::create().

boost::shared_ptr<component> jdl::binary_expr_node::get_left_operand (  )  const [inline]

Definition at line 212 of file tree.hpp.

References jdl::abstract_node::children.

Referenced by jdl::dump_visitor::visit().

void jdl::binary_expr_node::right_operand ( boost::shared_ptr< component comp  )  [inline]

Definition at line 214 of file tree.hpp.

References jdl::abstract_node::children.

Referenced by jdl::create().

boost::shared_ptr<component> jdl::binary_expr_node::get_right_operand (  )  const [inline]

Definition at line 216 of file tree.hpp.

References jdl::abstract_node::children.

Referenced by jdl::dump_visitor::visit().

void jdl::binary_expr_node::set_operator ( string  op  )  [inline]

Definition at line 218 of file tree.hpp.

References _op.

Referenced by jdl::create().

const string& jdl::binary_expr_node::get_operator (  )  const [inline]

Definition at line 220 of file tree.hpp.

References _op.

Referenced by binary_expr_node(), and jdl::dump_visitor::visit().

string binary_expr_node::to_string (  )  const [virtual]

Implements jdl::component.

Definition at line 166 of file tree.cpp.

References _op, and jdl::abstract_node::children.

component* jdl::binary_expr_node::clone (  )  const [inline, virtual]

Implements jdl::component.

Definition at line 224 of file tree.hpp.

References binary_expr_node().

void binary_expr_node::accept ( const_visitor v  )  const [virtual]

Implements jdl::abstract_node.

Definition at line 171 of file tree.cpp.

References jdl::const_visitor::visit().

void binary_expr_node::accept ( visitor v  )  [virtual]

Implements jdl::abstract_node.

Definition at line 175 of file tree.cpp.

References jdl::visitor::visit().


Member Data Documentation

string jdl::binary_expr_node::_op [private]

Definition at line 202 of file tree.hpp.

Referenced by binary_expr_node(), get_operator(), set_operator(), and to_string().


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