Torque2D Reference
Public Types | Public Member Functions | List of all members
EncodedInputStream< Encoding, InputByteStream > Class Template Reference

Input byte stream wrapper with a statically bound encoding. More...

#include <encodedstream.h>

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

 EncodedInputStream (InputByteStream &is)
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell () const
 
void Put (Ch c)
 
void Flush ()
 
ChPutBegin ()
 
size_t PutEnd (Ch *)
 

Detailed Description

template<typename Encoding, typename InputByteStream>
class rapidjson::EncodedInputStream< Encoding, InputByteStream >

Input byte stream wrapper with a statically bound encoding.

Template Parameters
EncodingThe interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE.
InputByteStreamType of input byte stream. For example, FileReadStream.

Member Typedef Documentation

typedef Encoding::Ch Ch

Constructor & Destructor Documentation

EncodedInputStream ( InputByteStream &  is)
inline

Member Function Documentation

void Flush ( )
inline
Ch Peek ( ) const
inline
void Put ( Ch  c)
inline
Ch* PutBegin ( )
inline
size_t PutEnd ( Ch )
inline
Ch Take ( )
inline
size_t Tell ( ) const
inline

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