#include <DataFormats/Common/interface/CloningPtr.h>
Public Member Functions | |
CloningPtr (const CloningPtr< T, P > &iPtr) | |
CloningPtr (std::auto_ptr< T > iPtr) | |
CloningPtr (const T &iPtr) | |
CloningPtr () | |
T * | get () const |
T & | operator * () const |
T * | operator-> () const |
const CloningPtr< T, P > & | operator= (const CloningPtr< T, P > &iRHS) |
void | swap (CloningPtr< T, P > &iPtr) |
~CloningPtr () | |
Private Attributes | |
T * | ptr_ |
Definition at line 31 of file CloningPtr.h.
edm::CloningPtr< T, P >::CloningPtr | ( | ) | [inline] |
edm::CloningPtr< T, P >::CloningPtr | ( | const T & | iPtr | ) | [inline] |
edm::CloningPtr< T, P >::CloningPtr | ( | std::auto_ptr< T > | iPtr | ) | [inline] |
edm::CloningPtr< T, P >::CloningPtr | ( | const CloningPtr< T, P > & | iPtr | ) | [inline] |
edm::CloningPtr< T, P >::~CloningPtr | ( | ) | [inline] |
Definition at line 48 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
00048 { delete ptr_;}
T* edm::CloningPtr< T, P >::get | ( | void | ) | const [inline] |
Definition at line 55 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
00055 { return ptr_; }
T& edm::CloningPtr< T, P >::operator * | ( | ) | const [inline] |
Definition at line 51 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
00051 { return *ptr_; }
T* edm::CloningPtr< T, P >::operator-> | ( | ) | const [inline] |
Definition at line 53 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
00053 { return ptr_; }
const CloningPtr<T,P>& edm::CloningPtr< T, P >::operator= | ( | const CloningPtr< T, P > & | iRHS | ) | [inline] |
Definition at line 38 of file CloningPtr.h.
References edm::CloningPtr< T, P >::swap(), and pyDBSRunClass::temp.
00038 { 00039 CloningPtr<T,P> temp(iRHS); 00040 swap(temp); 00041 return *this; 00042 }
void edm::CloningPtr< T, P >::swap | ( | CloningPtr< T, P > & | iPtr | ) | [inline] |
Definition at line 44 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_, and std::swap().
Referenced by edm::CloningPtr< T, P >::operator=(), and edm::swap().
T* edm::CloningPtr< T, P >::ptr_ [private] |
Definition at line 58 of file CloningPtr.h.
Referenced by edm::CloningPtr< T, P >::get(), edm::CloningPtr< T, P >::operator *(), edm::CloningPtr< T, P >::operator->(), edm::CloningPtr< T, P >::swap(), and edm::CloningPtr< T, P >::~CloningPtr().