#include <UserConfiguration.h>
◆ UserConfiguration()
openjaus::system::UserConfiguration::UserConfiguration |
( |
| ) |
|
◆ ~UserConfiguration()
openjaus::system::UserConfiguration::~UserConfiguration |
( |
| ) |
|
|
virtual |
◆ comment()
bool openjaus::system::UserConfiguration::comment |
( |
const std::string & |
key, |
|
|
std::string |
comment |
|
) |
| |
|
inline |
◆ fileExists()
bool openjaus::system::UserConfiguration::fileExists |
( |
| ) |
|
◆ get()
template<class Type >
Type openjaus::system::UserConfiguration::get |
( |
const std::string & |
key, |
|
|
Type |
defaultValue |
|
) |
| |
|
inline |
◆ getFileName()
std::string openjaus::system::UserConfiguration::getFileName |
( |
| ) |
const |
◆ getSettingMap()
const std::map< std::string, Setting *> & openjaus::system::UserConfiguration::getSettingMap |
( |
| ) |
const |
◆ load()
bool openjaus::system::UserConfiguration::load |
( |
std::string |
fileName | ) |
|
◆ parseSettings()
bool openjaus::system::UserConfiguration::parseSettings |
( |
std::istream & |
istream, |
|
|
std::map< std::string, Setting * > & |
settingMap |
|
) |
| |
|
protected |
◆ set()
template<class Type >
void openjaus::system::UserConfiguration::set |
( |
const std::string & |
key, |
|
|
Type |
value |
|
) |
| |
|
inline |
◆ setFileName()
bool openjaus::system::UserConfiguration::setFileName |
( |
std::string |
fileName | ) |
|
- Parameters
-
fileName | The value of the new fileName. |
◆ settingToStream()
void openjaus::system::UserConfiguration::settingToStream |
( |
std::ostream & |
ostream, |
|
|
Setting * |
setting |
|
) |
| const |
|
protected |
◆ toString()
std::string openjaus::system::UserConfiguration::toString |
( |
| ) |
const |
|
virtual |
◆ tryGet()
template<class Type >
bool openjaus::system::UserConfiguration::tryGet |
( |
const std::string & |
key, |
|
|
Type & |
value |
|
) |
| |
|
inline |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ fileName
std::string openjaus::system::UserConfiguration::fileName |
|
protected |
◆ isDirty
bool openjaus::system::UserConfiguration::isDirty |
|
protected |
◆ originalSettings
std::map< std::string, Setting * > openjaus::system::UserConfiguration::originalSettings |
|
protected |
◆ settingMap
std::map< std::string, Setting * > openjaus::system::UserConfiguration::settingMap |
|
protected |
The documentation for this class was generated from the following files: