rapidjson::GenericStringBuffer< Encoding, Allocator > Struct Template Reference

Represents an in-memory output stream. More...

#include <ThirdParty/rapidjson/include/rapidjson/stringbuffer.h>

Inheritance diagram for rapidjson::GenericStringBuffer< Encoding, Allocator >:
[legend]
Collaboration diagram for rapidjson::GenericStringBuffer< Encoding, Allocator >:
[legend]

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 ()
 
const Ch * GetString () const
 
size_t GetSize () const
 

Public Attributes

internal::Stack< Allocatorstack_
 

Static Public Attributes

static const size_t kDefaultCapacity = 256
 

Detailed Description

template<typename Encoding, typename Allocator = CrtAllocator>
struct rapidjson::GenericStringBuffer< Encoding, Allocator >

Represents an in-memory output stream.

Template Parameters
EncodingEncoding of the stream.
Allocatortype for allocating memory buffer.

The documentation for this struct was generated from the following file:
  • Source/ThirdParty/rapidjson/include/rapidjson/stringbuffer.h