#include <RawOptionsContainer.h>
Static Public Member Functions | |
static bool | hasOption (const string &key) |
static bool | removeOption (const string &key) |
static bool | getOption (const string &key, string &value) |
static bool | updateOption (const string &key, const string &value) |
static bool | addOption (const string &key, const string &value) |
static void | addUpdateOption (const string &key, const string &value) |
static bool | parseCommandLine (int argc, char *const argv[], bool overwrite=false) |
static bool | parseFile (const string &fileName, bool overwrite=false) |
static void | clearOptions () |
static void | print () |
static string | toString () |
static StringMap & | getMap () |
Static Protected Member Functions | |
static bool | addUpdateDashOption (string dashkey, const string &value, bool overwrite, bool showDashError=false) |
Static Protected Attributes | |
static StringMap | rawOptionsMap |
bool RawOptionsContainer::addUpdateDashOption | ( | string | dashkey, | |
const string & | value, | |||
bool | overwrite, | |||
bool | showDashError = false | |||
) | [static, protected] |
bool RawOptionsContainer::hasOption | ( | const string & | key | ) | [static] |
bool RawOptionsContainer::removeOption | ( | const string & | key | ) | [static] |
bool RawOptionsContainer::getOption | ( | const string & | key, | |
string & | value | |||
) | [static] |
bool RawOptionsContainer::updateOption | ( | const string & | key, | |
const string & | value | |||
) | [static] |
bool RawOptionsContainer::addOption | ( | const string & | key, | |
const string & | value | |||
) | [static] |
void RawOptionsContainer::addUpdateOption | ( | const string & | key, | |
const string & | value | |||
) | [static] |
bool RawOptionsContainer::parseCommandLine | ( | int | argc, | |
char *const | argv[], | |||
bool | overwrite = false | |||
) | [static] |
bool RawOptionsContainer::parseFile | ( | const string & | fileName, | |
bool | overwrite = false | |||
) | [static] |
void RawOptionsContainer::clearOptions | ( | ) | [static] |
void RawOptionsContainer::print | ( | ) | [static] |
string RawOptionsContainer::toString | ( | ) | [static] |
StringMap & RawOptionsContainer::getMap | ( | ) | [static] |
StringMap RawOptionsContainer::rawOptionsMap [static, protected] |