#include <stringf.h>
Inheritance diagram for StringBufferFormatter:

Important note: the produced string will only have a terminating null character if the produced text has a size less than the size of the buffer.
Definition at line 351 of file stringf.h.
Public Member Functions | |
| StringBufferFormatter (char *buffer, size_t size) | |
| virtual void | Out (const char *text, size_t textSize) |
| virtual void | Out (char character, size_t repeatCount) |
| char * | End () |
Protected Attributes | |
| char * | BufferStart |
| Start of buffer used to store text. | |
| char * | BufferEnd |
| End of buffer used to store text. (The address immediately after the last byte.). | |
| char * | BufferPtr |
| Address to store the next byte of text to be 'output'. | |
|
||||||||||||
|
Definition at line 631 of file stringf.cpp. |
|
||||||||||||
|
Called to 'output' generated text.
Implements StringFormatter. Definition at line 642 of file stringf.cpp. |
|
||||||||||||
|
Called to 'output' a repeated single character.
Implements StringFormatter. Definition at line 654 of file stringf.cpp. |
|
|
Terminate text generation. This appends a null character after the end of the generated text (if there is space in the buffer) and sets the buffer state to be empty.
Definition at line 666 of file stringf.cpp. |
1.4.4