#include <UserData.h>
Public Member Functions | |
UserHolder< T > * | clone () const override |
Clone. More... | |
const std::type_info & | typeId () const override |
Concrete type of stored data. More... | |
const std::string & | typeName () const override |
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::unique_ptr< pat::UserData > | make (const T &value, bool transientOnly) |
UserData () | |
virtual | ~UserData () |
Protected Member Functions | |
const void * | data_ () const override |
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::unique_ptr< UserData > | make (const T &value, bool transientOnly=false) |
Static Protected Member Functions inherited from pat::UserData | |
static std::string | typeNameFor (std::type_info const &iInfo) |
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.
|
inlineoverridevirtual |
|
inlineoverrideprotectedvirtual |
Get out the data (can't template non virtual functions)
Implements pat::UserData.
Definition at line 79 of file UserData.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Human readable name of the concrete type of stored data.
Implements pat::UserData.
Definition at line 76 of file UserData.h.
|
staticprivate |
Definition at line 99 of file UserData.h.
References Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and pat::UserData::typeNameFor().
|
private |
Definition at line 82 of file UserData.h.