Logo
Reference manual - version ored_version
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
JSONMessage Class Referenceabstract
+ Inheritance diagram for JSONMessage:

Public Member Functions

virtual std::string msg () const =0
 return a std::string for the log file
 
virtual void log () const =0
 generate Boost log record to pass to corresponding sinks
 
const std::string json () const
 create JSON-like output from the data
 
void set (const std::string &key, const boost::any &value)
 

Static Protected Member Functions

static std::string jsonify (const boost::any &)
 

Protected Attributes

std::map< std::string, boost::any > data_