node_base_printer Class Reference

#include <display.hh>

Inheritance diagram for node_base_printer:

mathml_node_printer node_printer print_mathml_comma print_mathml_div print_mathml_equals print_mathml_expression print_mathml_factorial print_mathml_indexbracket print_mathml_pow print_mathml_productlike print_mathml_sequence print_mathml_sum print_mathml_unequals print_arrow print_comma print_commutator print_div print_dot print_equals print_expression print_factorial print_filled_tableau print_indexbracket print_pow print_productlike print_sequence print_sum print_tableau print_unequals List of all members.

Public Types

typedef exptree::iterator iterator
typedef exptree::sibling_iterator sibling_iterator

Public Member Functions

 node_base_printer (exptree_output &)
virtual ~node_base_printer ()
virtual void print_infix (std::ostream &, iterator)=0

Protected Member Functions

bool children_have_brackets (iterator) const

Protected Attributes

exptree_outputparent
const exptreetr
str_node::parent_rel_t previous_parent_rel_
str_node::parent_rel_t current_parent_rel_
str_node::bracket_t previous_bracket_
str_node::bracket_t current_bracket_

Detailed Description

The base class for displaying/printing nodes in the expression tree.


Member Typedef Documentation

typedef exptree::iterator node_base_printer::iterator
 

typedef exptree::sibling_iterator node_base_printer::sibling_iterator
 


Constructor & Destructor Documentation

node_base_printer::node_base_printer exptree_output  ) 
 

virtual node_base_printer::~node_base_printer  )  [inline, virtual]
 


Member Function Documentation

bool node_base_printer::children_have_brackets iterator   )  const [protected]
 

virtual void node_base_printer::print_infix std::ostream &  ,
iterator 
[pure virtual]
 


Member Data Documentation

str_node::bracket_t node_base_printer::current_bracket_ [protected]
 

str_node::parent_rel_t node_base_printer::current_parent_rel_ [protected]
 

exptree_output& node_base_printer::parent [protected]
 

str_node::bracket_t node_base_printer::previous_bracket_ [protected]
 

str_node::parent_rel_t node_base_printer::previous_parent_rel_ [protected]
 

const exptree& node_base_printer::tr [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Jul 18 23:03:16 2009 for cadabra by  doxygen 1.4.6