#include <graphviz.h>
Public Member Functions | |
writer (pretty_printer &pp) | |
void | indent () |
void | outdent () |
void | write_indent () |
void | write_character (char ch) |
void | write_string (const char *str) |
void | write_newline () |
pretty_printer * | get_pp () const |
Private Attributes | |
pretty_printer & | m_pp |
int | m_indent |
A class for writing .dot output to a pretty_printer with indentation to show nesting.
dot::writer::writer | ( | pretty_printer & | pp | ) |
References m_indent, and m_pp.
Referenced by graphviz_out::graphviz_out().
|
inline |
|
inline |
References m_indent.
Referenced by digraph< GraphTraits >::dump_dot_to_pp().
|
inline |
References m_indent.
Referenced by digraph< GraphTraits >::dump_dot_to_pp().
|
inline |
References m_pp, and pp_character().
void dot::writer::write_indent | ( | ) |
Print the current indent to the underlying pp.
References get_pp(), i, m_indent, and pp_space.
Referenced by graphviz_out::println().
|
inline |
References m_pp, and pp_newline().
|
inline |
References m_pp, and pp_string().
|
private |
Referenced by indent(), outdent(), write_indent(), and writer().
|
private |
Referenced by get_pp(), write_character(), write_newline(), write_string(), and writer().