#include <strtreedump.h>
Inheritance diagram for StringTreeDump::Entry:
Public Member Functions | |
Entry (int _indent) | |
Construct an entry with passed indention and empty string. | |
~Entry () | |
Destructor; nothing special. | |
void | append (const TLString &s) |
Append string to the entry. | |
void | RemoveEnd (char c) |
void | TightenSize () |
Public Attributes | |
TLString | str |
String content of that entry. | |
int | indent |
Indent depth. | |
Private Member Functions | |
Entry (const Entry &) | |
Do not use:. | |
void | operator= (const Entry &) |
Do not use:. |
Definition at line 57 of file strtreedump.h.
|
Construct an entry with passed indention and empty string.
Definition at line 63 of file strtreedump.h. |
|
Destructor; nothing special.
Definition at line 66 of file strtreedump.h. |
|
Do not use:.
|
|
Append string to the entry.
Definition at line 69 of file strtreedump.h. References str. Referenced by StringTreeDump::append(). |
|
Do not use:.
|
|
Remove the passed character if that char is at the end of the entry. Definition at line 22 of file strtreedump.cc. References TLString::length(), and str. Referenced by StringTreeDump::RemoveEnd(). |
|
Instruct the entry to free all memory which was allocated too much in advance. Do this when no more data will be appended to this entry. Definition at line 79 of file strtreedump.h. References str, and TLString::TightenSize(). |
|
Indent depth.
Definition at line 60 of file strtreedump.h. Referenced by StringTreeDump::append(), Entry(), and StringTreeDump::write(). |
|
String content of that entry.
Definition at line 59 of file strtreedump.h. Referenced by append(), StringTreeDump::append(), Entry(), RemoveEnd(), TightenSize(), and StringTreeDump::write(). |