#include <UserData.h>
Public Member Functions | |
virtual UserHolder< T > * | clone () const |
Clone. | |
virtual const std::type_info & | typeId () const |
Concrete type of stored data. | |
virtual const std::string & | typeName () const |
Human readable name of the concrete type of stored data. | |
UserHolder () | |
UserHolder (const T &data) | |
Protected Member Functions | |
virtual const void * | data_ () const |
Get out the data (can't template non virtual functions) | |
Static Private Member Functions | |
static const std::string & | typeName_ () |
Private Attributes | |
T | obj_ |
Definition at line 67 of file UserData.h.
pat::UserHolder< T >::UserHolder | ( | ) | [inline] |
Definition at line 69 of file UserData.h.
: obj_() {}
pat::UserHolder< T >::UserHolder | ( | const T & | data | ) | [inline] |
Definition at line 70 of file UserData.h.
virtual UserHolder<T>* pat::UserHolder< T >::clone | ( | void | ) | const [inline, virtual] |
Clone.
Implements pat::UserData.
Definition at line 72 of file UserData.h.
{ return new UserHolder<T>(*this); }
virtual const void* pat::UserHolder< T >::data_ | ( | ) | const [inline, protected, virtual] |
Get out the data (can't template non virtual functions)
Implements pat::UserData.
Definition at line 78 of file UserData.h.
References pat::UserHolder< T >::obj_.
{ return &obj_; }
virtual const std::type_info& pat::UserHolder< T >::typeId | ( | ) | const [inline, virtual] |
Concrete type of stored data.
Implements pat::UserData.
Definition at line 74 of file UserData.h.
{ return typeid(T); }
virtual const std::string& pat::UserHolder< T >::typeName | ( | ) | const [inline, virtual] |
Human readable name of the concrete type of stored data.
Implements pat::UserData.
Definition at line 76 of file UserData.h.
References pat::UserHolder< T >::typeName_().
{ return typeName_(); }
const std::string & pat::UserHolder< T >::typeName_ | ( | ) | [static, private] |
Definition at line 98 of file UserData.h.
References mergeVDriftHistosByStation::name, ntuplemaker::status, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pat::UserHolder< T >::typeName().
T pat::UserHolder< T >::obj_ [private] |
Definition at line 80 of file UserData.h.
Referenced by pat::UserHolder< T >::data_().