CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
edm::eventsetup::heterocontainer::HCTypeTag Class Reference

#include <HCTypeTag.h>

Inheritance diagram for edm::eventsetup::heterocontainer::HCTypeTag:
edm::TypeIDBase

Public Member Functions

 HCTypeTag ()=default
 
char const * name () const
 
std::type_info const & value () const
 
- Public Member Functions inherited from edm::TypeIDBase
const char * name () const
 
bool operator< (const TypeIDBase &b) const
 
bool operator== (const TypeIDBase &b) const
 
 TypeIDBase ()
 
 TypeIDBase (const std::type_info &t)
 
 TypeIDBase (const std::type_info *t)
 

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 More...
 
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)
 
- Protected Member Functions inherited from edm::TypeIDBase
const std::type_info & typeInfo () const
 

Private Attributes

char const * m_name {""}
 

Detailed Description

Definition at line 38 of file HCTypeTag.h.

Constructor & Destructor Documentation

edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag ( )
default

Referenced by make().

edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag ( std::type_info const &  iValue,
char const *  iName 
)
inlineprotected

Definition at line 59 of file HCTypeTag.h.

59 : TypeIDBase(iValue), m_name(iName) {}
edm::eventsetup::heterocontainer::HCTypeTag::HCTypeTag ( TypeIDBase const &  iValue,
const char *  iName 
)
inlineprotected

Definition at line 61 of file HCTypeTag.h.

61 : TypeIDBase(iValue), m_name(iName) {}

Member Function Documentation

static HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::findType ( char const *  iTypeName)
static
static HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::findType ( std::string const &  iTypeName)
static
template<typename T >
static HCTypeTag edm::eventsetup::heterocontainer::HCTypeTag::make ( )
inlinestatic

Definition at line 53 of file HCTypeTag.h.

References HCTypeTag().

53  {
54  return HCTypeTag(typelookup::classTypeInfo<T>(), typelookup::className<T>());
55  }
char const* edm::eventsetup::heterocontainer::HCTypeTag::name ( void  ) const
inline
std::type_info const& edm::eventsetup::heterocontainer::HCTypeTag::value ( ) const
inline

Member Data Documentation

char const* edm::eventsetup::heterocontainer::HCTypeTag::m_name {""}
private

Definition at line 64 of file HCTypeTag.h.

Referenced by name().