CMS 3D CMS Logo

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

#include <EDProductfwd.h>

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

Public Types

typedef T element_type
 

Public Member Functions

T const & operator* () const
 
T const * operator-> () const
 
 OrphanHandle ()
 
 OrphanHandle (T const *prod, ProductID const &id)
 
T const * product () const
 
 ~OrphanHandle ()
 
- 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::OrphanHandle< T >

Definition at line 29 of file EDProductfwd.h.

Member Typedef Documentation

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

Definition at line 28 of file OrphanHandle.h.

Constructor & Destructor Documentation

template<class T >
edm::OrphanHandle< T >::OrphanHandle ( )

Definition at line 45 of file OrphanHandle.h.

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

Definition at line 49 of file OrphanHandle.h.

template<class T >
edm::OrphanHandle< T >::~OrphanHandle ( )

Definition at line 53 of file OrphanHandle.h.

53 {}

Member Function Documentation

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

Definition at line 69 of file OrphanHandle.h.

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

69  {
70  return *product();
71  }
T const * product() const
Definition: OrphanHandle.h:57
template<class T >
T const * edm::OrphanHandle< T >::operator-> ( ) const

Definition at line 63 of file OrphanHandle.h.

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

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