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

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

#include <encodedstream.h>

Public 类型

typedef CharType Ch
 

Public 成员函数

 AutoUTFInputStream (InputByteStream &is, UTFType type=kUTF8)
 Constructor. 更多...
 
UTFType GetType () const
 
bool HasBOM () const
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
void Put (Ch)
 
void Flush ()
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *)
 

详细描述

template<typename CharType, typename InputByteStream>
class rapidjson::AutoUTFInputStream< CharType, InputByteStream >

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

模板参数
CharTypeType of character for reading.
InputByteStreamtype of input byte stream to be wrapped.

构造及析构函数说明

template<typename CharType, typename InputByteStream>
rapidjson::AutoUTFInputStream< CharType, InputByteStream >::AutoUTFInputStream ( InputByteStream &  is,
UTFType  type = kUTF8 
)
inline

Constructor.

参数
isinput stream to be wrapped.
typeUTF encoding type if it is not detected from the stream.

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