creaImageIO_lib
|
#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 44 of file creaImageIOSettings.h.
creaImageIO::Settings::Settings | ( | const std::string | i_path | ) |
Definition at line 47 of file creaImageIOSettings.cpp.
References SETTINGS_COPY_PATH, SETTINGS_DBPATH, SETTINGS_OUTPUT_ASK, SETTINGS_OUTPUT_DIM, SETTINGS_REMOVE_PATIENT_DISPLAY, SETTINGS_SYNC_EVENT, and SETTINGS_SYNC_FREQ.
creaImageIO::Settings::~Settings | ( | ) |
Definition at line 80 of file creaImageIOSettings.cpp.
void creaImageIO::Settings::addDB | ( | const std::string & | i_path | ) |
Definition at line 140 of file creaImageIOSettings.cpp.
References SETTINGS_DBPATH.
Referenced by creaImageIO::Gimmick::addDB().
|
private |
Definition at line 91 of file creaImageIOSettings.cpp.
References SETTINGS_COPY_PATH, SETTINGS_DBPATH, SETTINGS_DICOM_LIBRARY, SETTINGS_OUTPUT_ASK, SETTINGS_OUTPUT_DIM, SETTINGS_REMOVE_PATIENT_DISPLAY, SETTINGS_SYNC_EVENT, and SETTINGS_SYNC_FREQ.
|
inline |
Definition at line 50 of file creaImageIOSettings.h.
References m_SettingsMap.
Referenced by creaImageIO::Gimmick::addDBSettings(), creaImageIO::Gimmick::CopyFiles(), and creaImageIO::Gimmick::GetSetting().
|
private |
Definition at line 110 of file creaImageIOSettings.cpp.
void creaImageIO::Settings::removeDB | ( | const std::string & | i_path | ) |
Definition at line 154 of file creaImageIOSettings.cpp.
References SETTINGS_DBPATH.
void creaImageIO::Settings::updateSetting | ( | const std::string & | key, |
const std::string & | val | ||
) |
Definition at line 130 of file creaImageIOSettings.cpp.
Referenced by creaImageIO::Gimmick::UpdateSetting().
|
private |
Definition at line 165 of file creaImageIOSettings.cpp.
void creaImageIO::Settings::writeSettingsFile | ( | ) |
Definition at line 183 of file creaImageIOSettings.cpp.
Referenced by creaImageIO::Gimmick::UpdateSetting(), and creaImageIO::Gimmick::~Gimmick().
|
private |
Definition at line 70 of file creaImageIOSettings.h.
|
private |
Definition at line 63 of file creaImageIOSettings.h.
Referenced by getValue().