Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
json_spirit_tools.hh File Reference

Extra utilitiy functions not provided by json spirit library. More...

#include <utility/json_spirit/json_spirit_value.h>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 
 utility::json_spirit
 

Functions

bool utility::json_spirit::has_value (const mObject &obj, const std::string &name)
 
mValue utility::json_spirit::get_value (const mObject &obj, const std::string &name)
 
mObject utility::json_spirit::get_mObject (const mObject &obj, const std::string &name)
 
mArray utility::json_spirit::get_mArray (const mObject &obj, const std::string &name)
 
mObject utility::json_spirit::read_mObject (const std::string &json_string)
 
mArray utility::json_spirit::read_mArray (const std::string &json_string)
 
std::string utility::json_spirit::get_string (const mObject &obj, const std::string &name)
 
std::string utility::json_spirit::get_string_or_empty (const mObject &obj, const std::string &name)
 
double utility::json_spirit::get_real (const mObject &obj, const std::string &name)
 
double utility::json_spirit::get_real_or_zero (const mObject &obj, const std::string &name)
 
int utility::json_spirit::get_int (const mObject &obj, const std::string &name)
 
int utility::json_spirit::get_int_or_zero (const mObject &obj, const std::string &name)
 

Detailed Description

Extra utilitiy functions not provided by json spirit library.

Author
Mike Tyka