CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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

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

Constructor & Destructor Documentation

constexpr edm::EDGetToken::EDGetToken ( )
inlinenoexcept

Definition at line 39 of file EDGetToken.h.

References s_uninitializedValue.

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

Definition at line 42 of file EDGetToken.h.

42 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:62
constexpr edm::EDGetToken::EDGetToken ( const EDGetToken )
defaultnoexcept
constexpr edm::EDGetToken::EDGetToken ( EDGetToken &&  )
defaultnoexcept
constexpr edm::EDGetToken::EDGetToken ( unsigned int  iValue)
inlineexplicitprivatenoexcept

Definition at line 59 of file EDGetToken.h.

59 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:62

Member Function Documentation

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

Definition at line 51 of file EDGetToken.h.

References m_value, and s_uninitializedValue.

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

51 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:57
unsigned int m_value
Definition: EDGetToken.h:62
constexpr EDGetToken& edm::EDGetToken::operator= ( const EDGetToken )
defaultnoexcept
constexpr EDGetToken& edm::EDGetToken::operator= ( EDGetToken &&  )
defaultnoexcept

Friends And Related Function Documentation

friend class EDConsumerBase
friend

Definition at line 36 of file EDGetToken.h.

friend class TestEDGetToken
friend

Definition at line 55 of file EDGetToken.h.

Member Data Documentation

unsigned int edm::EDGetToken::m_value
private

Definition at line 62 of file EDGetToken.h.

Referenced by index(), and isUninitialized().

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

Definition at line 57 of file EDGetToken.h.

Referenced by EDGetToken(), and isUninitialized().