CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::PtrHolder< T > Class Template Reference

#include <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 34 of file PtrVector.h.


Constructor & Destructor Documentation

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

Definition at line 36 of file PtrVector.h.

: ptr_(iPtr) {}

Member Function Documentation

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

Definition at line 38 of file PtrVector.h.

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

                                    {
      return ptr_;
    }
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_.

                                     {
      return &ptr_;
    }

Member Data Documentation

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

Definition at line 45 of file PtrVector.h.

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