#include <CmsMTDStringToEnum.h>
Classes | |
struct | Impl |
Public Types | |
typedef std::map< std::string, GeometricTimingDet::GeometricTimingEnumType > | MapEnumType |
typedef std::map< GeometricTimingDet::GeometricTimingEnumType, std::string > | ReverseMapEnumType |
Public Member Functions | |
std::string const & | name (GeometricTimingDet::GeometricTimingEnumType) const |
GeometricTimingDet::GeometricTimingEnumType | type (std::string const &) const |
Static Private Member Functions | |
static MapEnumType const & | map () |
static ReverseMapEnumType const & | reverseMap () |
Static Private Attributes | |
static const Impl | m_impl |
Builds map between Det type and an enum
Definition at line 10 of file CmsMTDStringToEnum.h.
typedef std::map<std::string, GeometricTimingDet::GeometricTimingEnumType> CmsMTDStringToEnum::MapEnumType |
Definition at line 12 of file CmsMTDStringToEnum.h.
typedef std::map<GeometricTimingDet::GeometricTimingEnumType, std::string> CmsMTDStringToEnum::ReverseMapEnumType |
Definition at line 13 of file CmsMTDStringToEnum.h.
|
inlinestaticprivate |
Definition at line 19 of file CmsMTDStringToEnum.h.
References CmsMTDStringToEnum::Impl::_map, and m_impl.
Referenced by type().
std::string const & CmsMTDStringToEnum::name | ( | GeometricTimingDet::GeometricTimingEnumType | t | ) | const |
Definition at line 78 of file CmsMTDStringToEnum.cc.
References end, AlCaHLTBitMon_ParallelJobs::p, reverseMap(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inlinestaticprivate |
Definition at line 20 of file CmsMTDStringToEnum.h.
References CmsMTDStringToEnum::Impl::_reverseMap, and m_impl.
Referenced by name().
GeometricTimingDet::GeometricTimingEnumType CmsMTDStringToEnum::type | ( | std::string const & | s | ) | const |
Definition at line 67 of file CmsMTDStringToEnum.cc.
References dqmdumpme::first, map(), min(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, GeometricTimingDet::unknown, and findQualityFiles::v.
Referenced by CmsMTDConstruction::buildBTLModule(), CmsMTDConstruction::buildComponent(), CmsMTDTrayBuilder::buildComponent(), CmsMTDBuilder::buildComponent(), CmsMTDEndcapBuilder::buildComponent(), CmsMTDSubStrctBuilder::buildComponent(), CmsMTDConstruction::buildETLModule(), and DDDCmsMTDConstruction::construct().
|
staticprivate |
Definition at line 29 of file CmsMTDStringToEnum.h.
Referenced by map(), and reverseMap().