全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
rapidjson::GenericStringBuffer< Encoding, Allocator > 模板类 参考

Represents an in-memory output stream. 更多...

#include <stringbuffer.h>

Public 类型

typedef Encoding::Ch Ch
 

Public 成员函数

 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 属性

internal::Stack< Allocatorstack_
 

静态 Public 属性

static const size_t kDefaultCapacity = 256
 

详细描述

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

Represents an in-memory output stream.

模板参数
EncodingEncoding of the stream.
Allocatortype for allocating memory buffer.
注解
implements Stream concept

该类的文档由以下文件生成: