![]() |
|
Wrapper of std::ostream for output. More...
#include <genericstream.h>
Public Types | |
| typedef char | Ch |
| Character type. Only support char. More... | |
Public Member Functions | |
| GenericWriteStream (std::ostream &os) | |
| Constructor. More... | |
| void | Put (char c) |
| void | PutN (char c, size_t n) |
| void | Flush () |
| size_t | Tell () const |
| char | Peek () const |
| char | Take () |
| char * | PutBegin () |
| size_t | PutEnd (char *) |
Private Attributes | |
| std::ostream & | os_ |
Wrapper of std::ostream for output.
Character type. Only support char.
|
inline |
Constructor.
| os | Output stream. |
|
inline |
References RAPIDJSON_ASSERT.
|
inline |
References calibrate::c, and os_.
Referenced by PutN().
|
inline |
References RAPIDJSON_ASSERT.
|
inline |
References RAPIDJSON_ASSERT.
|
inline |
|
inline |
References RAPIDJSON_ASSERT.
|
inline |