Usage: More...
#include <json/writer.h>
Inherited by Json::BuiltStyledStreamWriter.
Classes | |
class | Factory |
A simple abstract factory. More... | |
Public Member Functions | |
StreamWriter () | |
virtual | ~StreamWriter () |
virtual int | write (Value const &root, OStream *sout)=0 |
Write Value into document as configured in sub-class. More... | |
Protected Attributes | |
OStream * | sout_ |
Usage:
Json::StreamWriter::StreamWriter | ( | ) |
|
virtualdefault |
Write Value into document as configured in sub-class.
Do not take ownership of sout, but maintain a reference during function.
std::exception | possibly, depending on configuration |
|
protected |