CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 34 of file EDGetToken.h.

Constructor & Destructor Documentation

edm::EDGetToken::EDGetToken ( )
inline

Definition at line 40 of file EDGetToken.h.

References s_uninitializedValue.

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

Definition at line 43 of file EDGetToken.h.

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

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

Definition at line 55 of file EDGetToken.h.

55 : m_value(iValue) { }
unsigned int m_value
Definition: EDGetToken.h:58

Member Function Documentation

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

Definition at line 47 of file EDGetToken.h.

References m_value, and s_uninitializedValue.

Referenced by edm::EDConsumerBase::throwBadToken().

47 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:53
unsigned int m_value
Definition: EDGetToken.h:58

Friends And Related Function Documentation

friend class EDConsumerBase
friend

Definition at line 36 of file EDGetToken.h.

friend class TestEDGetToken
friend

Definition at line 51 of file EDGetToken.h.

Member Data Documentation

unsigned int edm::EDGetToken::m_value
private

Definition at line 58 of file EDGetToken.h.

Referenced by index(), and isUninitialized().

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

Definition at line 53 of file EDGetToken.h.

Referenced by EDGetToken(), and isUninitialized().