CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::TestHandle< T > Class Template Reference

#include <TestHandle.h>

Inheritance diagram for edm::TestHandle< T >:
edm::OrphanHandleBase

Public Types

typedef T element_type
 

Public Member Functions

T const & operator* () const
 
T const * operator-> () const
 
T const * product () const
 
 TestHandle ()
 
 TestHandle (T const *prod, ProductID const &id)
 
 ~TestHandle ()
 
- Public Member Functions inherited from edm::OrphanHandleBase
void clear ()
 
ProductID id () const
 
bool isValid () const
 
OrphanHandleBaseoperator= (OrphanHandleBase const &rhs)
 
 OrphanHandleBase ()
 
 OrphanHandleBase (void const *iProd, ProductID const &iId)
 
void swap (OrphanHandleBase &other)
 
 ~OrphanHandleBase ()
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 29 of file TestHandle.h.

Member Typedef Documentation

template<typename T>
typedef T edm::TestHandle< T >::element_type

Definition at line 31 of file TestHandle.h.

Constructor & Destructor Documentation

template<class T >
TestHandle::TestHandle ( )

Definition at line 48 of file TestHandle.h.

template<class T >
TestHandle::TestHandle ( T const *  prod,
ProductID const &  id 
)

Definition at line 51 of file TestHandle.h.

template<class T >
TestHandle::~TestHandle ( )

Definition at line 54 of file TestHandle.h.

54 {}

Member Function Documentation

template<class T >
T const & TestHandle::operator* ( ) const

Definition at line 67 of file TestHandle.h.

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

67  {
68  return *product();
69  }
T const * product() const
Definition: TestHandle.h:57
template<class T >
T const * TestHandle::operator-> ( ) const

Definition at line 62 of file TestHandle.h.

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

62  {
63  return product();
64  }
T const * product() const
Definition: TestHandle.h:57
template<class T >
T const * TestHandle::product ( ) const