#include <prettyPrinter.hpp>
Inheritance diagram for defaultPrettyPrintStream:
Public Member Functions | |
defaultPrettyPrintStream () | |
void | indent () |
void | print (char *str) |
void | print_char (char c) |
int | width_of_string (char *str) |
void | space () |
void | newline () |
void | begin_highlight () |
void | end_highlight () |
int | width () |
int | remaining () |
int | width_of_char (char c) |
int | width_of_space () |
int | infinity () |
Definition at line 78 of file prettyPrinter.hpp.
defaultPrettyPrintStream::defaultPrettyPrintStream | ( | ) | [inline] |
Definition at line 80 of file prettyPrinter.hpp.
void defaultPrettyPrintStream::begin_highlight | ( | ) | [virtual] |
Implements prettyPrintStream.
Reimplemented in vframeStream.
Definition at line 1282 of file prettyPrinter.cpp.
References prettyPrintStream::print(), and prettyPrintStream::set_highlight().
Here is the call graph for this function:
void defaultPrettyPrintStream::end_highlight | ( | ) | [virtual] |
Implements prettyPrintStream.
Reimplemented in vframeStream.
Definition at line 1283 of file prettyPrinter.cpp.
References prettyPrintStream::print(), and prettyPrintStream::set_highlight().
Here is the call graph for this function:
void defaultPrettyPrintStream::indent | ( | ) | [virtual] |
Implements prettyPrintStream.
Definition at line 1257 of file prettyPrinter.cpp.
References prettyPrintStream::indentation, and space().
Referenced by byteArrayPrettyPrintStream::newline(), and newline().
Here is the call graph for this function:
int defaultPrettyPrintStream::infinity | ( | ) | [inline, virtual] |
Implements prettyPrintStream.
Definition at line 94 of file prettyPrinter.hpp.
References width().
Here is the call graph for this function:
void defaultPrettyPrintStream::newline | ( | ) | [virtual] |
Implements prettyPrintStream.
Reimplemented in byteArrayPrettyPrintStream.
Definition at line 1277 of file prettyPrinter.cpp.
References indent(), prettyPrintStream::pos, and print_char().
Here is the call graph for this function:
void defaultPrettyPrintStream::print | ( | char * | str | ) | [virtual] |
Implements prettyPrintStream.
Definition at line 1262 of file prettyPrinter.cpp.
References print_char().
Here is the call graph for this function:
void defaultPrettyPrintStream::print_char | ( | char | c | ) | [virtual] |
Implements prettyPrintStream.
Reimplemented in byteArrayPrettyPrintStream.
Definition at line 1266 of file prettyPrinter.cpp.
References prettyPrintStream::pos, outputStream::print(), std, and width_of_char().
Referenced by newline(), print(), and space().
Here is the call graph for this function:
int defaultPrettyPrintStream::remaining | ( | ) | [inline, virtual] |
Implements prettyPrintStream.
Definition at line 91 of file prettyPrinter.hpp.
References prettyPrintStream::pos, and width().
Here is the call graph for this function:
void defaultPrettyPrintStream::space | ( | ) | [virtual] |
Implements prettyPrintStream.
Definition at line 1276 of file prettyPrinter.cpp.
References print_char().
Referenced by indent().
Here is the call graph for this function:
int defaultPrettyPrintStream::width | ( | ) | [inline, virtual] |
Implements prettyPrintStream.
Definition at line 90 of file prettyPrinter.hpp.
Referenced by infinity(), and remaining().
int defaultPrettyPrintStream::width_of_char | ( | char | c | ) | [inline, virtual] |
Implements prettyPrintStream.
Definition at line 92 of file prettyPrinter.hpp.
Referenced by byteArrayPrettyPrintStream::print_char(), print_char(), and width_of_string().
int defaultPrettyPrintStream::width_of_space | ( | ) | [inline, virtual] |
int defaultPrettyPrintStream::width_of_string | ( | char * | str | ) | [virtual] |
Implements prettyPrintStream.
Definition at line 1270 of file prettyPrinter.cpp.
References width_of_char().
Here is the call graph for this function: