![]() |
Argo
1.0
A C++ library for handling JSON.
|
A class to write JSON messages to a C++ istream. More...
#include <stream_writer.hpp>
Public Member Functions | |
| stream_writer (std::ostream *s) | |
| virtual void | write (const std::string &s) |
Public Member Functions inherited from argo::writer | |
| writer () | |
| Constructor. | |
A class to write JSON messages to a C++ istream.
Definition at line 36 of file stream_writer.hpp.
| stream_writer::stream_writer | ( | std::ostream * | s | ) |
Constructor. Does not take over owenership of the stream, the caller is required to close it and deallocate (if needed) when done.
Definition at line 31 of file stream_writer.cpp.
|
virtual |
Write a string to the stream.
Implements argo::writer.
Definition at line 35 of file stream_writer.cpp.
1.8.11