Wrapper of std::basic_ostream
into RapidJSON's Stream concept.
More...
#include <ostreamwrapper.h>
Public Types | |
typedef StreamType::char_type | Ch |
Public Member Functions | |
BasicOStreamWrapper (StreamType &stream) | |
void | Put (Ch c) |
void | Flush () |
char | Peek () const |
char | Take () |
size_t | Tell () const |
char * | PutBegin () |
size_t | PutEnd (char *) |
Wrapper of std::basic_ostream
into RapidJSON's Stream concept.
The classes can be wrapped including but not limited to:
std::ostringstream
std::stringstream
std::wpstringstream
std::wstringstream
std::ifstream
std::fstream
std::wofstream
std::wfstream
StreamType | Class derived from std::basic_ostream . |
Definition at line 45 of file ostreamwrapper.h.
typedef StreamType::char_type BasicOStreamWrapper< StreamType >::Ch |
Definition at line 47 of file ostreamwrapper.h.
|
inline |
Definition at line 48 of file ostreamwrapper.h.
|
inline |
Definition at line 54 of file ostreamwrapper.h.
|
inline |
Definition at line 59 of file ostreamwrapper.h.
|
inline |
Definition at line 50 of file ostreamwrapper.h.
|
inline |
Definition at line 62 of file ostreamwrapper.h.
|
inline |
Definition at line 63 of file ostreamwrapper.h.
|
inline |
Definition at line 60 of file ostreamwrapper.h.
|
inline |
Definition at line 61 of file ostreamwrapper.h.