graph::dump_visitor Class Reference

#include <graph_visitor.hpp>

Inheritance diagram for graph::dump_visitor:

Inheritance graph
[legend]
Collaboration diagram for graph::dump_visitor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 dump_visitor (int indent_)
 dump_visitor (int indent_, ostream &out_)
void visit (node const &node)
 ~dump_visitor ()

Private Attributes

int indentation
ostream & out


Detailed Description

Definition at line 37 of file graph_visitor.hpp.


Constructor & Destructor Documentation

graph::dump_visitor::dump_visitor ( int  indent_  )  [inline]

Definition at line 41 of file graph_visitor.hpp.

graph::dump_visitor::dump_visitor ( int  indent_,
ostream &  out_ 
) [inline]

Definition at line 43 of file graph_visitor.hpp.

graph::dump_visitor::~dump_visitor (  )  [inline]

Definition at line 47 of file graph_visitor.hpp.


Member Function Documentation

void graph::dump_visitor::visit ( graph::node const &  node  )  [virtual]

Implements graph::const_visitor.

Definition at line 80 of file graph.cpp.

References graph::node::get_children(), graph::node::get_name(), jdl::indent(), indentation, and out.


Member Data Documentation

int graph::dump_visitor::indentation [private]

Definition at line 38 of file graph_visitor.hpp.

Referenced by visit().

ostream& graph::dump_visitor::out [private]

Definition at line 39 of file graph_visitor.hpp.

Referenced by visit().


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