#include <JsonConfiguration.h>
◆ JsonConfiguration()
openjaus::system::JsonConfiguration::JsonConfiguration |
( |
| ) |
|
◆ ~JsonConfiguration()
openjaus::system::JsonConfiguration::~JsonConfiguration |
( |
| ) |
|
|
virtual |
◆ buildHierarchy()
void openjaus::system::JsonConfiguration::buildHierarchy |
( |
std::vector< std::string > & |
names, |
|
|
Json::Value & |
root, |
|
|
Json::Value & |
value |
|
) |
| |
|
private |
◆ buildMap()
void openjaus::system::JsonConfiguration::buildMap |
( |
std::string |
keyPrefix, |
|
|
Json::Value & |
root, |
|
|
std::map< std::string, JsonSetting > & |
settings |
|
) |
| |
|
private |
◆ clear()
void openjaus::system::JsonConfiguration::clear |
( |
| ) |
|
◆ contains()
bool openjaus::system::JsonConfiguration::contains |
( |
const std::string & |
key | ) |
|
◆ generateJson()
Json::Value openjaus::system::JsonConfiguration::generateJson |
( |
| ) |
|
|
private |
◆ get()
template<class Type >
Type openjaus::system::JsonConfiguration::get |
( |
const std::string & |
key, |
|
|
Type |
defaultValue |
|
) |
| |
|
inline |
◆ getErrorString()
std::string openjaus::system::JsonConfiguration::getErrorString |
( |
| ) |
|
◆ getSettings()
std::vector< JsonSetting > openjaus::system::JsonConfiguration::getSettings |
( |
| ) |
|
◆ getVersion()
uint32 openjaus::system::JsonConfiguration::getVersion |
( |
| ) |
|
◆ isDirty()
bool openjaus::system::JsonConfiguration::isDirty |
( |
| ) |
|
◆ load()
bool openjaus::system::JsonConfiguration::load |
( |
const std::string & |
filename | ) |
|
◆ remove()
void openjaus::system::JsonConfiguration::remove |
( |
const std::string & |
key | ) |
|
◆ save()
bool openjaus::system::JsonConfiguration::save |
( |
const std::string & |
filename | ) |
|
◆ set()
template<class Type >
void openjaus::system::JsonConfiguration::set |
( |
const std::string & |
key, |
|
|
Type |
value |
|
) |
| |
|
inline |
◆ toString()
std::string openjaus::system::JsonConfiguration::toString |
( |
| ) |
const |
|
virtual |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ dirty
bool openjaus::system::JsonConfiguration::dirty |
|
private |
◆ errorString
std::string openjaus::system::JsonConfiguration::errorString |
|
private |
◆ settings
std::map<std::string, JsonSetting> openjaus::system::JsonConfiguration::settings |
|
private |
◆ version
uint32 openjaus::system::JsonConfiguration::version |
|
private |
The documentation for this class was generated from the following files: