CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
edm::eventsetup::produce::ProductHolder< T1 > Struct Template Reference

#include <ESProducts.h>

Public Types

using head_type = Null
 
using tail_type = T1
 

Public Member Functions

void moveTo (T1 &oValue)
 
template<typename T >
void moveToRecursive (T &iValuesTo)
 
ProductHolder< T1 > & operator= (ProductHolder< T1 > &&)=default
 
ProductHolder< T1 > & operator= (ProductHolder< T1 > const &)=default
 
 ProductHolder ()
 
 ProductHolder (ProductHolder< T1 > &&)=default
 
 ProductHolder (ProductHolder< T1 > const &)=default
 
template<typename T >
void setAllValues (T &iValuesFrom)
 
void setFrom (T1 &iValue)
 
void setFrom (T1 &&iValue)
 
template<typename T >
void setFromRecursive (T &iValuesTo)
 

Public Attributes

T1 value
 

Detailed Description

template<typename T1>
struct edm::eventsetup::produce::ProductHolder< T1 >

Definition at line 72 of file ESProducts.h.

Member Typedef Documentation

template<typename T1 >
using edm::eventsetup::produce::ProductHolder< T1 >::head_type = Null

Definition at line 97 of file ESProducts.h.

template<typename T1 >
using edm::eventsetup::produce::ProductHolder< T1 >::tail_type = T1

Definition at line 96 of file ESProducts.h.

Constructor & Destructor Documentation

template<typename T1 >
edm::eventsetup::produce::ProductHolder< T1 >::ProductHolder ( )
inline
template<typename T1 >
edm::eventsetup::produce::ProductHolder< T1 >::ProductHolder ( ProductHolder< T1 > &&  )
default
template<typename T1 >
edm::eventsetup::produce::ProductHolder< T1 >::ProductHolder ( ProductHolder< T1 > const &  )
default

Member Function Documentation

template<typename T1 >
void edm::eventsetup::produce::ProductHolder< T1 >::moveTo ( T1 &  oValue)
inline

Definition at line 83 of file ESProducts.h.

References eostools::move().

83 { oValue = std::move(value); }
Definition: value.py:1
def move(src, dest)
Definition: eostools.py:511
template<typename T1 >
template<typename T >
void edm::eventsetup::produce::ProductHolder< T1 >::moveToRecursive ( T iValuesTo)
inline

Definition at line 87 of file ESProducts.h.

87  {
88  iValuesTo.moveTo(value);
89  }
Definition: value.py:1
template<typename T1 >
ProductHolder<T1>& edm::eventsetup::produce::ProductHolder< T1 >::operator= ( ProductHolder< T1 > &&  )
default
template<typename T1 >
ProductHolder<T1>& edm::eventsetup::produce::ProductHolder< T1 >::operator= ( ProductHolder< T1 > const &  )
default
template<typename T1 >
template<typename T >
void edm::eventsetup::produce::ProductHolder< T1 >::setAllValues ( T iValuesFrom)
inline

Definition at line 80 of file ESProducts.h.

80  {
81  iValuesFrom.moveToRecursive(*this);
82  }
template<typename T1 >
void edm::eventsetup::produce::ProductHolder< T1 >::setFrom ( T1 &  iValue)
inline

Definition at line 84 of file ESProducts.h.

84 { value = iValue; }
Definition: value.py:1
template<typename T1 >
void edm::eventsetup::produce::ProductHolder< T1 >::setFrom ( T1 &&  iValue)
inline

Definition at line 85 of file ESProducts.h.

References eostools::move().

85 { value = std::move(iValue); }
Definition: value.py:1
def move(src, dest)
Definition: eostools.py:511
template<typename T1 >
template<typename T >
void edm::eventsetup::produce::ProductHolder< T1 >::setFromRecursive ( T iValuesTo)
inline

Definition at line 91 of file ESProducts.h.

91  {
92  iValuesTo.setFrom(value);
93  }
Definition: value.py:1

Member Data Documentation

template<typename T1 >
T1 edm::eventsetup::produce::ProductHolder< T1 >::value