Wrapper of std::basic_istream
into RapidJSON's Stream concept.
More...
#include <istreamwrapper.h>
Public Types | |
typedef StreamType::char_type | Ch |
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] |
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 48 of file istreamwrapper.h.
typedef StreamType::char_type BasicIStreamWrapper< StreamType >::Ch |
Definition at line 50 of file istreamwrapper.h.
|
inline |
Definition at line 51 of file istreamwrapper.h.
|
private |
|
inline |
Definition at line 73 of file istreamwrapper.h.
|
private |
|
inline |
Definition at line 53 of file istreamwrapper.h.
|
inline |
Definition at line 77 of file istreamwrapper.h.
|
inline |
Definition at line 72 of file istreamwrapper.h.
|
inline |
Definition at line 71 of file istreamwrapper.h.
|
inline |
Definition at line 74 of file istreamwrapper.h.
|
inline |
Definition at line 58 of file istreamwrapper.h.
|
inline |
Definition at line 69 of file istreamwrapper.h.
|
private |
Number of characters read. Note:
Definition at line 100 of file istreamwrapper.h.
|
mutableprivate |
Definition at line 101 of file istreamwrapper.h.
|
private |
Definition at line 99 of file istreamwrapper.h.