CMS 3D CMS Logo

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

#include <ESValidHandle.h>

Public Types

typedef T value_type
 

Public Member Functions

 ESValidHandle ()=delete
 
 ESValidHandle (T const &iData, edm::eventsetup::ComponentDescription const *desc) noexcept
 
 ESValidHandle (ESValidHandle< T > const &)=default
 
 ESValidHandle (ESValidHandle< T > &&)=default
 
T const & operator* () const noexcept
 
T const * operator-> () const noexcept
 
ESValidHandleoperator= (ESValidHandle< T > const &)=default
 
ESValidHandleoperator= (ESValidHandle< T > &&)=default
 
T const * product () const noexcept
 

Static Public Attributes

static constexpr bool transientAccessOnly = false
 

Private Attributes

T const * data_ {nullptr}
 
edm::eventsetup::ComponentDescription const * description_ {nullptr}
 

Detailed Description

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

Definition at line 37 of file ESValidHandle.h.

Member Typedef Documentation

template<typename T >
typedef T edm::ESValidHandle< T >::value_type

Definition at line 39 of file ESValidHandle.h.

Constructor & Destructor Documentation

template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( )
delete
template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( T const &  iData,
edm::eventsetup::ComponentDescription const *  desc 
)
inlinenoexcept

Definition at line 42 of file ESValidHandle.h.

43  : data_{&iData}, description_{desc} {}
edm::eventsetup::ComponentDescription const * description_
Definition: ESValidHandle.h:60
template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( ESValidHandle< T > const &  )
default
template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( ESValidHandle< T > &&  )
default

Member Function Documentation

template<typename T >
T const& edm::ESValidHandle< T >::operator* ( void  ) const
inlinenoexcept

Definition at line 53 of file ESValidHandle.h.

53 { return *product(); }
T const * product() const noexcept
Definition: ESValidHandle.h:51
template<typename T >
T const* edm::ESValidHandle< T >::operator-> ( ) const
inlinenoexcept

Definition at line 52 of file ESValidHandle.h.

52 { return product(); }
T const * product() const noexcept
Definition: ESValidHandle.h:51
template<typename T >
ESValidHandle& edm::ESValidHandle< T >::operator= ( ESValidHandle< T > const &  )
default
template<typename T >
ESValidHandle& edm::ESValidHandle< T >::operator= ( ESValidHandle< T > &&  )
default
template<typename T >
T const* edm::ESValidHandle< T >::product ( ) const
inlinenoexcept

Definition at line 51 of file ESValidHandle.h.

51 { return data_; }

Member Data Documentation

template<typename T >
T const* edm::ESValidHandle< T >::data_ {nullptr}
private

Definition at line 59 of file ESValidHandle.h.

template<typename T >
edm::eventsetup::ComponentDescription const* edm::ESValidHandle< T >::description_ {nullptr}
private

Definition at line 60 of file ESValidHandle.h.

template<typename T >
constexpr bool edm::ESValidHandle< T >::transientAccessOnly = false
static

Definition at line 55 of file ESValidHandle.h.