#include <Config.h>
Inheritance diagram for Config::StringWriter:

Definition at line 164 of file Config.h.
Public Member Functions | |
| const char * | GetString () |
| Returns the so far accumulated string. | |
| StringWriter () | |
| Creates a new string writer. | |
| virtual bool | Write (const char *string) |
| Writes a string to the writer's target. | |
| virtual bool | Write (char character) |
| Writes a character to the writer's target. | |
| virtual | ~StringWriter () |
| Destroys the string writer. | |
Private Member Functions | |
| void | IncreaseBuffer () |
| Increases the buffer's size by CF_SWBUFFERINCREASE bytes. | |
Private Attributes | |
| char * | Buffer |
| The so far accumulated string. | |
| unsigned int | BufferLen |
| The current length of the buffer. | |
| unsigned int | BufferSize |
| The current size of the buffer. | |
|
|
Creates a new string writer.
|
|
|
Destroys the string writer.
|
|
|
Returns the so far accumulated string.
|
|
|
Increases the buffer's size by CF_SWBUFFERINCREASE bytes.
|
|
|
Writes a string to the writer's target.
Reimplemented from Config::Writer. |
|
|
Writes a character to the writer's target.
Reimplemented from Config::Writer. |
|
|
The so far accumulated string.
|
|
|
The current length of the buffer. This is the number of used (filled) bytes. |
|
|
The current size of the buffer. This is the number of reserved (allocated) bytes. |
1.3.6