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

constexpr EDGetToken () noexcept
 
template<typename T >
constexpr EDGetToken (EDGetTokenT< T > iOther) noexcept
 
constexpr EDGetToken (const EDGetToken &) noexcept=default
 
constexpr EDGetToken (EDGetToken &&) noexcept=default
 
constexpr unsigned int index () const noexcept
 
constexpr bool isUninitialized () const noexcept
 
constexpr EDGetTokenoperator= (const EDGetToken &) noexcept=default
 
constexpr EDGetTokenoperator= (EDGetToken &&) noexcept=default
 

Private Member Functions

constexpr EDGetToken (unsigned int iValue) noexcept
 

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 39 of file EDGetToken.h.

Constructor & Destructor Documentation

◆ EDGetToken() [1/5]

constexpr edm::EDGetToken::EDGetToken ( )
inlinenoexcept

Definition at line 43 of file EDGetToken.h.

References s_uninitializedValue.

static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:61
unsigned int m_value
Definition: EDGetToken.h:66

◆ EDGetToken() [2/5]

template<typename T >
constexpr edm::EDGetToken::EDGetToken ( EDGetTokenT< T iOther)
inlinenoexcept

Definition at line 46 of file EDGetToken.h.

46 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:66

◆ EDGetToken() [3/5]

constexpr edm::EDGetToken::EDGetToken ( const EDGetToken )
defaultnoexcept

◆ EDGetToken() [4/5]

constexpr edm::EDGetToken::EDGetToken ( EDGetToken &&  )
defaultnoexcept

◆ EDGetToken() [5/5]

constexpr edm::EDGetToken::EDGetToken ( unsigned int  iValue)
inlineexplicitprivatenoexcept

Definition at line 63 of file EDGetToken.h.

63 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:66

Member Function Documentation

◆ index()

constexpr unsigned int edm::EDGetToken::index ( ) const
inlinenoexcept

◆ isUninitialized()

constexpr bool edm::EDGetToken::isUninitialized ( ) const
inlinenoexcept

Definition at line 55 of file EDGetToken.h.

References m_value, and s_uninitializedValue.

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

55 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:61
unsigned int m_value
Definition: EDGetToken.h:66

◆ operator=() [1/2]

constexpr EDGetToken& edm::EDGetToken::operator= ( const EDGetToken )
defaultnoexcept

◆ operator=() [2/2]

constexpr EDGetToken& edm::EDGetToken::operator= ( EDGetToken &&  )
defaultnoexcept

Friends And Related Function Documentation

◆ EDConsumerBase

friend class EDConsumerBase
friend

Definition at line 40 of file EDGetToken.h.

◆ TestEDGetToken

friend class TestEDGetToken
friend

Definition at line 59 of file EDGetToken.h.

Member Data Documentation

◆ m_value

unsigned int edm::EDGetToken::m_value
private

Definition at line 66 of file EDGetToken.h.

Referenced by index(), and isUninitialized().

◆ s_uninitializedValue

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

Definition at line 61 of file EDGetToken.h.

Referenced by EDGetToken(), and isUninitialized().