CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::EDGetToken Class Reference

#include <EDGetToken.h>

Public Member Functions

 EDGetToken ()
 
template<typename T >
 EDGetToken (EDGetTokenT< T > iOther)
 
unsigned int index () const
 
bool isUninitialized () const
 

Private Member Functions

 EDGetToken (unsigned int iValue)
 

Private Attributes

unsigned int m_value
 

Static Private Attributes

static const unsigned int s_uninitializedValue = 0xFFFFFFFF
 

Friends

class EDConsumerBase
 
class TestEDGetToken
 

Detailed Description

Definition at line 35 of file EDGetToken.h.

Constructor & Destructor Documentation

edm::EDGetToken::EDGetToken ( )
inline

Definition at line 39 of file EDGetToken.h.

References s_uninitializedValue.

static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:52
unsigned int m_value
Definition: EDGetToken.h:57
template<typename T >
edm::EDGetToken::EDGetToken ( EDGetTokenT< T iOther)
inline

Definition at line 42 of file EDGetToken.h.

References edm::EDGetTokenT< T >::m_value.

42 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:57
edm::EDGetToken::EDGetToken ( unsigned int  iValue)
inlineexplicitprivate

Definition at line 54 of file EDGetToken.h.

54 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:57

Member Function Documentation

unsigned int edm::EDGetToken::index ( ) const
inline
bool edm::EDGetToken::isUninitialized ( ) const
inline

Definition at line 46 of file EDGetToken.h.

References m_value, and s_uninitializedValue.

Referenced by PhotonIsolationCalculator::calculateHcalTowerIso(), and edm::EDConsumerBase::throwBadToken().

46 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:52
unsigned int m_value
Definition: EDGetToken.h:57

Friends And Related Function Documentation

friend class EDConsumerBase
friend

Definition at line 36 of file EDGetToken.h.

friend class TestEDGetToken
friend

Definition at line 50 of file EDGetToken.h.

Member Data Documentation

unsigned int edm::EDGetToken::m_value
private
const unsigned int edm::EDGetToken::s_uninitializedValue = 0xFFFFFFFF
staticprivate