AutoUTFInputStream
Engine/source/persistence/rapidjson/encodedstream.h
Input stream wrapper with dynamically bound encoding and automatic encoding detection.
Public Types
CharType
Ch
Private Types
Ch(*
TakeFunc )(InputByteStream &is)
Private Functions
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) )
Public Functions
Detailed Description
Input stream wrapper with dynamically bound encoding and automatic encoding detection.
Parameters:
CharType | Type of character for reading. |
InputByteStream | type of input byte stream to be wrapped. |
Public Types
typedef CharType Ch
Private Types
typedef Ch(* TakeFunc )(InputByteStream &is)
Private Attributes
Ch current_
bool hasBOM_
InputByteStream * is_
TakeFunc takeFunc_
UTFType type_
Private Functions
AutoUTFInputStream(const AutoUTFInputStream & )
DetectType()
operator=(const AutoUTFInputStream & )
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) )