Jpp
master_rocky-40-g5f0272dcd
the software that should make you happy
|
Template implementation of stream output for single data type. More...
#include <JSonObjectOutput.hh>
Public Member Functions | |
JSonObjectOutput (std::ostream &out, const std::string &sep="\n") | |
Constructor. More... | |
virtual bool | put (const T &object) override |
Object output. More... | |
const std::string & | getSeparator () const |
Get token separator. More... | |
void | setSeparator (const std::string &sep) |
Set token separator. More... | |
Private Attributes | |
std::ostream & | __out |
std::string | __sep |
Template implementation of stream output for single data type.
This class implements the JLANG::JObjectOutput interface.
Definition at line 34 of file JSonObjectOutput.hh.
|
inline |
Constructor.
out | output stream |
sep | token separator |
Definition at line 44 of file JSonObjectOutput.hh.
|
inlineoverridevirtual |
Object output.
object | object |
Implements JLANG::JObjectOutput< T >.
Definition at line 57 of file JSonObjectOutput.hh.
|
inline |
|
inline |
|
private |
Definition at line 90 of file JSonObjectOutput.hh.
|
private |
Definition at line 91 of file JSonObjectOutput.hh.