Documentation
Public Types |
Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes |
List of all members
rapidjson::AutoUTFInputStream< CharType, InputByteStream > Class Template Reference
Input stream wrapper with dynamically bound encoding and automatic encoding detection. More...
#include <encodedstream.h>
Public Types | |
| typedef CharType | Ch |
Public Member Functions | |
| AutoUTFInputStream (InputByteStream &is, UTFType type=kUTF8) | |
| Constructor. More... | |
| 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 *) |
Private Types | |
| typedef Ch(* | TakeFunc )(InputByteStream &is) |
Private Member Functions | |
| RAPIDJSON_STATIC_ASSERT (sizeof(typename InputByteStream::Ch)==1) | |
| void | DetectType () |
Private Attributes | |
| InputByteStream * | is_ |
| UTFType | type_ |
| Ch | current_ |
| TakeFunc | takeFunc_ |
| bool | hasBOM_ |
Detailed Description
template<typename CharType, typename InputByteStream>
class rapidjson::AutoUTFInputStream< CharType, InputByteStream >
Input stream wrapper with dynamically bound encoding and automatic encoding detection.
- Template Parameters
-
CharType Type of character for reading. InputByteStream type of input byte stream to be wrapped.
Constructor & Destructor Documentation
template<typename CharType , typename InputByteStream >
|
inline |
Constructor.
- Parameters
-
is input stream to be wrapped. type UTF encoding type if it is not detected from the stream.
The documentation for this class was generated from the following file:
- /home/travis/build/urho3d/Urho3D/Source/ThirdParty/rapidjson/include/rapidjson/encodedstream.h
