![]() |
AmpGen 2.1
|
Definition at line 17 of file OptionsParser.h.
Public Types | |
| typedef std::map< std::string, std::vector< std::string > >::const_iterator | const_iterator |
| typedef std::map< std::string, std::vector< std::string > >::iterator | iterator |
Public Member Functions | |
| void | setQuiet () |
| void | addArg (const std::string &arg) |
| void | setCommandLineArgs (int argc, char **argv, const std::string &description="") |
| void | import (const std::string &fName) |
| iterator | find (const std::string &name) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| std::vector< std::vector< std::string > > | getInputOrdered () const |
| const std::vector< const ConfigurableBase * > & | configurables () const |
| template<typename T> | |
| T * | registerClass (T *object) |
| void | print () const |
| void | addToConfigurables (const ConfigurableBase *) |
Static Public Member Functions | |
| static OptionsParser * | getMe () |
| static bool | printHelp () |
| static void | setArgs (int argc, char **argv, const std::string &description="") |
| static void | setArg (const std::string &arg) |
| typedef std::map<std::string,std::vector<std::string>>::const_iterator AmpGen::OptionsParser::const_iterator |
Definition at line 19 of file OptionsParser.h.
| typedef std::map<std::string,std::vector<std::string>>::iterator AmpGen::OptionsParser::iterator |
Definition at line 20 of file OptionsParser.h.
| void AmpGen::OptionsParser::addArg | ( | const std::string & | arg | ) |
| void AmpGen::OptionsParser::addToConfigurables | ( | const ConfigurableBase * | ) |
| iterator AmpGen::OptionsParser::begin | ( | ) |
| const_iterator AmpGen::OptionsParser::begin | ( | ) | const |
|
inline |
Definition at line 37 of file OptionsParser.h.
| iterator AmpGen::OptionsParser::end | ( | ) |
| const_iterator AmpGen::OptionsParser::end | ( | ) | const |
| iterator AmpGen::OptionsParser::find | ( | const std::string & | name | ) |
| std::vector< std::vector< std::string > > AmpGen::OptionsParser::getInputOrdered | ( | ) | const |
|
static |
| void AmpGen::OptionsParser::import | ( | const std::string & | fName | ) |
| void AmpGen::OptionsParser::print | ( | ) | const |
|
static |
|
inline |
Definition at line 38 of file OptionsParser.h.
|
static |
|
static |
| void AmpGen::OptionsParser::setCommandLineArgs | ( | int | argc, |
| char ** | argv, | ||
| const std::string & | description = "" ) |
| void AmpGen::OptionsParser::setQuiet | ( | ) |