Output byte stream wrapper with statically bound encoding. More...
#include <encodedstream.h>
Public Types | |
typedef Encoding::Ch | Ch |
Public Member Functions | |
EncodedOutputStream (OutputByteStream &os, bool putBOM=true) | |
void | Put (Ch c) |
void | Flush () |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
Private Member Functions | |
RAPIDJSON_STATIC_ASSERT (sizeof(typename OutputByteStream::Ch)==1) | |
EncodedOutputStream (const EncodedOutputStream &) | |
EncodedOutputStream & | operator= (const EncodedOutputStream &) |
Private Attributes | |
OutputByteStream & | os_ |
Output byte stream wrapper with statically bound encoding.
Encoding | The interpretation of encoding of the stream. Either UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE. |
OutputByteStream | Type of input byte stream. For example, FileWriteStream. |
Definition at line 100 of file encodedstream.h.
typedef Encoding::Ch EncodedOutputStream< Encoding, OutputByteStream >::Ch |
Definition at line 103 of file encodedstream.h.
|
inline |
Definition at line 105 of file encodedstream.h.
|
private |
|
inline |
Definition at line 111 of file encodedstream.h.
|
private |
|
inline |
Definition at line 114 of file encodedstream.h.
|
inline |
Definition at line 110 of file encodedstream.h.
|
inline |
Definition at line 117 of file encodedstream.h.
|
inline |
Definition at line 118 of file encodedstream.h.
|
private |
|
inline |
Definition at line 115 of file encodedstream.h.
|
inline |
Definition at line 116 of file encodedstream.h.
|
private |
Definition at line 124 of file encodedstream.h.