#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=nullptr) |
operator void * () const | |
template<typename T > | |
CmdLine & | operator>> (T &obj) |
void | optend () const |
OneShotIStream | option (const char *shortOpt, const char *longOpt=nullptr) |
const char * | progname () const |
OneShotIStream | require (const char *shortOpt, const char *longOpt=nullptr) |
Private Types | |
typedef std::list< Pair > | Optlist |
typedef std::pair< std::string, int > | Pair |
Private Member Functions | |
CmdLine ()=delete | |
Optlist::iterator | find (const char *shortOpt, const char *longOpt) |
Private Attributes | |
Optlist | args_ |
unsigned | nprogargs_ |
std::string | progname_ |
|
private |
|
private |
|
inline |
Definition at line 225 of file CmdLine.h.
References argc(), args_, cmsBatch::argv, mps_fire::i, dqmdumpme::k, nprogargs_, progname(), progname_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatedelete |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 278 of file CmdLine.h.
References args_, find(), and newFWLiteAna::found.
|
inline |
|
inline |
|
inline |
Definition at line 291 of file CmdLine.h.
References args_, find(), nprogargs_, and mps_fire::result.
Referenced by require().
|
inline |
|
inline |
Definition at line 307 of file CmdLine.h.
References relativeConstraints::empty, cmdline::OneShotIStream::isValid(), option(), and alignCSCRings::s.
|
private |
Definition at line 346 of file CmdLine.h.
Referenced by CmdLine(), find(), has(), operator>>(), optend(), option(), and batchmanager.BatchManager::ParseOptions().
|
private |
Definition at line 347 of file CmdLine.h.
Referenced by argc(), CmdLine(), operator void *(), operator>>(), and option().
|
private |
Definition at line 345 of file CmdLine.h.
Referenced by CmdLine(), and progname().