![]() |
![]() |
#include <TypeIDBase.h>
Classes | |
struct | Def |
Public Member Functions | |
const char * | name () const |
bool | operator< (const TypeIDBase &b) const |
bool | operator== (const TypeIDBase &b) const |
TypeIDBase (const TypeIDBase &other) | |
TypeIDBase () | |
TypeIDBase (const std::type_info &t) | |
Protected Member Functions | |
const std::type_info & | typeInfo () const |
Private Attributes | |
const std::type_info * | t_ |
Definition at line 30 of file TypeIDBase.h.
edm::TypeIDBase::TypeIDBase | ( | ) | [inline] |
Definition at line 36 of file TypeIDBase.h.
: t_(&(typeid(Def))) { }
edm::TypeIDBase::TypeIDBase | ( | const TypeIDBase & | other | ) | [inline] |
Definition at line 40 of file TypeIDBase.h.
: t_(other.t_) { }
edm::TypeIDBase::TypeIDBase | ( | const std::type_info & | t | ) | [inline, explicit] |
Definition at line 44 of file TypeIDBase.h.
const char* edm::TypeIDBase::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 in edm::eventsetup::heterocontainer::HCTypeTag.
Definition at line 53 of file TypeIDBase.h.
References t_.
{ return t_->name(); }
bool edm::TypeIDBase::operator< | ( | const TypeIDBase & | b | ) | const [inline] |
bool edm::TypeIDBase::operator== | ( | const TypeIDBase & | b | ) | const [inline] |
const std::type_info& edm::TypeIDBase::typeInfo | ( | ) | const [inline, protected] |
Definition at line 59 of file TypeIDBase.h.
References t_.
Referenced by edm::TypeID::className(), fwlite::Record::get(), edm::TypeID::hasDictionary(), edm::TypeID::print(), and edm::eventsetup::heterocontainer::HCTypeTag::value().
{return *t_;}
const std::type_info* edm::TypeIDBase::t_ [private] |
Definition at line 69 of file TypeIDBase.h.
Referenced by name(), operator<(), operator==(), and typeInfo().