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

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

Definition at line 49 of file OrphanHandle.h.

49  : OrphanHandleBase(prod, theId) {
50  }
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.

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.

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

Definition at line 57 of file OrphanHandle.h.

References compareJSON::const.

57  {
58  return static_cast<T const*>(productStorage());
59  }
string const
Definition: compareJSON.py:14
long double T
void const * productStorage() const