#include <UserData.h>
Public Member Functions | |
virtual UserHolder< T > * | clone () const |
Clone. More... | |
virtual const std::type_info & | typeId () const |
Concrete type of stored data. More... | |
virtual const std::string & | typeName () const |
Human readable name of the concrete type of stored data. More... | |
UserHolder () | |
UserHolder (const T &data) | |
Public Member Functions inherited from pat::UserData | |
const void * | bareData () const |
template<typename T > | |
const T * | get () const |
Extract data in a typesafe way. <T> must be the concrete type of the data. More... | |
template<typename T > | |
std::auto_ptr< pat::UserData > | make (const T &value, bool transientOnly) |
UserData () | |
virtual | ~UserData () |
Protected Member Functions | |
virtual const void * | data_ () const |
Get out the data (can't template non virtual functions) More... | |
Static Private Member Functions | |
static const std::string & | typeName_ () |
Private Attributes | |
T | obj_ |
Additional Inherited Members | |
Static Public Member Functions inherited from pat::UserData | |
template<typename T > | |
static std::auto_ptr< UserData > | make (const T &value, bool transientOnly=false) |
Definition at line 67 of file UserData.h.
|
inline |
Definition at line 69 of file UserData.h.
|
inline |
Definition at line 70 of file UserData.h.
|
inlinevirtual |
|
inlineprotectedvirtual |
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_.
|
inlinevirtual |
|
inlinevirtual |
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_().
|
staticprivate |
Definition at line 98 of file UserData.h.
References mergeVDriftHistosByStation::name, and ntuplemaker::status.
Referenced by pat::UserHolder< T >::typeName().
|
private |
Definition at line 80 of file UserData.h.
Referenced by pat::UserHolder< T >::data_().