![]() |
![]() |
#include <HCTypeTag.h>
Public Member Functions | |
HCTypeTag () | |
char const * | name () const |
std::type_info const & | value () const |
Static Public Member Functions | |
static HCTypeTag | findType (char const *iTypeName) |
find a type based on the types name, if not found will return default HCTypeTag | |
static HCTypeTag | findType (std::string const &iTypeName) |
template<typename T > | |
static HCTypeTag | make () |
Protected Member Functions | |
HCTypeTag (std::type_info const &iValue, char const *iName) | |
HCTypeTag (TypeIDBase const &iValue, const char *iName) | |
Private Attributes | |
char const * | m_name |
Definition at line 38 of file HCTypeTag.h.
edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag | ( | ) | [inline] |
edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag | ( | std::type_info const & | iValue, |
char const * | iName | ||
) | [inline, protected] |
Definition at line 64 of file HCTypeTag.h.
: TypeIDBase(iValue), m_name(iName) {}
edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag | ( | TypeIDBase const & | iValue, |
const char * | iName | ||
) | [inline, protected] |
Definition at line 67 of file HCTypeTag.h.
: TypeIDBase(iValue), m_name(iName) {}
HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::findType | ( | char const * | iTypeName | ) | [static] |
find a type based on the types name, if not found will return default HCTypeTag
Definition at line 129 of file HCTypeTag.cc.
References HCTypeTag(), and L1TEmulatorMonitor_cff::p.
Referenced by DTKeyedConfigDBDump::analyze(), L1RCTChannelMaskTester::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), edmtest::RunInfoESAnalyzer::analyze(), edmtest::L1TriggerScalerESAnalyzer::analyze(), edmtest::DQMSummaryEventSetupAnalyzer::analyze(), DQMDaqInfo::beginLuminosityBlock(), ESDaqInfoTask::beginLuminosityBlock(), RPCDaqInfo::beginLuminosityBlock(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), SiStripCertificationInfo::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), SiStripDcsInfo::beginRun(), RPCDCSSummary::beginRun(), edmtest::DQMXMLFileEventSetupAnalyzer::beginRun(), QualityTester::beginRun(), SiStripOfflineDQM::beginRun(), SiStripDaqInfo::beginRun(), SiStripFedCablingReader::beginRun(), CondDBESSource::CondDBESSource(), edm::eventsetup::determinePreferred(), edm::EventSetupRecordDataGetter::doGet(), SiPixelDcsInfo::endLuminosityBlock(), SiPixelDaqInfo::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), SiPixelDcsInfo::endRun(), SiPixelDaqInfo::endRun(), and findType().
{ std::pair<const char*,const std::type_info*> p = typelookup::findType(iTypeName); if(0 == p.second) { return HCTypeTag(); } //need to take name from the 'findType' since that address is guaranteed to be long lived return HCTypeTag(*p.second, p.first); }
HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::findType | ( | std::string const & | iTypeName | ) | [static] |
Definition at line 124 of file HCTypeTag.cc.
References findType().
{ return HCTypeTag::findType(iTypeName.c_str()); }
static HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::make | ( | ) | [inline, static] |
Definition at line 58 of file HCTypeTag.h.
References HCTypeTag().
{ return HCTypeTag(typelookup::classTypeInfo<T>(),typelookup::className<T>()); }
char const* edm::eventsetup::heterocontainer::HCTypeTag::name | ( | void | ) | const [inline] |
Returned C-style string owned by system; do not delete[] it. This is the (horrible, mangled, platform-dependent) name of the type.
Reimplemented from edm::TypeIDBase.
Definition at line 51 of file HCTypeTag.h.
References m_name.
Referenced by edm::eventsetup::EventSetupRecord::add(), edm::eventsetup::EventSetupRecord::addTraceInfoToCmsException(), edm::eventsetup::EventSetupRecord::changeStdExceptionToCmsException(), edm::eventsetup::DependentRecordImplementation< L1GctChannelMaskRcd, boost::mpl::vector< L1TriggerKeyListRcd, L1TriggerKeyRcd > >::getRecord(), edm::eventsetup::EventSetupRecordKey::name(), edm::eventsetup::no_dependent_record_exception_message_builder(), and edm::eventsetup::MakeDataException::standardMessage().
{ return m_name; }
std::type_info const& edm::eventsetup::heterocontainer::HCTypeTag::value | ( | ) | const [inline] |
Definition at line 50 of file HCTypeTag.h.
References edm::TypeIDBase::typeInfo().
{ return typeInfo(); }
char const* edm::eventsetup::heterocontainer::HCTypeTag::m_name [private] |
Definition at line 83 of file HCTypeTag.h.
Referenced by name().