CMS 3D CMS Logo

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

#include <ESGetTokenGeneric.h>

Public Member Functions

constexpr ESGetTokenGeneric () noexcept=default
 
constexpr ESGetTokenGeneric (ESGetTokenGeneric const &) noexcept=default
 
constexpr ESGetTokenGeneric (ESGetTokenGeneric &&) noexcept=default
 
constexpr bool hasValidIndex () const noexcept
 
constexpr ESTokenIndex index () const noexcept
 
constexpr bool isInitialized () const noexcept
 
constexpr ESGetTokenGenericoperator= (ESGetTokenGeneric &&) noexcept=default
 
constexpr ESGetTokenGenericoperator= (ESGetTokenGeneric const &) noexcept=default
 
constexpr TypeIDBase const & recordType () const noexcept
 
constexpr unsigned int transitionID () const noexcept
 

Static Public Member Functions

static constexpr ESTokenIndex invalidIndex () noexcept
 

Private Member Functions

constexpr ESGetTokenGeneric (unsigned int transitionID, ESTokenIndex index, TypeIDBase const &recordType) noexcept
 

Private Attributes

ESTokenIndex m_index {std::numeric_limits<int>::max()}
 
TypeIDBase m_recordType {}
 
unsigned int m_transitionID {std::numeric_limits<unsigned int>::max()}
 

Friends

class EDConsumerBase
 
class EventSetup
 
class eventsetup::EventSetupRecord
 
class EventSetupImpl
 

Detailed Description

Definition at line 30 of file ESGetTokenGeneric.h.

Constructor & Destructor Documentation

◆ ESGetTokenGeneric() [1/4]

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( )
defaultnoexcept

◆ ESGetTokenGeneric() [2/4]

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( ESGetTokenGeneric const &  )
defaultnoexcept

◆ ESGetTokenGeneric() [3/4]

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( ESGetTokenGeneric &&  )
defaultnoexcept

◆ ESGetTokenGeneric() [4/4]

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( unsigned int  transitionID,
ESTokenIndex  index,
TypeIDBase const &  recordType 
)
inlineexplicitprivatenoexcept

Definition at line 53 of file ESGetTokenGeneric.h.

References recordType().

constexpr TypeIDBase const & recordType() const noexcept
constexpr unsigned int transitionID() const noexcept
constexpr ESTokenIndex index() const noexcept

Member Function Documentation

◆ hasValidIndex()

constexpr bool edm::ESGetTokenGeneric::hasValidIndex ( ) const
inlinenoexcept

Definition at line 49 of file ESGetTokenGeneric.h.

References index(), and invalidIndex().

49 { return index() != invalidIndex(); }
static constexpr ESTokenIndex invalidIndex() noexcept
constexpr ESTokenIndex index() const noexcept

◆ index()

constexpr ESTokenIndex edm::ESGetTokenGeneric::index ( ) const
inlinenoexcept

◆ invalidIndex()

static constexpr ESTokenIndex edm::ESGetTokenGeneric::invalidIndex ( )
inlinestaticnoexcept

◆ isInitialized()

constexpr bool edm::ESGetTokenGeneric::isInitialized ( ) const
inlinenoexcept

Definition at line 47 of file ESGetTokenGeneric.h.

References SiStripPI::max, and transitionID().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ recordType()

constexpr TypeIDBase const& edm::ESGetTokenGeneric::recordType ( ) const
inlinenoexcept

Definition at line 46 of file ESGetTokenGeneric.h.

References m_recordType.

Referenced by edm::eventsetup::EventSetupRecord::doGet(), and ESGetTokenGeneric().

46 { return m_recordType; }

◆ transitionID()

constexpr unsigned int edm::ESGetTokenGeneric::transitionID ( ) const
inlinenoexcept

Definition at line 45 of file ESGetTokenGeneric.h.

References m_transitionID.

Referenced by edm::eventsetup::EventSetupRecord::doGet(), and isInitialized().

45 { return m_transitionID; }

Friends And Related Function Documentation

◆ EDConsumerBase

friend class EDConsumerBase
friend

Definition at line 31 of file ESGetTokenGeneric.h.

◆ EventSetup

friend class EventSetup
friend

Definition at line 32 of file ESGetTokenGeneric.h.

◆ eventsetup::EventSetupRecord

friend class eventsetup::EventSetupRecord
friend

Definition at line 34 of file ESGetTokenGeneric.h.

◆ EventSetupImpl

friend class EventSetupImpl
friend

Definition at line 33 of file ESGetTokenGeneric.h.

Member Data Documentation

◆ m_index

ESTokenIndex edm::ESGetTokenGeneric::m_index {std::numeric_limits<int>::max()}
private

Definition at line 60 of file ESGetTokenGeneric.h.

Referenced by index().

◆ m_recordType

TypeIDBase edm::ESGetTokenGeneric::m_recordType {}
private

Definition at line 58 of file ESGetTokenGeneric.h.

Referenced by recordType().

◆ m_transitionID

unsigned int edm::ESGetTokenGeneric::m_transitionID {std::numeric_limits<unsigned int>::max()}
private

Definition at line 59 of file ESGetTokenGeneric.h.

Referenced by transitionID().