Ariles
|
Wrapper of std::basic_istream
into RapidJSON's Stream concept.
The classes can be wrapped including but not limited to:
std::istringstream
std::stringstream
std::wistringstream
std::wstringstream
std::ifstream
std::fstream
std::wifstream
std::wfstream
StreamType | Class derived from std::basic_istream . |
Definition at line 52 of file istreamwrapper.h.
#include <istreamwrapper.h>
Public Types | |
using | Ch = typename StreamType::char_type |
Public Member Functions | |
BasicIStreamWrapper (StreamType &stream) | |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
Ch * | PutBegin () |
void | Put (Ch) |
void | Flush () |
size_t | PutEnd (Ch *) |
const Ch * | Peek4 () const |
Private Member Functions | |
BasicIStreamWrapper (const BasicIStreamWrapper &) | |
BasicIStreamWrapper & | operator= (const BasicIStreamWrapper &) |
Private Attributes | |
StreamType & | stream_ |
size_t | count_ |
Number of characters read. Note: More... | |
Ch | peekBuffer_ [4] |
using ariles2::ns_rapidjson::BasicIStreamWrapper< StreamType >::Ch = typename StreamType::char_type |
Definition at line 55 of file istreamwrapper.h.
|
inlineexplicit |
Definition at line 56 of file istreamwrapper.h.
|
private |
|
inline |
Definition at line 93 of file istreamwrapper.h.
|
private |
|
inline |
Definition at line 60 of file istreamwrapper.h.
|
inline |
Definition at line 104 of file istreamwrapper.h.
|
inline |
Definition at line 89 of file istreamwrapper.h.
|
inline |
Definition at line 84 of file istreamwrapper.h.
|
inline |
Definition at line 97 of file istreamwrapper.h.
|
inline |
Definition at line 66 of file istreamwrapper.h.
|
inline |
Definition at line 79 of file istreamwrapper.h.
|
private |
Number of characters read. Note:
Definition at line 130 of file istreamwrapper.h.
|
mutableprivate |
Definition at line 131 of file istreamwrapper.h.
|
private |
Definition at line 129 of file istreamwrapper.h.