CMS 3D CMS Logo

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

◆ 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} {}
edm::eventsetup::ComponentDescription const * description_
Definition: ESValidHandle.h:60

◆ 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.

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

53 { return *product(); }
T const * product() const noexcept
Definition: ESValidHandle.h:51

◆ operator->()

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

Definition at line 52 of file ESValidHandle.h.

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

52 { return product(); }
T const * product() const noexcept
Definition: ESValidHandle.h:51

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<typename T >
ESValidHandle& edm::ESValidHandle< T >::operator= ( ESValidHandle< T > &&  )
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
static

Definition at line 55 of file ESValidHandle.h.