#include <CmdLine.h>
Public Member Functions | |
unsigned | argc () const |
CmdLine (const unsigned argc, const char *const argv[]) | |
bool | has (const char *shortOpt, const char *longOpt=0) |
operator void * () const | |
template<typename T > | |
CmdLine & | operator>> (T &obj) |
void | optend () const |
OneShotIStream | option (const char *shortOpt, const char *longOpt=0) |
const char * | progname () const |
OneShotIStream | require (const char *shortOpt, const char *longOpt=0) |
Private Types | |
typedef std::list< Pair > | Optlist |
typedef std::pair< std::string, int > | Pair |
Private Member Functions | |
CmdLine () | |
Optlist::iterator | find (const char *shortOpt, const char *longOpt) |
Private Attributes | |
Optlist | args_ |
unsigned | nprogargs_ |
std::string | progname_ |
|
private |
|
private |
|
inline |
Definition at line 239 of file CmdLine.h.
References argc(), args_, i, relval_2017::k, nprogargs_, progname(), progname_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
inline |
|
inlineprivate |
Definition at line 225 of file CmdLine.h.
References args_.
Referenced by BeautifulSoup.Tag::__getattr__(), BeautifulSoup.Tag::firstText(), has(), and option().
|
inline |
Definition at line 306 of file CmdLine.h.
References args_, find(), and newFWLiteAna::found.
Referenced by VisualizationOptions::load().
|
inline |
|
inline |
|
inline |
Definition at line 322 of file CmdLine.h.
References args_, find(), nprogargs_, and mps_fire::result.
Referenced by VisualizationOptions::load(), and require().
|
inline |
|
inline |
Definition at line 344 of file CmdLine.h.
References relativeConstraints::empty, cmdline::OneShotIStream::isValid(), option(), and alignCSCRings::s.
|
private |
Definition at line 396 of file CmdLine.h.
Referenced by CmdLine(), find(), has(), operator>>(), optend(), option(), valtools.webpage::parseArgs(), and batchmanager.BatchManager::ParseOptions().
|
private |
Definition at line 397 of file CmdLine.h.
Referenced by argc(), CmdLine(), operator void *(), operator>>(), and option().
|
private |
Definition at line 395 of file CmdLine.h.
Referenced by CmdLine(), and progname().