bes  Updated for version 3.20.6
AutoUTFInputStream< CharType, InputByteStream > Class Template Reference

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

#include <encodedstream.h>

Collaboration diagram for AutoUTFInputStream< CharType, InputByteStream >:
Collaboration graph

Public Types

typedef CharType Ch
 
typedef CharType Ch
 

Public Member Functions

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

Detailed Description

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

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

Template Parameters
CharTypeType of character for reading.
InputByteStreamtype of input byte stream to be wrapped.

Definition at line 135 of file cmr_module/rapidjson/encodedstream.h.

Constructor & Destructor Documentation

◆ AutoUTFInputStream() [1/2]

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

Constructor.

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

Definition at line 145 of file cmr_module/rapidjson/encodedstream.h.

◆ AutoUTFInputStream() [2/2]

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

Constructor.

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

Definition at line 145 of file dmrpp_module/xml2json/include/rapidjson/encodedstream.h.


The documentation for this class was generated from the following file: