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 | Flush () |
char | Peek () const |
void | Put (Ch c) |
char * | PutBegin () |
size_t | PutEnd (char *) |
char | Take () |
size_t | Tell () const |
Private Member Functions | |
BasicOStreamWrapper (const BasicOStreamWrapper &) | |
BasicOStreamWrapper & | operator= (const BasicOStreamWrapper &) |
Private Attributes | |
StreamType & | stream_ |
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 48 of file ostreamwrapper.h.
|
inline |
Definition at line 49 of file ostreamwrapper.h.
|
private |
|
inline |
Definition at line 58 of file ostreamwrapper.h.
|
private |
|
inline |
Definition at line 64 of file ostreamwrapper.h.
|
inline |
Definition at line 53 of file ostreamwrapper.h.
|
inline |
Definition at line 79 of file ostreamwrapper.h.
|
inline |
Definition at line 84 of file ostreamwrapper.h.
|
inline |
Definition at line 69 of file ostreamwrapper.h.
|
inline |
Definition at line 74 of file ostreamwrapper.h.
|
private |
Definition at line 94 of file ostreamwrapper.h.