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 (ESValidHandle< T > &&)=default
 
 ESValidHandle (ESValidHandle< T > const &)=default
 
 ESValidHandle (T const &iData, edm::eventsetup::ComponentDescription const *desc) noexcept
 
T const & operator* () const noexcept
 
T const * operator-> () const noexcept
 
ESValidHandleoperator= (ESValidHandle< T > &&)=default
 
ESValidHandleoperator= (ESValidHandle< T > const &)=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

◆ value_type

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

Definition at line 39 of file ESValidHandle.h.

Constructor & Destructor Documentation

◆ ESValidHandle() [1/4]

template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( )
delete

◆ ESValidHandle() [2/4]

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} {}

◆ ESValidHandle() [3/4]

template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( ESValidHandle< T > const &  )
default

◆ ESValidHandle() [4/4]

template<typename T >
edm::ESValidHandle< T >::ESValidHandle ( ESValidHandle< T > &&  )
default

Member Function Documentation

◆ operator*()

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

Definition at line 53 of file ESValidHandle.h.

53 { return *product(); }

References edm::ESValidHandle< T >::product().

◆ operator->()

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

Definition at line 52 of file ESValidHandle.h.

52 { return product(); }

References edm::ESValidHandle< T >::product().

◆ operator=() [1/2]

template<typename T >
ESValidHandle& edm::ESValidHandle< T >::operator= ( ESValidHandle< T > &&  )
default

◆ operator=() [2/2]

template<typename T >
ESValidHandle& edm::ESValidHandle< T >::operator= ( ESValidHandle< T > const &  )
default

◆ product()

template<typename T >
T const* edm::ESValidHandle< T >::product ( ) const
inlinenoexcept

Member Data Documentation

◆ data_

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

Definition at line 59 of file ESValidHandle.h.

Referenced by edm::ESValidHandle< T >::product().

◆ description_

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

Definition at line 60 of file ESValidHandle.h.

◆ transientAccessOnly

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

Definition at line 55 of file ESValidHandle.h.

edm::ESValidHandle::description_
edm::eventsetup::ComponentDescription const * description_
Definition: ESValidHandle.h:60
edm::ESValidHandle::data_
T const * data_
Definition: ESValidHandle.h:59
edm::ESValidHandle::product
T const * product() const noexcept
Definition: ESValidHandle.h:51