JsonCpp project page | JsonCpp home page |
Usage: More...
#include <json/writer.h>
Classes | |
class | Factory |
A simple abstract factory. More... | |
Public Member Functions | |
StreamWriter () | |
virtual | ~StreamWriter () |
virtual int | write (Value const &root, std::ostream *sout)=0 |
Write Value into document as configured in sub-class. More... | |
Protected Attributes | |
std::ostream * | sout_ |
Usage:
Json::StreamWriter::StreamWriter | ( | ) |
Definition at line 1070 of file json_writer.cpp.
|
virtual |
Definition at line 1074 of file json_writer.cpp.
|
pure virtual |
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 |