DumpVisitor Class Template Reference

Inheritance diagram for DumpVisitor:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Word monoid_elt_value_t
typedef Weight semiring_elt_value_t
typedef Node< Word, Weight > node_t

Public Member Functions

 DumpVisitor (std::ostream &ostr=std::cout)
virtual ~DumpVisitor ()
virtual void product (const node_t *lhs, const node_t *rhs)
virtual void sum (const node_t *lhs, const node_t *rhs)
virtual void star (const node_t *node)
virtual void left_weight (const semiring_elt_value_t &w, const node_t *node)
virtual void right_weight (const semiring_elt_value_t &w, const node_t *node)
virtual void constant (const monoid_elt_value_t &m)
virtual void zero ()
virtual void one ()

Protected Types

enum  {
  NODE_LWEIGHT = Node<Word, lweight, NODE_RWEIGHT = Node<Word, rweight,
  NODE_PROD = Node<Word, prod, NODE_SUM = Node<Word, sum
}

Protected Member Functions

void enclose_if (const bool cond, const node_t *node)
void product_print_child (const node_t *child)

Protected Attributes

std::ostream & ostr_

Detailed Description

template<class Word, class Weight>
class vcsn::rat::DumpVisitor< Word, Weight >

Definition at line 67 of file dump_visitor.hxx.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
NODE_LWEIGHT 
lweight 
NODE_RWEIGHT 
rweight 
NODE_PROD 
prod 
NODE_SUM 
sum 

Definition at line 108 of file dump_visitor.hxx.


Generated on Sun Jul 29 19:49:58 2007 for Vaucanson by  doxygen 1.5.2