|
Classes | |
| class | libcwd::debug_string_ct |
| A string class used for the debug output margin and marker.This type is used for the public attributes debug_ct::margin and debug_ct::marker of the debug object class. More... | |
Functions | |
| debug_string_ct & | libcwd::debug_ct::margin (void) |
| The margin. More... | |
| debug_string_ct & | libcwd::debug_ct::marker (void) |
| The marker. More... | |
| void | libcwd::debug_ct::push_margin (void) |
| Push the current margin on a stack. | |
| void | libcwd::debug_ct::pop_margin (void) |
| Pop margin from the stack. | |
| void | libcwd::debug_ct::push_marker (void) |
| Push the current marker on a stack. | |
| void | libcwd::debug_ct::pop_marker (void) |
| Pop marker from the stack. | |
| void | libcwd::debug_ct::set_indent (unsigned short indentation) |
| Set number of spaces to indent. | |
| void | libcwd::debug_ct::inc_indent (unsigned short indentation) |
| Increment number of spaces to indent. | |
| void | libcwd::debug_ct::dec_indent (unsigned short indentation) |
| Decrement number of spaces to indent. | |
| unsigned short | libcwd::debug_ct::get_indent (void) const |
| Get the current indentation. | |
Example:
NOTICE : | This line is not indented
NOTICE : | This line is indented 4 spaces
NOTICE : | This line is indented 6 spaces
|
inline |
The margin.
This is printed before the label. The margin can be manipulated directly using the methods of class debug_string_ct.
Referenced by libcwd::debug_ct::pop_margin(), libcwd::debug_ct::push_margin(), and libcwd::marker_ct::~marker_ct().
|
inline |
The marker.
This is printed after the label. The marker can be manipulated directly using the methods of class debug_string_ct.
Referenced by libcwd::debug_ct::pop_marker(), and libcwd::debug_ct::push_marker().