#include <CmsRunParser.h>
Public Types | |
using | MapOrExit = std::variant< boost::program_options::variables_map, int > |
Public Member Functions | |
CmsRunParser (const char *name) | |
MapOrExit | parse (int argc, const char *argv[]) const |
Static Public Member Functions | |
static int | getExit (const MapOrExit &output) |
static boost::program_options::variables_map | getVM (const MapOrExit &output) |
static bool | hasExit (const MapOrExit &output) |
static bool | hasVM (const MapOrExit &output) |
Static Public Attributes | |
static const char *const | kCmdCommandOpt = "command,c" |
static const char *const | kCmdOpt = "command" |
static const char *const | kEnableJobreportCommandOpt = "enablejobreport,e" |
static const char *const | kEnableJobreportOpt = "enablejobreport" |
static const char *const | kHelpCommandOpt = "help,h" |
static const char *const | kHelpOpt = "help" |
static const char *const | kJobModeCommandOpt = "mode,m" |
static const char *const | kJobModeOpt = "mode" |
static const char *const | kJobreportCommandOpt = "jobreport,j" |
static const char *const | kJobreportOpt = "jobreport" |
static const char *const | kNumberOfThreadsCommandOpt = "numThreads,n" |
static const char *const | kNumberOfThreadsOpt = "numThreads" |
static const char *const | kParameterSetOpt = "parameter-set" |
static const char *const | kPythonOpt = "pythonOptions" |
static const char *const | kPythonOptDefault = "CMSRUN_PYTHONOPT_DEFAULT" |
static const char *const | kSizeOfStackForThreadCommandOpt = "sizeOfStackForThreadsInKB,s" |
static const char *const | kSizeOfStackForThreadOpt = "sizeOfStackForThreadsInKB" |
static const char *const | kStrictOpt = "strict" |
Private Attributes | |
boost::program_options::options_description | all_options_ |
boost::program_options::options_description | desc_ |
boost::program_options::positional_options_description | pos_options_ |
Definition at line 9 of file CmsRunParser.h.
using edm::CmsRunParser::MapOrExit = std::variant<boost::program_options::variables_map, int> |
Definition at line 11 of file CmsRunParser.h.
edm::CmsRunParser::CmsRunParser | ( | const char * | name | ) |
Definition at line 53 of file CmsRunParser.cc.
References all_options_, desc_, kCmdCommandOpt, kEnableJobreportCommandOpt, kHelpCommandOpt, kJobModeCommandOpt, kJobreportCommandOpt, kNumberOfThreadsCommandOpt, kParameterSetOpt, kPythonOpt, kSizeOfStackForThreadCommandOpt, kStrictOpt, pos_options_, and relativeConstraints::value.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
CmsRunParser::MapOrExit edm::CmsRunParser::parse | ( | int | argc, |
const char * | argv[] | ||
) | const |
Definition at line 90 of file CmsRunParser.cc.
References all_options_, dir2webdir::argc, GCPpyPlots::argv, edm::errors::CommandLineProcessing, gather_cfg::cout, desc_, relativeConstraints::error, edm::HaltMessageLogging(), kHelpOpt, kPythonOpt, kPythonOptDefault, AlcaSiPixelAliHarvester0T_cff::options, pos_options_, and writedatasetfile::run.
|
private |
Definition at line 26 of file CmsRunParser.h.
Referenced by CmsRunParser(), and parse().
|
private |
Definition at line 25 of file CmsRunParser.h.
Referenced by CmsRunParser(), and parse().
|
inlinestatic |
Definition at line 34 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 35 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 38 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 39 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 47 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 46 of file CmsRunParser.h.
Referenced by parse().
|
inlinestatic |
Definition at line 40 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 41 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 36 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 37 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 42 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 43 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 31 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 32 of file CmsRunParser.h.
Referenced by CmsRunParser(), and parse().
|
inlinestatic |
Definition at line 33 of file CmsRunParser.h.
Referenced by parse().
|
inlinestatic |
Definition at line 44 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
inlinestatic |
Definition at line 45 of file CmsRunParser.h.
|
inlinestatic |
Definition at line 48 of file CmsRunParser.h.
Referenced by CmsRunParser().
|
private |
Definition at line 27 of file CmsRunParser.h.
Referenced by CmsRunParser(), and parse().