test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes
edm::ESTransientHandle< T > Class Template Reference

#include <ESTransientHandle.h>

Inheritance diagram for edm::ESTransientHandle< T >:
edm::ESHandleBase

Public Types

typedef T value_type
 

Public Member Functions

 ESTransientHandle ()
 
 ESTransientHandle (T const *iData)
 
 ESTransientHandle (T const *iData, edm::eventsetup::ComponentDescription const *desc)
 
 ESTransientHandle (std::shared_ptr< ESHandleExceptionFactory > &&)
 
T const & operator* () const
 
T const * operator-> () const
 
T const * product () const
 
- Public Member Functions inherited from edm::ESHandleBase
edm::eventsetup::ComponentDescription
const * 
description () const
 
 ESHandleBase ()
 
 ESHandleBase (void const *iData, edm::eventsetup::ComponentDescription const *desc)
 
 ESHandleBase (std::shared_ptr< ESHandleExceptionFactory > &&iWhyFailed)
 Used when the attempt to get the data failed. More...
 
bool failedToGet () const
 
bool isValid () const
 
void swap (ESHandleBase &iOther)
 
std::shared_ptr
< ESHandleExceptionFactory >
const & 
whyFailedFactory () const
 

Static Public Attributes

static const bool transientAccessOnly = true
 

Additional Inherited Members

- Protected Member Functions inherited from edm::ESHandleBase
void const * productStorage () const
 

Detailed Description

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

Definition at line 41 of file ESTransientHandle.h.

Member Typedef Documentation

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

Definition at line 43 of file ESTransientHandle.h.

Constructor & Destructor Documentation

template<typename T>
edm::ESTransientHandle< T >::ESTransientHandle ( )
inline

Definition at line 45 of file ESTransientHandle.h.

45 : ESHandleBase() {}
template<typename T>
edm::ESTransientHandle< T >::ESTransientHandle ( T const *  iData)
inline

Definition at line 46 of file ESTransientHandle.h.

46 : ESHandleBase(iData, 0) {}
template<typename T>
edm::ESTransientHandle< T >::ESTransientHandle ( T const *  iData,
edm::eventsetup::ComponentDescription const *  desc 
)
inline

Definition at line 47 of file ESTransientHandle.h.

47 : ESHandleBase(iData, desc) {}
template<typename T>
edm::ESTransientHandle< T >::ESTransientHandle ( std::shared_ptr< ESHandleExceptionFactory > &&  )

Member Function Documentation

template<typename T>
T const& edm::ESTransientHandle< T >::operator* ( void  ) const
inline

Definition at line 53 of file ESTransientHandle.h.

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

53 { return *product(); }
T const * product() const
template<typename T>
T const* edm::ESTransientHandle< T >::operator-> ( ) const
inline

Definition at line 52 of file ESTransientHandle.h.

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

52 { return product(); }
T const * product() const
template<typename T>
T const* edm::ESTransientHandle< T >::product ( ) const
inline

Definition at line 51 of file ESTransientHandle.h.

References edm::ESHandleBase::productStorage().

Referenced by edm::ESTransientHandle< T >::operator*(), edm::ESTransientHandle< T >::operator->(), FWFFService::postBeginRun(), and OscarMTMasterThread::readES().

51 { return static_cast<T const *>(productStorage()); }
void const * productStorage() const
Definition: ESHandle.h:61
long double T

Member Data Documentation

template<typename T>
const bool edm::ESTransientHandle< T >::transientAccessOnly = true
static

Definition at line 55 of file ESTransientHandle.h.