CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 72 of file EDPutToken.h.

Constructor & Destructor Documentation

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
template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( const EDPutTokenT< T > &  )
defaultnoexcept
template<typename T>
constexpr edm::EDPutTokenT< T >::EDPutTokenT ( EDPutTokenT< T > &&  )
defaultnoexcept
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
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
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
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

template<typename T>
constexpr value_type edm::EDPutTokenT< T >::index ( ) const
inlinenoexcept
template<typename T>
constexpr bool edm::EDPutTokenT< T >::isUninitialized ( ) const
inlinenoexcept
template<typename T>
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( const EDPutTokenT< T > &  )
defaultnoexcept
template<typename T>
constexpr EDPutTokenT& edm::EDPutTokenT< T >::operator= ( EDPutTokenT< T > &&  )
defaultnoexcept
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
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

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

Definition at line 69 of file EDPutToken.h.

template<typename T>
friend class EDPutToken
friend

Definition at line 68 of file EDPutToken.h.

template<typename T>
friend class ProductRegistryHelper
friend

Definition at line 67 of file EDPutToken.h.

template<typename T>
friend class TestEDPutToken
friend

Definition at line 104 of file EDPutToken.h.

Member Data Documentation

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