#include <CloningPtr.h>
Public Member Functions | |
CloningPtr () | |
CloningPtr (const T &iPtr) | |
CloningPtr (const CloningPtr< T, P > &iPtr) | |
CloningPtr (std::auto_ptr< T > iPtr) | |
T * | get () const |
T & | operator* () const |
T * | operator-> () const |
CloningPtr< T, P > & | operator= (const CloningPtr< T, P > &iRHS) |
void | swap (CloningPtr< T, P > &iPtr) |
~CloningPtr () | |
Private Attributes | |
T * | ptr_ |
Definition at line 32 of file CloningPtr.h.
edm::CloningPtr< T, P >::CloningPtr | ( | ) | [inline] |
Definition at line 34 of file CloningPtr.h.
: ptr_(0) {}
edm::CloningPtr< T, P >::CloningPtr | ( | const T & | iPtr | ) | [inline] |
Definition at line 35 of file CloningPtr.h.
edm::CloningPtr< T, P >::CloningPtr | ( | std::auto_ptr< T > | iPtr | ) | [inline] |
Definition at line 36 of file CloningPtr.h.
: ptr_(iPtr.release()) {}
edm::CloningPtr< T, P >::CloningPtr | ( | const CloningPtr< T, P > & | iPtr | ) | [inline] |
Definition at line 37 of file CloningPtr.h.
edm::CloningPtr< T, P >::~CloningPtr | ( | ) | [inline] |
Definition at line 49 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
{ delete ptr_;}
T* edm::CloningPtr< T, P >::get | ( | void | ) | const [inline] |
Definition at line 56 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
{ return ptr_; }
T& edm::CloningPtr< T, P >::operator* | ( | ) | const [inline] |
Definition at line 52 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
{ return *ptr_; }
T* edm::CloningPtr< T, P >::operator-> | ( | ) | const [inline] |
Definition at line 54 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
{ return ptr_; }
CloningPtr<T,P>& edm::CloningPtr< T, P >::operator= | ( | const CloningPtr< T, P > & | iRHS | ) | [inline] |
Definition at line 39 of file CloningPtr.h.
References edm::CloningPtr< T, P >::swap(), and groupFilesInBlocks::temp.
{ CloningPtr<T,P> temp(iRHS); swap(temp); return *this; }
void edm::CloningPtr< T, P >::swap | ( | CloningPtr< T, P > & | iPtr | ) | [inline] |
Definition at line 45 of file CloningPtr.h.
References edm::CloningPtr< T, P >::ptr_.
Referenced by edm::CloningPtr< T, P >::operator=(), and edm::swap().
T* edm::CloningPtr< T, P >::ptr_ [private] |
Definition at line 59 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().