|
GCC Middle and Back End API Reference
|
#include <graphviz.h>


Public Member Functions | |
| graphviz_out (pretty_printer *pp) | |
| void | print (const char *fmt,...) ATTRIBUTE_GCC_PPDIAG(2 |
| void void | println (const char *fmt,...) ATTRIBUTE_GCC_PPDIAG(2 |
| void void void | begin_tr () |
| void | end_tr () |
| void | begin_td () |
| void | end_td () |
| void | begin_trtd () |
| void | end_tdtr () |
| 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.
| graphviz_out::graphviz_out | ( | pretty_printer * | pp | ) |
References gcc_assert, and dot::writer::writer().
| void graphviz_out::begin_td | ( | ) |
Write the start of an HTML-like <TD>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
| void graphviz_out::begin_tr | ( | ) |
Write the start of an HTML-like row via <TR>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
| void graphviz_out::begin_trtd | ( | ) |
Write the start of an HTML-like row via <TR><TD>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
| void graphviz_out::end_td | ( | ) |
Write the end of an HTML-like </TD>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
| void graphviz_out::end_tdtr | ( | ) |
Write the end of an HTML-like row via </TD></TR>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
| void graphviz_out::end_tr | ( | ) |
Write the end of an HTML-like row via </TR>, writing to the stream so that followup text can be escaped.
References dot::writer::get_pp(), pp_string(), and pp_write_text_to_stream().
|
inlineinherited |
|
inlineinherited |
References m_indent.
Referenced by digraph< GraphTraits >::dump_dot_to_pp().
|
inlineinherited |
References m_indent.
Referenced by digraph< GraphTraits >::dump_dot_to_pp().
| void graphviz_out::print | ( | const char * | fmt, |
| ... ) |
Formatted print of FMT.
References ap, errno, dot::writer::get_pp(), pp_format(), and pp_output_formatted_text().
| void graphviz_out::println | ( | const char * | fmt, |
| ... ) |
Formatted print of FMT. The text is indented by the current indent, and a newline is added.
References ap, errno, dot::writer::get_pp(), pp_format(), pp_newline(), pp_output_formatted_text(), and dot::writer::write_indent().
|
inlineinherited |
References m_pp, and pp_character().
|
inherited |
Print the current indent to the underlying pp.
References get_pp(), i, m_indent, and pp_space.
Referenced by graphviz_out::println().
|
inlineinherited |
References m_pp, and pp_newline().
|
inlineinherited |
References m_pp, and pp_string().
|
privateinherited |
Referenced by indent(), outdent(), write_indent(), and writer().
|
privateinherited |
Referenced by get_pp(), write_character(), write_newline(), write_string(), and writer().