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 &&) noexcept=default
 
constexpr ESGetTokenGeneric (ESGetTokenGeneric const &) 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 ( )
constexprdefaultnoexcept

◆ ESGetTokenGeneric() [2/4]

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

◆ ESGetTokenGeneric() [3/4]

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( ESGetTokenGeneric &&  )
constexprdefaultnoexcept

◆ ESGetTokenGeneric() [4/4]

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

Definition at line 53 of file ESGetTokenGeneric.h.

References recordType().

Member Function Documentation

◆ hasValidIndex()

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

Definition at line 49 of file ESGetTokenGeneric.h.

49 { return index() != invalidIndex(); }

References index(), and invalidIndex().

◆ index()

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

Definition at line 48 of file ESGetTokenGeneric.h.

48 { return m_index; }

References m_index.

Referenced by edm::eventsetup::EventSetupRecord::doGet(), hasValidIndex(), and BeautifulSoup.PageElement::insert().

◆ invalidIndex()

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

Definition at line 50 of file ESGetTokenGeneric.h.

References SiStripPI::max.

Referenced by hasValidIndex().

◆ isInitialized()

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

Definition at line 47 of file ESGetTokenGeneric.h.

References SiStripPI::max, and transitionID().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ recordType()

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

Definition at line 46 of file ESGetTokenGeneric.h.

46 { return m_recordType; }

References m_recordType.

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

◆ transitionID()

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

Definition at line 45 of file ESGetTokenGeneric.h.

45 { return m_transitionID; }

References m_transitionID.

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

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().

edm::ESGetTokenGeneric::transitionID
constexpr unsigned int transitionID() const noexcept
Definition: ESGetTokenGeneric.h:45
edm::ESGetTokenGeneric::m_index
ESTokenIndex m_index
Definition: ESGetTokenGeneric.h:60
edm::ESGetTokenGeneric::invalidIndex
static constexpr ESTokenIndex invalidIndex() noexcept
Definition: ESGetTokenGeneric.h:50
ESTokenIndex
edm::ESGetTokenGeneric::m_transitionID
unsigned int m_transitionID
Definition: ESGetTokenGeneric.h:59
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
edm::ESGetTokenGeneric::m_recordType
TypeIDBase m_recordType
Definition: ESGetTokenGeneric.h:58
edm::ESGetTokenGeneric::recordType
constexpr TypeIDBase const & recordType() const noexcept
Definition: ESGetTokenGeneric.h:46
edm::ESGetTokenGeneric::index
constexpr ESTokenIndex index() const noexcept
Definition: ESGetTokenGeneric.h:48