#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, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and mps_fire::result.
T CommandLine::getValue | ( | const std::string & | name | ) |
Definition at line 74 of file Utilities.h.
References _options, _ordered_options, _unknowns, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mergeVDriftHistosByStation::name, mps_fire::result, and contentValuesCheck::ss.
Definition at line 91 of file Utilities.h.
References _options, _ordered_options, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mergeVDriftHistosByStation::name, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 106 of file Utilities.h.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mergeVDriftHistosByStation::name, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 128 of file Utilities.h.
References _options, _ordered_options, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mergeVDriftHistosByStation::name, mps_fire::result, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
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, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and mergeVDriftHistosByStation::name.
|
inline |
Definition at line 184 of file Utilities.h.
References _exe, _options, _ordered_options, _unknowns, dir2webdir::argc, GCPpyPlots::argv, gather_cfg::cout, mps_fire::i, GetRecoTauVFromDQM_MC_cff::next, das-up-to-nevents::opt, parse_file(), AlCaHLTBitMon_QueryRunRegistry::string, and summarizeEdmComparisonLogfiles::success.
|
inlineprivate |
Definition at line 277 of file Utilities.h.
References _options, gather_cfg::cout, isotrackNtuplerCondor::file_name, ALCARECOTkAlBeamHalo_cff::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, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
|
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().