rapidjson::AutoUTF< CharType > 模板结构体 参考

Dynamically select encoding according to stream's runtime-specified UTF encoding type. 更多...

#include <encodings.h>

Public 类型

enum  { supportUnicode = 1 }
 
typedef CharType Ch
 

静态 Public 成员函数

template<typename OutputStream >
static RAPIDJSON_FORCEINLINE void Encode (OutputStream &os, unsigned codepoint)
 
template<typename OutputStream >
static RAPIDJSON_FORCEINLINE void EncodeUnsafe (OutputStream &os, unsigned codepoint)
 
template<typename InputStream >
static RAPIDJSON_FORCEINLINE bool Decode (InputStream &is, unsigned *codepoint)
 
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool Validate (InputStream &is, OutputStream &os)
 

详细描述

template<typename CharType>
struct rapidjson::AutoUTF< CharType >

Dynamically select encoding according to stream's runtime-specified UTF encoding type.

注解
This class can be used with AutoUTFInputtStream and AutoUTFOutputStream, which provides GetType().

该结构体的文档由以下文件生成: