#include <Utilities.h>
Public Member Functions | |
bool | check () |
CommandLine () | |
template<class T > | |
T | getValue (const std::string &name) |
template<class T > | |
T | getValue (const std::string &name, T default_value) |
template<> | |
bool | getValue (const std::string &name) |
template<> | |
bool | getValue (const std::string &name, bool default_value) |
template<class T > | |
std::vector< T > | getVector (const std::string &name) |
template<class T > | |
std::vector< T > | getVector (const std::string &name, const std::string &default_as_string) |
bool | parse (int argc, char **argv) |
void | print () |
~CommandLine () | |
Private Types | |
typedef std::map< std::string, std::pair< std::string, bool > > | OptionMap_t |
typedef std::vector< std::string > | StrVec_t |
Private Member Functions | |
bool | parse_file (const std::string &file_name) |
Private Attributes | |
std::string | _exe |
OptionMap_t | _options |
StrVec_t | _ordered_options |
StrVec_t | _unknowns |
Definition at line 24 of file Utilities.h.
|
private |
Definition at line 56 of file Utilities.h.
|
private |
Definition at line 57 of file Utilities.h.
|
inline |
Definition at line 177 of file Utilities.h.
|
inline |
Definition at line 179 of file Utilities.h.
|
inline |
Definition at line 224 of file Utilities.h.
References _options, _unknowns, gather_cfg::cout, and mps_fire::result.
Referenced by main().
T CommandLine::getValue | ( | const std::string & | name | ) |
Definition at line 74 of file Utilities.h.
References _options, _ordered_options, _unknowns, mps_fire::result, and contentValuesCheck::ss.
Referenced by main().
Definition at line 91 of file Utilities.h.
References _options, _ordered_options, mergeVDriftHistosByStation::name, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 106 of file Utilities.h.
References mergeVDriftHistosByStation::name, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 128 of file Utilities.h.
References _options, _ordered_options, and mergeVDriftHistosByStation::name.
std::vector< T > CommandLine::getVector | ( | const std::string & | name | ) |
Definition at line 139 of file Utilities.h.
References _options, _ordered_options, _unknowns, mps_fire::result, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by main().
std::vector< T > CommandLine::getVector | ( | const std::string & | name, |
const std::string & | default_as_string | ||
) |
Definition at line 166 of file Utilities.h.
References _options, and mergeVDriftHistosByStation::name.
|
inline |
Definition at line 184 of file Utilities.h.
References _exe, _options, _ordered_options, _unknowns, dir2webdir::argc, gather_cfg::cout, mps_fire::i, GetRecoTauVFromDQM_MC_cff::next, runTheMatrix::opt, parse_file(), AlCaHLTBitMon_QueryRunRegistry::string, and summarizeEdmComparisonLogfiles::success.
Referenced by main().
|
inlineprivate |
Definition at line 277 of file Utilities.h.
References _options, gather_cfg::cout, alcazmumu_cfi::filter, groupFilesInBlocks::fin, submitPVResolutionJobs::key, GetRecoTauVFromDQM_MC_cff::next, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, unpackBuffers-CaloStage2::token, and relativeConstraints::value.
Referenced by parse().
|
inline |
Definition at line 245 of file Utilities.h.
References _exe, _options, _ordered_options, cms::cuda::assert(), gather_cfg::cout, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by main().
|
private |
Definition at line 62 of file Utilities.h.
|
private |
Definition at line 63 of file Utilities.h.
Referenced by check(), getValue(), getVector(), parse(), parse_file(), and print().
|
private |
Definition at line 64 of file Utilities.h.
Referenced by getValue(), getVector(), parse(), and print().
|
private |
Definition at line 65 of file Utilities.h.
Referenced by check(), getValue(), getVector(), and parse().