#include <graph_visitor.hpp>
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 |
Definition at line 37 of file graph_visitor.hpp.
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.
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.
int graph::dump_visitor::indentation [private] |
ostream& graph::dump_visitor::out [private] |