Scarab  v1.6.0
Project 8 C++ Utility Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
param_output_msgpack Class Reference

#include <param_msgpack.hh>

Public Types

enum  json_writing_style { k_compact, k_pretty }
 

Public Member Functions

 param_output_msgpack ()
 
virtual ~param_output_msgpack ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 47 of file param_msgpack.hh.

Member Enumeration Documentation

Enumerator
k_compact 
k_pretty 

Definition at line 55 of file param_msgpack.hh.

Constructor & Destructor Documentation

Definition at line 115 of file param_msgpack.cc.

~param_output_msgpack ( )
virtual

Definition at line 118 of file param_msgpack.cc.

Member Function Documentation

static bool write_file ( const param a_to_write,
const std::string &  a_filename,
json_writing_style  a_style 
)
static
bool write_param ( const param a_to_write,
XWriter *  a_writer 
)
static

Definition at line 81 of file param_msgpack.hh.

bool write_param_array ( const param_array a_to_write,
XWriter *  a_writer 
)
static

Definition at line 141 of file param_msgpack.hh.

bool write_param_node ( const param_node a_to_write,
XWriter *  a_writer 
)
static

Definition at line 157 of file param_msgpack.hh.

bool write_param_null ( const param a_to_write,
XWriter *  a_writer 
)
static

Definition at line 103 of file param_msgpack.hh.

bool write_param_value ( const param_value a_to_write,
XWriter *  a_writer 
)
static

Definition at line 110 of file param_msgpack.hh.

bool write_string ( const param a_to_write,
std::string &  a_string,
json_writing_style  a_style 
)
static

Definition at line 121 of file param_msgpack.cc.


The documentation for this class was generated from the following files: