library/param/codec/msgpack/param_msgpack.hh

namespace scarab

The standard scarab namespace.

Functions

scarab::LOGGER(dlog_param_msgpack, "param_msgpack")
class param_input_msgpack
#include <param_msgpack.hh>

Public Functions

param_input_msgpack()
~param_input_msgpack()

Public Static Functions

static param *read_file(const std::string &a_filename)
param *read_string(const std::string &a_msgpack_str)
param *read_msgpack_element(const msgpack::object &a_msgpack_array)
class param_output_msgpack
#include <param_msgpack.hh>

Public Types

enum json_writing_style

Values:

k_compact
k_pretty

Public Functions

param_output_msgpack()
~param_output_msgpack()

Public Static Functions

static bool write_file(const param &a_to_write, const std::string &a_filename, json_writing_style a_style)
bool write_string(const param &a_to_write, std::string &a_string, json_writing_style a_style)
template <class XWriter>
bool write_param(const param &a_to_write, XWriter *a_writer)
template <class XWriter>
bool write_param_null(const param &a_to_write, XWriter *a_writer)
template <class XWriter>
bool write_param_value(const param_value &a_to_write, XWriter *a_writer)
template <class XWriter>
bool write_param_array(const param_array &a_to_write, XWriter *a_writer)
template <class XWriter>
bool write_param_node(const param_node &a_to_write, XWriter *a_writer)