Represents an in-memory output stream. More...
#include <stringbuffer.h>
Public Types | |
typedef Encoding::Ch | Ch |
Public Member Functions | |
GenericStringBuffer (Allocator *allocator=0, size_t capacity=kDefaultCapacity) | |
void | Put (Ch c) |
void | Flush () |
void | Clear () |
void | ShrinkToFit () |
Ch * | Push (size_t count) |
void | Pop (size_t count) |
const Ch * | GetString () const |
size_t | GetSize () const |
Public Attributes | |
internal::Stack< Allocator > | stack_ |
Static Public Attributes | |
static const size_t | kDefaultCapacity = 256 |
Represents an in-memory output stream.
Definition at line 36 of file stringbuffer.h.
typedef Encoding::Ch rapidjson::GenericStringBuffer< Encoding, Allocator >::Ch |
Definition at line 37 of file stringbuffer.h.
|
inline |
Definition at line 39 of file stringbuffer.h.
|
inline |
Definition at line 44 of file stringbuffer.h.
|
inline |
Definition at line 42 of file stringbuffer.h.
|
inline |
Definition at line 62 of file stringbuffer.h.
|
inline |
Definition at line 54 of file stringbuffer.h.
|
inline |
Definition at line 52 of file stringbuffer.h.
|
inline |
Definition at line 51 of file stringbuffer.h.
|
inline |
Definition at line 41 of file stringbuffer.h.
|
inline |
Definition at line 45 of file stringbuffer.h.
|
static |
Definition at line 64 of file stringbuffer.h.
|
mutable |
Definition at line 65 of file stringbuffer.h.