My Project
|
Public Member Functions | |
PropertyTree (const std::string &jsonFile) | |
PropertyTree (const PropertyTree &tree) | |
template<class T > | |
void | put (const std::string &key, const T &data) |
template<class T > | |
T | get (const std::string &key) const |
template<class T > | |
T | get (const std::string &key, const T &defValue) const |
PropertyTree | get_child (const std::string &key) const |
std::optional< PropertyTree > | get_child_optional (const std::string &key) const |
PropertyTree & | operator= (const PropertyTree &tree) |
void | write_json (std::ostream &os, bool pretty) const |
Protected Member Functions | |
PropertyTree (const boost::property_tree::ptree &tree) | |
Protected Attributes | |
std::unique_ptr< boost::property_tree::ptree > | tree_ |