![]() |
Diana Software
|
Public Member Functions | |
| virtual | ~QOptionHandler () |
| void | Parse (int, char **) |
| const std::string & | GetStringParam (const std::string &name) |
| int | GetIntParam (const std::string &name) |
| double | GetRealParam (const std::string &name) |
| bool | CheckParam (const std::string &name) |
| void | Dump (std::ostream &c=std::cout) |
Static Public Member Functions | |
| static QOptionHandler * | Get () |
Private Member Functions | |
| QOptionHandler () | |
Private Attributes | |
| std::map< std::string, std::string > | s_options |
| std::map< std::string, int > | i_options |
| std::map< std::string, double > | d_options |
Static Private Attributes | |
| static QOptionHandler * | me = 0 |
Definition at line 19 of file QOptionHandler.hh.
|
virtual |
Definition at line 32 of file QOptionHandler.cc.
|
private |
Definition at line 21 of file QOptionHandler.cc.
Referenced by Get().
| bool QOptionHandler::CheckParam | ( | const std::string & | name | ) |
Definition at line 146 of file QOptionHandler.cc.
| void QOptionHandler::Dump | ( | std::ostream & | c = std::cout | ) |
Definition at line 164 of file QOptionHandler.cc.
|
static |
Definition at line 43 of file QOptionHandler.cc.
References me, and QOptionHandler().
| int QOptionHandler::GetIntParam | ( | const std::string & | name | ) |
Definition at line 119 of file QOptionHandler.cc.
References i_options.
| double QOptionHandler::GetRealParam | ( | const std::string & | name | ) |
Definition at line 132 of file QOptionHandler.cc.
References d_options.
| const std::string & QOptionHandler::GetStringParam | ( | const std::string & | name | ) |
Definition at line 105 of file QOptionHandler.cc.
References s_options.
| void QOptionHandler::Parse | ( | int | n, |
| char ** | par | ||
| ) |
Definition at line 56 of file QOptionHandler.cc.
|
private |
Definition at line 54 of file QOptionHandler.hh.
Referenced by CheckParam(), Dump(), GetRealParam(), and Parse().
|
private |
Definition at line 53 of file QOptionHandler.hh.
Referenced by CheckParam(), Dump(), GetIntParam(), and Parse().
|
staticprivate |
Definition at line 50 of file QOptionHandler.hh.
Referenced by Get().
|
private |
Definition at line 52 of file QOptionHandler.hh.
Referenced by CheckParam(), Dump(), GetStringParam(), and Parse().