#include <UtilApp.h>

Public Member Functions | |
| UtilApp (int &argc, char *argv[]) | |
| UtilApp () | |
| ~UtilApp () | |
| const std::string & | Machine () |
| const std::string & | Program () const |
| const std::string & | FullPathname () const |
| int | Pid () |
| bool | GetSetting (const char *name, bool defaultValue=true, const char *section=NULL) const |
| std::string | GetSetting (const char *name, const char *defaultValue, const char *section=NULL) const |
| short | GetSetting (const char *name, short defaultValue, const char *section=NULL) const |
| int | GetSetting (const char *name, int defaultValue, const char *section=NULL) const |
| long | GetSetting (const char *name, long defaultValue, const char *section=NULL) const |
| double | GetSetting (const char *name, double defaultValue, const char *section=NULL) const |
| bool | GetSetting (const char *name, bool defaultValue, const std::string §ion) const |
| std::string | GetSetting (const char *name, const char *defaultValue, const std::string §ion) const |
| short | GetSetting (const char *name, short defaultValue, const std::string §ion) const |
| int | GetSetting (const char *name, int defaultValue, const std::string §ion) const |
| long | GetSetting (const char *name, long defaultValue, const std::string §ion) const |
| double | GetSetting (const char *name, double defaultValue, const std::string §ion) const |
| void | LoadParmFile (std::string &fname) |
Static Public Member Functions | |
| static UtilApp & | TheApp () |
Public Attributes | |
| UtilParameters | m_parms |
Protected Types | |
| typedef std::map< std::string, std::string, less< std::string > > | PARM_MAP |
Protected Attributes | |
| std::string | m_machine |
| std::string | m_program |
| std::string | m_fullPathname |
| int | m_pid |
Static Protected Attributes | |
| static UtilApp * | m_theApp |
Private Member Functions | |
| UtilApp & | operator= (const UtilApp &rhs) |
| bool | operator== (const UtilApp &rhs) const |
| bool | operator< (const UtilApp &rhs) const |
| void | ScanCmdLineArgs (int &argc, char *argv[]) |
Definition at line 21 of file UtilApp.h.
typedef std::map<std::string,std::string,less<std::string> > UtilApp::PARM_MAP [protected] |
| UtilApp::UtilApp | ( | int & | argc, | |
| char * | argv[] | |||
| ) |
| UtilApp::~UtilApp | ( | ) |
| static UtilApp& UtilApp::TheApp | ( | ) | [inline, static] |
| const std::string& UtilApp::Machine | ( | ) |
| const std::string& UtilApp::Program | ( | ) | const |
| const std::string& UtilApp::FullPathname | ( | ) | const |
| int UtilApp::Pid | ( | ) |
| bool UtilApp::GetSetting | ( | const char * | name, | |
| bool | defaultValue = true, |
|||
| const char * | section = NULL | |||
| ) | const |
| std::string UtilApp::GetSetting | ( | const char * | name, | |
| const char * | defaultValue, | |||
| const char * | section = NULL | |||
| ) | const |
| short UtilApp::GetSetting | ( | const char * | name, | |
| short | defaultValue, | |||
| const char * | section = NULL | |||
| ) | const |
| int UtilApp::GetSetting | ( | const char * | name, | |
| int | defaultValue, | |||
| const char * | section = NULL | |||
| ) | const |
| long UtilApp::GetSetting | ( | const char * | name, | |
| long | defaultValue, | |||
| const char * | section = NULL | |||
| ) | const |
| double UtilApp::GetSetting | ( | const char * | name, | |
| double | defaultValue, | |||
| const char * | section = NULL | |||
| ) | const |
| bool UtilApp::GetSetting | ( | const char * | name, | |
| bool | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| std::string UtilApp::GetSetting | ( | const char * | name, | |
| const char * | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| short UtilApp::GetSetting | ( | const char * | name, | |
| short | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| int UtilApp::GetSetting | ( | const char * | name, | |
| int | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| long UtilApp::GetSetting | ( | const char * | name, | |
| long | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| double UtilApp::GetSetting | ( | const char * | name, | |
| double | defaultValue, | |||
| const std::string & | section | |||
| ) | const [inline] |
| void UtilApp::LoadParmFile | ( | std::string & | fname | ) |
| bool UtilApp::operator== | ( | const UtilApp & | rhs | ) | const [private] |
| bool UtilApp::operator< | ( | const UtilApp & | rhs | ) | const [private] |
| void UtilApp::ScanCmdLineArgs | ( | int & | argc, | |
| char * | argv[] | |||
| ) | [private] |
std::string UtilApp::m_machine [protected] |
std::string UtilApp::m_program [protected] |
std::string UtilApp::m_fullPathname [protected] |
int UtilApp::m_pid [protected] |
UtilApp* UtilApp::m_theApp [static, protected] |
1.6.1