Dip-All
0.91.0
|
#include <UtilParameters.h>
Public Member Functions | |
UtilParameters () | |
UtilParameters (int &argc, char *argv[]) | |
~UtilParameters () | |
void | ScanCmdLineArgs (int &argc, char *argv[]) |
void | LoadParamFile (string ¶mFileName) |
void | Add (string §ion, string &name, string &value) |
void | Add (const char *section, const char *name, const char *value) |
string | GetSetting (const char *name, const char *defaultValue, const char *section=NULL) |
int | GetSetting (const char *name, const int defaultValue, const char *section=NULL) |
bool | GetSetting (const char *name, const bool defaultValue, const char *section=NULL) |
long | GetSetting (const char *name, const long defaultValue, const char *section=NULL) |
double | GetSetting (const char *name, const double defaultValue, const char *section=NULL) |
UtilParameters () | |
UtilParameters (int &argc, char *argv[]) | |
~UtilParameters () | |
void | ScanCmdLineArgs (int &argc, char *argv[]) |
void | LoadParamFile (std::string ¶mFileName) |
void | Add (std::string §ion, std::string &name, std::string &value) |
void | Add (const char *section, const char *name, const char *value) |
std::string | GetSetting (const char *name, const char *defaultValue, const char *section=NULL) |
int | GetSetting (const char *name, const int defaultValue, const char *section=NULL) |
bool | GetSetting (const char *name, const bool defaultValue, const char *section=NULL) |
long | GetSetting (const char *name, const long defaultValue, const char *section=NULL) |
double | GetSetting (const char *name, const double defaultValue, const char *section=NULL) |
std::string | GetSetting (const char *name, const std::string defaultValue, const char *section=NULL) |
Private Member Functions | |
UtilParameters (const UtilParameters ©) | |
UtilParameters & | operator= (const UtilParameters &rhs) |
UtilParam * | FindEntry (const char *section, const char *name) |
string * | Find (const char *section, const char *name) |
UtilParam * | FindEntry (const char *section, const char *name) |
std::string * | Find (const char *section, const char *name) |
Private Attributes | |
map< string, UtilParam > | m_paramMap |
std::map< std::string, UtilParam > | m_paramMap |
Definition at line 30 of file UtilParameters.h.
|
private |
|
inline |
Definition at line 39 of file UtilParameters.h.
|
inline |
Definition at line 42 of file UtilParameters.h.
|
inline |
Definition at line 48 of file UtilParameters.h.
|
inline |
Definition at line 38 of file UtilParameters.h.
|
inline |
Definition at line 41 of file UtilParameters.h.
References ScanCmdLineArgs().
|
inline |
Definition at line 47 of file UtilParameters.h.
|
private |
void UtilParameters::ScanCmdLineArgs | ( | int & | argc, |
char * | argv[] | ||
) |
Referenced by UtilParameters().
void UtilParameters::LoadParamFile | ( | string & | paramFileName | ) |
void UtilParameters::Add | ( | string & | section, |
string & | name, | ||
string & | value | ||
) |
void UtilParameters::Add | ( | const char * | section, |
const char * | name, | ||
const char * | value | ||
) |
string UtilParameters::GetSetting | ( | const char * | name, |
const char * | defaultValue, | ||
const char * | section = NULL |
||
) |
Referenced by DippyDecompApp::DippyDecompApp(), MILP_Param::getSettings(), GAP_DecompParam::getSettings(), VRP_Param::getSettings(), SDPUC_Param::getSettings(), MCF_Param::getSettings(), ATM_Param::getSettings(), TSP_Param::getSettings(), MMKP_Param::getSettings(), DecompParam::getSettings(), AlpsDecompParam::getSettings(), and DecompParam::getSettingsImpl().
int UtilParameters::GetSetting | ( | const char * | name, |
const int | defaultValue, | ||
const char * | section = NULL |
||
) |
bool UtilParameters::GetSetting | ( | const char * | name, |
const bool | defaultValue, | ||
const char * | section = NULL |
||
) |
long UtilParameters::GetSetting | ( | const char * | name, |
const long | defaultValue, | ||
const char * | section = NULL |
||
) |
double UtilParameters::GetSetting | ( | const char * | name, |
const double | defaultValue, | ||
const char * | section = NULL |
||
) |
|
private |
|
private |
void UtilParameters::ScanCmdLineArgs | ( | int & | argc, |
char * | argv[] | ||
) |
void UtilParameters::LoadParamFile | ( | std::string & | paramFileName | ) |
void UtilParameters::Add | ( | std::string & | section, |
std::string & | name, | ||
std::string & | value | ||
) |
void UtilParameters::Add | ( | const char * | section, |
const char * | name, | ||
const char * | value | ||
) |
std::string UtilParameters::GetSetting | ( | const char * | name, |
const char * | defaultValue, | ||
const char * | section = NULL |
||
) |
int UtilParameters::GetSetting | ( | const char * | name, |
const int | defaultValue, | ||
const char * | section = NULL |
||
) |
bool UtilParameters::GetSetting | ( | const char * | name, |
const bool | defaultValue, | ||
const char * | section = NULL |
||
) |
long UtilParameters::GetSetting | ( | const char * | name, |
const long | defaultValue, | ||
const char * | section = NULL |
||
) |
double UtilParameters::GetSetting | ( | const char * | name, |
const double | defaultValue, | ||
const char * | section = NULL |
||
) |
std::string UtilParameters::GetSetting | ( | const char * | name, |
const std::string | defaultValue, | ||
const char * | section = NULL |
||
) |
|
private |
|
private |
|
private |
Definition at line 36 of file UtilParameters.h.
|
private |
Definition at line 35 of file UtilParameters.h.