#include <SIBCString.h>
Public Member Functions |
|
| CSIAccumString () | |
| void | Clear () |
| void | ConcatByte (SI_Byte in_Byte) |
| SI_Int | GetLength () const |
| SI_Char * | GetText () const |
When used below to read unsupported templates, it makes a BIG difference in performance since we simply do not recalculate the string length every time. CSIBCString will do up to three runs through the whole buffer when resizing, which gets extremely time consuming on long runs.
| CSIAccumString | ( | ) | [inline] |
Default constructor. Allocates an initial block of memory for string storage, and sets the string data empty.
| void Clear | ( | ) | [inline] |
Deletes the internal character buffer of the string, and resets the allocated size to a default initial buffer size.
| void ConcatByte | ( | SI_Byte | in_Byte | ) | [inline] |
Contenates an SI_Byte to the current string.
| [in] | in_Byte | SI_Byte to concatenate to the current string. |
| SI_Int GetLength | ( | ) | const [inline] |
Returns the length of the string.
| SI_Char* GetText | ( | ) | const [inline] |
Returns a character buffer with the contents of the string. This buffer should not be modified, and does not need to be freed after use. This function is generally used to output the text contained within the string. (See SIBCString::GetText).