Wire Sysio Wire Sysion 1.0.0
|
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) | |
Constructor. | |
BasicIStreamWrapper (StreamType &stream, char *buffer, size_t bufferSize) | |
Constructor. | |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
void | Put (Ch) |
void | Flush () |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
const Ch * | Peek4 () const |
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 49 of file istreamwrapper.h.
StreamType::char_type BasicIStreamWrapper< StreamType >::Ch |
Definition at line 51 of file istreamwrapper.h.
|
inline |
stream | stream opened for read. |
Definition at line 57 of file istreamwrapper.h.
|
inline |
stream | stream opened for read. |
buffer | user-supplied buffer. |
bufferSize | size of buffer in bytes. Must >=4 bytes. |
Definition at line 67 of file istreamwrapper.h.
|
inline |
Definition at line 78 of file istreamwrapper.h.
|
inline |
Definition at line 72 of file istreamwrapper.h.
|
inline |
Definition at line 83 of file istreamwrapper.h.
|
inline |
Definition at line 77 of file istreamwrapper.h.
|
inline |
Definition at line 79 of file istreamwrapper.h.
|
inline |
Definition at line 80 of file istreamwrapper.h.
|
inline |
Definition at line 73 of file istreamwrapper.h.
|
inline |
Definition at line 74 of file istreamwrapper.h.