Public Member Functions | |
Args () | |
std::vector< std::string > | arguments () const |
std::string | command () const |
void | defineOption (const std::string &fOption, const std::string &fComment="") |
void | defineParameter (const std::string &fParameter, const std::string &fComment="") |
std::string | getParameter (const std::string &fKey) |
bool | optionIsSet (const std::string &fOption) const |
void | parse (int nArgs, char *fArgs[]) |
void | printOptionsHelp () const |
~Args () | |
Private Attributes | |
std::vector< std::string > | mArgs |
std::map< std::string, std::string > | mComments |
std::vector< std::string > | mOptions |
std::vector< std::string > | mParameters |
std::map< std::string, std::string > | mParsed |
std::string | mProgramName |
Definition at line 31 of file hcalPublishConditions.cc.
|
inline |
Definition at line 33 of file hcalPublishConditions.cc.
|
inline |
Definition at line 34 of file hcalPublishConditions.cc.
References arguments(), mps_check::command, defineOption(), defineParameter(), getParameter(), optionIsSet(), dumpparser::parse(), printOptionsHelp(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< std::string > Args::arguments | ( | ) | const |
Definition at line 181 of file hcalInitDb.cc.
References arguments(), and mArgs.
Referenced by arguments(), and ~Args().
std::string Args::command | ( | ) | const |
Definition at line 176 of file hcalInitDb.cc.
References mProgramName, and AlCaHLTBitMon_QueryRunRegistry::string.
void Args::defineOption | ( | const std::string & | fOption, |
const std::string & | fComment = "" |
||
) |
Definition at line 125 of file hcalInitDb.cc.
References defineOption(), mComments, and mOptions.
Referenced by defineOption(), and ~Args().
void Args::defineParameter | ( | const std::string & | fParameter, |
const std::string & | fComment = "" |
||
) |
Definition at line 130 of file hcalInitDb.cc.
References defineParameter(), mComments, and mParameters.
Referenced by defineParameter(), and ~Args().
std::string Args::getParameter | ( | const std::string & | fKey | ) |
Definition at line 187 of file hcalInitDb.cc.
References getParameter(), mParsed, and optionIsSet().
Referenced by getParameter(), Mixins._Parameterizable::hasParameter(), and ~Args().
bool Args::optionIsSet | ( | const std::string & | fOption | ) | const |
Definition at line 183 of file hcalInitDb.cc.
References mParsed, and optionIsSet().
Referenced by getParameter(), optionIsSet(), and ~Args().
void Args::parse | ( | int | nArgs, |
char * | fArgs[] | ||
) |
Definition at line 135 of file hcalInitDb.cc.
References MessageLogger_cfi::cerr, spr::find(), mArgs, mOptions, mParameters, mParsed, mProgramName, and AlCaHLTBitMon_QueryRunRegistry::string.
void Args::printOptionsHelp | ( | ) | const |
Definition at line 158 of file hcalInitDb.cc.
References comment, gather_cfg::cout, mps_fire::i, mComments, mOptions, mParameters, printOptionsHelp(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printOptionsHelp(), and ~Args().
|
private |
Definition at line 47 of file hcalPublishConditions.cc.
Referenced by arguments(), and parse().
|
private |
Definition at line 49 of file hcalPublishConditions.cc.
Referenced by defineOption(), defineParameter(), and printOptionsHelp().
|
private |
Definition at line 45 of file hcalPublishConditions.cc.
Referenced by defineOption(), parse(), and printOptionsHelp().
|
private |
Definition at line 46 of file hcalPublishConditions.cc.
Referenced by defineParameter(), parse(), and printOptionsHelp().
|
private |
Definition at line 48 of file hcalPublishConditions.cc.
Referenced by getParameter(), optionIsSet(), and parse().
|
private |
Definition at line 44 of file hcalPublishConditions.cc.