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, OStream *sout)=0 |
| Write Value into document as configured in sub-class. | |
Protected Attributes | |
| OStream * | sout_ |
Usage:
| Json::StreamWriter::StreamWriter | ( | ) |
Definition at line 1162 of file json_writer.cpp.
References sout_.
Referenced by Json::StreamWriter::Factory::newStreamWriter().
|
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 |
Referenced by Json::operator<<(), and Json::writeString().
|
protected |
Definition at line 44 of file writer.h.
Referenced by StreamWriter().
1.14.0