CMS 3D CMS Logo

edm::PtrHolder< T > Class Template Reference

#include <DataFormats/Common/interface/PtrVector.h>

List of all members.

Public Member Functions

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

Private Attributes

Ptr< T > ptr_


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.

00039 :ptr_(iPtr) {}


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

00041                                     {
00042       return ptr_;
00043     }

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

00044                                      {
00045       return &ptr_;
00046     }


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->().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:43:12 2009 for CMSSW by  doxygen 1.5.4