CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::EDPutTokenT< T > Class Template Reference

#include <EDPutToken.h>

Public Types

using value_type = EDPutToken::value_type
 

Public Member Functions

constexpr EDPutTokenT () noexcept
 
constexpr EDPutTokenT (const EDPutTokenT< T > &) noexcept=default
 
constexpr EDPutTokenT (EDPutTokenT< T > &&) noexcept=default
 
constexpr EDPutTokenT (EDPutTokenT< T > &iToken) noexcept
 
template<typename ADAPTER >
constexpr EDPutTokenT (ADAPTER &&iAdapter) noexcept
 
constexpr value_type index () const noexcept
 
constexpr bool isUninitialized () const noexcept
 
constexpr EDPutTokenToperator= (const EDPutTokenT< T > &) noexcept=default
 
constexpr EDPutTokenToperator= (EDPutTokenT< T > &&) noexcept=default
 
constexpr EDPutTokenToperator= (EDPutTokenT< T > &iOther) noexcept
 
template<typename ADAPTER >
constexpr EDPutTokenToperator= (ADAPTER &&iAdapter) noexcept
 

Private Member Functions

constexpr EDPutTokenT (unsigned int iValue) noexcept
 
constexpr EDPutTokenT (unsigned long int iValue) noexcept
 

Private Attributes

value_type m_value
 

Static Private Attributes

static constexpr unsigned int s_uninitializedValue = 0xFFFFFFFF
 

Friends

class edm::test::TestProcessorConfig
 
class EDPutToken
 
class ProductRegistryHelper
 
class TestEDPutToken
 

Detailed Description

template<typename T>
class edm::EDPutTokenT< T >

Definition at line 33 of file EDPutToken.h.

Member Typedef Documentation

◆ value_type

template<typename T>
using edm::EDPutTokenT< T >::value_type = EDPutToken::value_type

Definition at line 72 of file EDPutToken.h.

Constructor & Destructor Documentation

◆ EDPutTokenT() [1/7]

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

Definition at line 74 of file EDPutToken.h.

value_type m_value
Definition: EDPutToken.h:112
static constexpr unsigned int s_uninitializedValue
Definition: EDPutToken.h:106

◆ EDPutTokenT() [2/7]

template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( const EDPutTokenT< T > &  )
defaultnoexcept

◆ EDPutTokenT() [3/7]

template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( EDPutTokenT< T > &&  )
defaultnoexcept

◆ EDPutTokenT() [4/7]

template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( EDPutTokenT< T > &  iToken)
inlinenoexcept

Definition at line 78 of file EDPutToken.h.

78 : EDPutTokenT(const_cast<EDPutTokenT<T> const&>(iToken)) {}
constexpr EDPutTokenT() noexcept
Definition: EDPutToken.h:74

◆ EDPutTokenT() [5/7]

template<typename T>
template<typename ADAPTER >
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( ADAPTER &&  iAdapter)
inlineexplicitnoexcept

Definition at line 81 of file EDPutToken.h.

81 : EDPutTokenT(iAdapter.template produces<T>()) {}
constexpr EDPutTokenT() noexcept
Definition: EDPutToken.h:74

◆ EDPutTokenT() [6/7]

template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( unsigned int  iValue)
inlineexplicitprivatenoexcept

Definition at line 108 of file EDPutToken.h.

108 : m_value(iValue) {}
value_type m_value
Definition: EDPutToken.h:112

◆ EDPutTokenT() [7/7]

template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( unsigned long int  iValue)
inlineexplicitprivatenoexcept

Definition at line 109 of file EDPutToken.h.

109 : m_value(iValue) {}
value_type m_value
Definition: EDPutToken.h:112

Member Function Documentation

◆ index()

template<typename T>
constexpr value_type edm::EDPutTokenT< T >::index ( ) const
inlinenoexcept

Definition at line 99 of file EDPutToken.h.

Referenced by BeautifulSoup.PageElement::insert().

99 { return m_value; }
value_type m_value
Definition: EDPutToken.h:112

◆ isUninitialized()

template<typename T>
constexpr bool edm::EDPutTokenT< T >::isUninitialized ( ) const
inlinenoexcept

Definition at line 100 of file EDPutToken.h.

Referenced by DQMEDAnalyzer::beginStream().

100 { return m_value == s_uninitializedValue; }
value_type m_value
Definition: EDPutToken.h:112
static constexpr unsigned int s_uninitializedValue
Definition: EDPutToken.h:106

◆ operator=() [1/4]

template<typename T>
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( const EDPutTokenT< T > &  )
defaultnoexcept

◆ operator=() [2/4]

template<typename T>
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( EDPutTokenT< T > &&  )
defaultnoexcept

◆ operator=() [3/4]

template<typename T>
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( EDPutTokenT< T > &  iOther)
inlinenoexcept

Definition at line 85 of file EDPutToken.h.

85  {
86  m_value = iOther.m_value;
87  return *this;
88  }
value_type m_value
Definition: EDPutToken.h:112

◆ operator=() [4/4]

template<typename T>
template<typename ADAPTER >
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( ADAPTER &&  iAdapter)
inlinenoexcept

Definition at line 91 of file EDPutToken.h.

91  {
92  EDPutTokenT<T> temp(iAdapter.template produces<T>());
93  m_value = temp.m_value;
94 
95  return *this;
96  }
value_type m_value
Definition: EDPutToken.h:112

Friends And Related Function Documentation

◆ edm::test::TestProcessorConfig

template<typename T>
friend class edm::test::TestProcessorConfig
friend

Definition at line 69 of file EDPutToken.h.

◆ EDPutToken

template<typename T>
friend class EDPutToken
friend

Definition at line 68 of file EDPutToken.h.

◆ ProductRegistryHelper

template<typename T>
friend class ProductRegistryHelper
friend

Definition at line 67 of file EDPutToken.h.

◆ TestEDPutToken

template<typename T>
friend class TestEDPutToken
friend

Definition at line 104 of file EDPutToken.h.

Member Data Documentation

◆ m_value

template<typename T>
value_type edm::EDPutTokenT< T >::m_value
private

◆ s_uninitializedValue

template<typename T>
constexpr unsigned int edm::EDPutTokenT< T >::s_uninitializedValue = 0xFFFFFFFF
staticprivate