NGL
6.5
The NCCA Graphics Library
|
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) |
void | Flush () |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
Private Member Functions | |
RAPIDJSON_STATIC_ASSERT (sizeof(typename InputByteStream::Ch)==1) | |
EncodedInputStream (const EncodedInputStream &) | |
EncodedInputStream & | operator= (const EncodedInputStream &) |
Private Attributes | |
InputByteStream & | is_ |
Ch | current_ |
Input byte stream wrapper with a statically bound encoding.
Encoding | The interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE. |
InputByteStream | Type of input byte stream. For example, FileReadStream. |
Definition at line 33 of file encodedstream.h.
typedef Encoding::Ch EncodedInputStream< Encoding, InputByteStream >::Ch |
Definition at line 36 of file encodedstream.h.
|
inline |
Definition at line 38 of file encodedstream.h.
References EncodedInputStream< Encoding, InputByteStream >::current_, and EncodedInputStream< Encoding, InputByteStream >::is_.
|
private |
|
inline |
Definition at line 48 of file encodedstream.h.
References RAPIDJSON_ASSERT.
|
private |
|
inline |
Definition at line 42 of file encodedstream.h.
References EncodedInputStream< Encoding, InputByteStream >::current_.
|
inline |
Definition at line 47 of file encodedstream.h.
References RAPIDJSON_ASSERT.
|
inline |
Definition at line 49 of file encodedstream.h.
References RAPIDJSON_ASSERT.
|
inline |
Definition at line 50 of file encodedstream.h.
References EncodedInputStream< Encoding, InputByteStream >::EncodedInputStream(), EncodedInputStream< Encoding, InputByteStream >::operator=(), and RAPIDJSON_ASSERT.
|
private |
|
inline |
Definition at line 43 of file encodedstream.h.
References EncodedInputStream< Encoding, InputByteStream >::current_, and EncodedInputStream< Encoding, InputByteStream >::is_.
|
inline |
Definition at line 44 of file encodedstream.h.
References EncodedInputStream< Encoding, InputByteStream >::is_.
|
private |
Definition at line 57 of file encodedstream.h.
|
private |
Definition at line 56 of file encodedstream.h.