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::EDGetTokenT< T > Class Template Reference

#include <EDGetToken.h>

Public Member Functions

 EDGetTokenT ()
 
unsigned int index () const
 
bool isUnitialized () const
 
bool willSkipCurrentProcess () const
 

Private Member Functions

 EDGetTokenT (unsigned int iValue, bool skipCurrentProcess)
 

Private Attributes

unsigned int m_value
 

Static Private Attributes

static const unsigned int s_indexMask = 0x7FFFFFFF
 
static const unsigned int s_skipMask = 1U << 31
 
static const unsigned int s_uninitializedValue = 0xFFFFFFFF
 

Friends

class EDConsumerBase
 
class EDGetToken
 

Detailed Description

template<typename T>
class edm::EDGetTokenT< T >

Definition at line 33 of file EDGetToken.h.

Constructor & Destructor Documentation

template<typename T>
edm::EDGetTokenT< T >::EDGetTokenT ( )
inline

Definition at line 71 of file EDGetToken.h.

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

static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:80
unsigned int m_value
Definition: EDGetToken.h:87
template<typename T>
edm::EDGetTokenT< T >::EDGetTokenT ( unsigned int  iValue,
bool  skipCurrentProcess 
)
inlineexplicitprivate

Definition at line 84 of file EDGetToken.h.

References edm::EDGetTokenT< T >::s_indexMask, and edm::EDGetTokenT< T >::s_skipMask.

84 : m_value{(iValue & s_indexMask) | (skipCurrentProcess ? s_skipMask : 0)} { }
static const unsigned int s_indexMask
Definition: EDGetToken.h:81
unsigned int m_value
Definition: EDGetToken.h:87
static const unsigned int s_skipMask
Definition: EDGetToken.h:82

Member Function Documentation

template<typename T>
unsigned int edm::EDGetTokenT< T >::index ( ) const
inline

Definition at line 74 of file EDGetToken.h.

References edm::EDGetTokenT< T >::m_value, and edm::EDGetTokenT< T >::s_indexMask.

74 {return m_value & s_indexMask;}
static const unsigned int s_indexMask
Definition: EDGetToken.h:81
unsigned int m_value
Definition: EDGetToken.h:87
template<typename T>
bool edm::EDGetTokenT< T >::isUnitialized ( ) const
inline

Definition at line 76 of file EDGetToken.h.

References edm::EDGetTokenT< T >::m_value, and edm::EDGetTokenT< T >::s_uninitializedValue.

76 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:80
unsigned int m_value
Definition: EDGetToken.h:87
template<typename T>
bool edm::EDGetTokenT< T >::willSkipCurrentProcess ( ) const
inline

Definition at line 75 of file EDGetToken.h.

References edm::EDGetTokenT< T >::m_value, and edm::EDGetTokenT< T >::s_skipMask.

75 { return 0 != (m_value & s_skipMask); }
unsigned int m_value
Definition: EDGetToken.h:87
static const unsigned int s_skipMask
Definition: EDGetToken.h:82

Friends And Related Function Documentation

template<typename T>
friend class EDConsumerBase
friend

Definition at line 66 of file EDGetToken.h.

template<typename T>
friend class EDGetToken
friend

Definition at line 67 of file EDGetToken.h.

Member Data Documentation

template<typename T>
unsigned int edm::EDGetTokenT< T >::m_value
private
template<typename T>
const unsigned int edm::EDGetTokenT< T >::s_indexMask = 0x7FFFFFFF
staticprivate
template<typename T>
const unsigned int edm::EDGetTokenT< T >::s_skipMask = 1U << 31
staticprivate
template<typename T>
const unsigned int edm::EDGetTokenT< T >::s_uninitializedValue = 0xFFFFFFFF
staticprivate