#include <DataFormats/Common/interface/TestHandle.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
ProductID | id () const |
bool | isValid () const |
T const & | operator * () const |
T const * | operator-> () const |
TestHandle< T > & | operator= (const TestHandle< T > &rhs) |
T const * | product () const |
void | swap (TestHandle< T > &other) |
TestHandle (T const *prod, ProductID const &id) | |
TestHandle (const TestHandle< T > &h) | |
TestHandle () | |
~TestHandle () | |
Private Attributes | |
ProductID | id_ |
T const * | prod_ |
Definition at line 21 of file TestHandle.h.
typedef T edm::TestHandle< T >::element_type |
Definition at line 23 of file TestHandle.h.
edm::TestHandle< T >::TestHandle | ( | ) | [inline] |
edm::TestHandle< T >::TestHandle | ( | const TestHandle< T > & | h | ) | [inline] |
edm::TestHandle< T >::TestHandle | ( | T const * | prod, | |
ProductID const & | id | |||
) | [inline] |
edm::TestHandle< T >::~TestHandle | ( | ) | [inline] |
ProductID edm::TestHandle< T >::id | ( | void | ) | const [inline] |
Definition at line 114 of file TestHandle.h.
References edm::TestHandle< T >::id_.
00114 { 00115 return id_; 00116 }
bool edm::TestHandle< T >::isValid | ( | void | ) | const [inline] |
Definition at line 90 of file TestHandle.h.
References edm::TestHandle< T >::id_, and edm::TestHandle< T >::prod_.
T const & edm::TestHandle< T >::operator * | ( | ) | const [inline] |
Definition at line 108 of file TestHandle.h.
References edm::TestHandle< T >::product().
00108 { 00109 return *product(); 00110 }
T const * edm::TestHandle< T >::operator-> | ( | ) | const [inline] |
Definition at line 102 of file TestHandle.h.
References edm::TestHandle< T >::product().
00102 { 00103 return product(); 00104 }
TestHandle< T > & edm::TestHandle< T >::operator= | ( | const TestHandle< T > & | rhs | ) | [inline] |
Definition at line 82 of file TestHandle.h.
References edm::TestHandle< T >::swap(), and pyDBSRunClass::temp.
T const * edm::TestHandle< T >::product | ( | ) | const [inline] |
Definition at line 96 of file TestHandle.h.
References edm::TestHandle< T >::prod_.
Referenced by edm::TestHandle< T >::operator *(), edm::TestHandle< T >::operator->(), edm::Ref< C, T, F >::Ref(), and edm::RefProd< edm::OwnVector >::RefProd().
00096 { 00097 return prod_; 00098 }
void edm::TestHandle< T >::swap | ( | TestHandle< T > & | other | ) | [inline] |
Definition at line 75 of file TestHandle.h.
References edm::TestHandle< T >::id_, edm::TestHandle< T >::prod_, and std::swap().
Referenced by edm::TestHandle< T >::operator=(), and edm::swap().
ProductID edm::TestHandle< T >::id_ [private] |
Definition at line 47 of file TestHandle.h.
Referenced by edm::TestHandle< T >::id(), edm::TestHandle< T >::isValid(), and edm::TestHandle< T >::swap().
T const* edm::TestHandle< T >::prod_ [private] |
Definition at line 46 of file TestHandle.h.
Referenced by edm::TestHandle< T >::isValid(), edm::TestHandle< T >::product(), and edm::TestHandle< T >::swap().