#include <RawOptionsContainer.hpp>
Static Public Member Functions | |
static bool | addOption (const std::string &key, const std::string &value) |
static void | addUpdateOption (const std::string &key, const std::string &value) |
static void | clearOptions () |
static StringMap & | getMap () |
static bool | getOption (const std::string &key, std::string &value) |
template<class _T > | |
static bool | getOptionValue (const std::string &name, _T &value) |
static bool | hasOption (const std::string &key) |
static bool | parseCommandLine (int argc, char *const argv[], bool overwrite=false) |
static bool | parseCommandLine (const std::vector< std::string > &commandLineArgs, bool overwrite=false) |
static bool | parseFile (const std::string &fileName, bool overwrite=false) |
static void | print () |
static bool | removeOption (const std::string &key) |
static std::string | toString () |
static bool | updateOption (const std::string &key, const std::string &value) |
Static Protected Member Functions | |
static bool | addUpdateDashOption (std::string dashkey, const std::string &value, bool overwrite, bool showDashError=false) |
Static Protected Attributes | |
static StringMap | rawOptionsMap |
Definition at line 53 of file RawOptionsContainer.hpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::addOption | ( | const std::string & | key, |
const std::string & | value | ||
) | [static] |
Definition at line 115 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::addUpdateDashOption | ( | std::string | dashkey, |
const std::string & | value, | ||
bool | overwrite, | ||
bool | showDashError = false |
||
) | [static, protected] |
Definition at line 42 of file RawOptionsContainer.cpp.
void TELEKYB_NAMESPACE::RawOptionsContainer::addUpdateOption | ( | const std::string & | key, |
const std::string & | value | ||
) | [static] |
Definition at line 133 of file RawOptionsContainer.cpp.
void TELEKYB_NAMESPACE::RawOptionsContainer::clearOptions | ( | ) | [static] |
Definition at line 203 of file RawOptionsContainer.cpp.
StringMap & TELEKYB_NAMESPACE::RawOptionsContainer::getMap | ( | ) | [static] |
Definition at line 225 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::getOption | ( | const std::string & | key, |
std::string & | value | ||
) | [static] |
Definition at line 81 of file RawOptionsContainer.cpp.
static bool TELEKYB_NAMESPACE::RawOptionsContainer::getOptionValue | ( | const std::string & | name, |
_T & | value | ||
) | [inline, static] |
Definition at line 80 of file RawOptionsContainer.hpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::hasOption | ( | const std::string & | key | ) | [static] |
Definition at line 67 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::parseCommandLine | ( | int | argc, |
char *const | argv[], | ||
bool | overwrite = false |
||
) | [static] |
Definition at line 141 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::parseCommandLine | ( | const std::vector< std::string > & | commandLineArgs, |
bool | overwrite = false |
||
) | [static] |
Definition at line 164 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::parseFile | ( | const std::string & | fileName, |
bool | overwrite = false |
||
) | [static] |
Definition at line 183 of file RawOptionsContainer.cpp.
void TELEKYB_NAMESPACE::RawOptionsContainer::print | ( | ) | [static] |
Definition at line 208 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::removeOption | ( | const std::string & | key | ) | [static] |
Definition at line 75 of file RawOptionsContainer.cpp.
std::string TELEKYB_NAMESPACE::RawOptionsContainer::toString | ( | ) | [static] |
Definition at line 212 of file RawOptionsContainer.cpp.
bool TELEKYB_NAMESPACE::RawOptionsContainer::updateOption | ( | const std::string & | key, |
const std::string & | value | ||
) | [static] |
Definition at line 97 of file RawOptionsContainer.cpp.
StringMap TELEKYB_NAMESPACE::RawOptionsContainer::rawOptionsMap [static, protected] |
Definition at line 55 of file RawOptionsContainer.hpp.