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

Output stream wrapper with dynamically bound encoding and automatic encoding detection. 更多...

#include <encodedstream.h>

Public 类型

typedef CharType Ch
 

Public 成员函数

 AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM)
 Constructor. 更多...
 
UTFType GetType () const
 
void Put (Ch c)
 
void Flush ()
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *)
 

详细描述

template<typename CharType, typename OutputByteStream>
class rapidjson::AutoUTFOutputStream< CharType, OutputByteStream >

Output stream wrapper with dynamically bound encoding and automatic encoding detection.

模板参数
CharTypeType of character for writing.
InputByteStreamtype of output byte stream to be wrapped.

构造及析构函数说明

template<typename CharType , typename OutputByteStream >
rapidjson::AutoUTFOutputStream< CharType, OutputByteStream >::AutoUTFOutputStream ( OutputByteStream &  os,
UTFType  type,
bool  putBOM 
)
inline

Constructor.

参数
osoutput stream to be wrapped.
typeUTF encoding type.
putBOMWhether to write BOM at the beginning of the stream.

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