CMS 3D CMS Logo

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

#include <EDPutToken.h>

Public Types

using value_type = unsigned int
 

Public Member Functions

constexpr EDPutToken () noexcept
 
template<typename T >
constexpr EDPutToken (EDPutTokenT< T > iOther) noexcept
 
constexpr value_type index () const noexcept
 
constexpr bool isUninitialized () const noexcept
 

Private Member Functions

constexpr EDPutToken (unsigned int iValue) noexcept
 

Private Attributes

value_type m_value
 

Static Private Attributes

static constexpr unsigned int s_uninitializedValue = 0xFFFFFFFF
 

Friends

class ProductRegistryHelper
 
class TestEDPutToken
 

Detailed Description

Definition at line 38 of file EDPutToken.h.

Member Typedef Documentation

◆ value_type

using edm::EDPutToken::value_type = unsigned int

Definition at line 42 of file EDPutToken.h.

Constructor & Destructor Documentation

◆ EDPutToken() [1/3]

constexpr edm::EDPutToken::EDPutToken ( )
inlinenoexcept

Definition at line 44 of file EDPutToken.h.

References s_uninitializedValue.

value_type m_value
Definition: EDPutToken.h:62
static constexpr unsigned int s_uninitializedValue
Definition: EDPutToken.h:57

◆ EDPutToken() [2/3]

template<typename T >
constexpr edm::EDPutToken::EDPutToken ( EDPutTokenT< T iOther)
inlinenoexcept

Definition at line 47 of file EDPutToken.h.

47 : m_value{iOther.m_value} {}
value_type m_value
Definition: EDPutToken.h:62

◆ EDPutToken() [3/3]

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

Definition at line 59 of file EDPutToken.h.

59 : m_value(iValue) {}
value_type m_value
Definition: EDPutToken.h:62

Member Function Documentation

◆ index()

constexpr value_type edm::EDPutToken::index ( ) const
inlinenoexcept

Definition at line 50 of file EDPutToken.h.

References m_value.

Referenced by edm::PrincipalGetAdapter::productInstanceLabel().

50 { return m_value; }
value_type m_value
Definition: EDPutToken.h:62

◆ isUninitialized()

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

Definition at line 51 of file EDPutToken.h.

References m_value, and s_uninitializedValue.

51 { return m_value == s_uninitializedValue; }
value_type m_value
Definition: EDPutToken.h:62
static constexpr unsigned int s_uninitializedValue
Definition: EDPutToken.h:57

Friends And Related Function Documentation

◆ ProductRegistryHelper

friend class ProductRegistryHelper
friend

Definition at line 39 of file EDPutToken.h.

◆ TestEDPutToken

friend class TestEDPutToken
friend

Definition at line 55 of file EDPutToken.h.

Member Data Documentation

◆ m_value

value_type edm::EDPutToken::m_value
private

Definition at line 62 of file EDPutToken.h.

Referenced by index(), and isUninitialized().

◆ s_uninitializedValue

constexpr unsigned int edm::EDPutToken::s_uninitializedValue = 0xFFFFFFFF
staticprivate

Definition at line 57 of file EDPutToken.h.

Referenced by EDPutToken(), and isUninitialized().