UtilApp Class Reference

#include <UtilApp.h>

Collaboration diagram for UtilApp:
Collaboration graph
[legend]

List of all members.

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 &section) const
std::string GetSetting (const char *name, const char *defaultValue, const std::string &section) const
short GetSetting (const char *name, short defaultValue, const std::string &section) const
int GetSetting (const char *name, int defaultValue, const std::string &section) const
long GetSetting (const char *name, long defaultValue, const std::string &section) const
double GetSetting (const char *name, double defaultValue, const std::string &section) const
void LoadParmFile (std::string &fname)

Static Public Member Functions

static UtilAppTheApp ()

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 UtilAppm_theApp

Private Member Functions

UtilAppoperator= (const UtilApp &rhs)
bool operator== (const UtilApp &rhs) const
bool operator< (const UtilApp &rhs) const
void ScanCmdLineArgs (int &argc, char *argv[])

Detailed Description

Definition at line 21 of file UtilApp.h.


Member Typedef Documentation

typedef std::map<std::string,std::string,less<std::string> > UtilApp::PARM_MAP [protected]

Definition at line 118 of file UtilApp.h.


Constructor & Destructor Documentation

UtilApp::UtilApp ( int &  argc,
char *  argv[] 
)
UtilApp::UtilApp (  )  [inline]

Definition at line 25 of file UtilApp.h.

UtilApp::~UtilApp (  ) 

Member Function Documentation

static UtilApp& UtilApp::TheApp (  )  [inline, static]

Definition at line 33 of file UtilApp.h.

References m_theApp.

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]

Definition at line 65 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

std::string UtilApp::GetSetting ( const char *  name,
const char *  defaultValue,
const std::string &  section 
) const [inline]

Definition at line 70 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

short UtilApp::GetSetting ( const char *  name,
short  defaultValue,
const std::string &  section 
) const [inline]

Definition at line 74 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

int UtilApp::GetSetting ( const char *  name,
int  defaultValue,
const std::string &  section 
) const [inline]

Definition at line 78 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

long UtilApp::GetSetting ( const char *  name,
long  defaultValue,
const std::string &  section 
) const [inline]

Definition at line 82 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

double UtilApp::GetSetting ( const char *  name,
double  defaultValue,
const std::string &  section 
) const [inline]

Definition at line 86 of file UtilApp.h.

References GetSetting().

Referenced by GetSetting().

void UtilApp::LoadParmFile ( std::string &  fname  ) 
UtilApp& UtilApp::operator= ( const UtilApp rhs  )  [private]
bool UtilApp::operator== ( const UtilApp rhs  )  const [private]
bool UtilApp::operator< ( const UtilApp rhs  )  const [private]
void UtilApp::ScanCmdLineArgs ( int &  argc,
char *  argv[] 
) [private]

Member Data Documentation

Definition at line 91 of file UtilApp.h.

std::string UtilApp::m_machine [protected]

Definition at line 111 of file UtilApp.h.

std::string UtilApp::m_program [protected]

Definition at line 112 of file UtilApp.h.

std::string UtilApp::m_fullPathname [protected]

Definition at line 113 of file UtilApp.h.

int UtilApp::m_pid [protected]

Definition at line 114 of file UtilApp.h.

UtilApp* UtilApp::m_theApp [static, protected]

Definition at line 121 of file UtilApp.h.

Referenced by TheApp().


The documentation for this class was generated from the following file:

Generated on 12 Feb 2015 for Dip-All by  doxygen 1.6.1