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 | 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

constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( )
defaultnoexcept
constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( ESGetTokenGeneric const &  )
defaultnoexcept
constexpr edm::ESGetTokenGeneric::ESGetTokenGeneric ( ESGetTokenGeneric &&  )
defaultnoexcept
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

Member Function Documentation

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
constexpr ESTokenIndex edm::ESGetTokenGeneric::index ( ) const
inlinenoexcept
static constexpr ESTokenIndex edm::ESGetTokenGeneric::invalidIndex ( )
inlinestaticnoexcept
constexpr bool edm::ESGetTokenGeneric::isInitialized ( ) const
inlinenoexcept

Definition at line 47 of file ESGetTokenGeneric.h.

References SiStripPI::max, and transitionID().

constexpr ESGetTokenGeneric& edm::ESGetTokenGeneric::operator= ( ESGetTokenGeneric &&  )
defaultnoexcept
constexpr ESGetTokenGeneric& edm::ESGetTokenGeneric::operator= ( ESGetTokenGeneric const &  )
defaultnoexcept
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; }
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

friend class EDConsumerBase
friend

Definition at line 31 of file ESGetTokenGeneric.h.

friend class EventSetup
friend

Definition at line 32 of file ESGetTokenGeneric.h.

friend class eventsetup::EventSetupRecord
friend

Definition at line 34 of file ESGetTokenGeneric.h.

friend class EventSetupImpl
friend

Definition at line 33 of file ESGetTokenGeneric.h.

Member Data Documentation

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

Definition at line 60 of file ESGetTokenGeneric.h.

Referenced by index().

TypeIDBase edm::ESGetTokenGeneric::m_recordType {}
private

Definition at line 58 of file ESGetTokenGeneric.h.

Referenced by recordType().

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

Definition at line 59 of file ESGetTokenGeneric.h.

Referenced by transitionID().