CMS 3D CMS Logo

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

#include <PtrVector.h>

Public Member Functions

Ptr< T > const & operator* () const
 
Ptr< T > const * operator-> () const
 
 PtrHolder (Ptr< T > const &iPtr)
 

Private Attributes

Ptr< Tptr_
 

Detailed Description

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

Definition at line 37 of file PtrVector.h.

Constructor & Destructor Documentation

template<typename T >
edm::PtrHolder< T >::PtrHolder ( Ptr< T > const &  iPtr)
inline

Definition at line 39 of file PtrVector.h.

39 : ptr_(iPtr) {}
Ptr< T > ptr_
Definition: PtrVector.h:48

Member Function Documentation

template<typename T >
Ptr<T> const& edm::PtrHolder< T >::operator* ( ) const
inline

Definition at line 41 of file PtrVector.h.

References edm::PtrHolder< T >::ptr_.

41  {
42  return ptr_;
43  }
Ptr< T > ptr_
Definition: PtrVector.h:48
template<typename T >
Ptr<T> const* edm::PtrHolder< T >::operator-> ( ) const
inline

Definition at line 44 of file PtrVector.h.

References edm::PtrHolder< T >::ptr_.

44  {
45  return &ptr_;
46  }
Ptr< T > ptr_
Definition: PtrVector.h:48

Member Data Documentation

template<typename T >
Ptr<T> edm::PtrHolder< T >::ptr_
private

Definition at line 48 of file PtrVector.h.

Referenced by edm::PtrHolder< T >::operator*(), and edm::PtrHolder< T >::operator->().