#include <creaImageIOSettings.h>
Public Member Functions | |
Settings (const std::string i_path) | |
~Settings () | |
const std::string | getValue (const std::string i_key) |
void | addDB (const std::string &i_path) |
void | removeDB (const std::string &i_path) |
void | updateSetting (const std::string &key, const std::string &val) |
void | writeSettingsFile () |
Private Member Functions | |
void | readSettings (std::vector< std::string > &i_Keys, const std::string &i_file) |
void | createFile () |
void | writeSettings (std::ofstream &o_filebuf) |
Private Attributes | |
std::map < std::string, std::string > | m_SettingsMap |
std::string | m_SettingsFileName |
Definition at line 13 of file creaImageIOSettings.h.
creaImageIO::Settings::Settings | ( | const std::string | i_path | ) |
creaImageIO::Settings::~Settings | ( | ) |
const std::string creaImageIO::Settings::getValue | ( | const std::string | i_key | ) | [inline] |
Definition at line 19 of file creaImageIOSettings.h.
References m_SettingsMap.
00019 {return m_SettingsMap[i_key];}
void creaImageIO::Settings::addDB | ( | const std::string & | i_path | ) |
void creaImageIO::Settings::removeDB | ( | const std::string & | i_path | ) |
void creaImageIO::Settings::updateSetting | ( | const std::string & | key, | |
const std::string & | val | |||
) |
void creaImageIO::Settings::writeSettingsFile | ( | ) |
void creaImageIO::Settings::readSettings | ( | std::vector< std::string > & | i_Keys, | |
const std::string & | i_file | |||
) | [private] |
void creaImageIO::Settings::createFile | ( | ) | [private] |
void creaImageIO::Settings::writeSettings | ( | std::ofstream & | o_filebuf | ) | [private] |
std::map<std::string, std::string> creaImageIO::Settings::m_SettingsMap [private] |
std::string creaImageIO::Settings::m_SettingsFileName [private] |
Definition at line 39 of file creaImageIOSettings.h.