#include <MercuryUtil.h>
Inheritance diagram for MAutoPtr< T >:
Public Member Functions | |
MAutoPtr (T *ptr) | |
MAutoPtr () | |
MAutoPtr (const MAutoPtr< T > &autoPtr) | |
~MAutoPtr () | |
bool | operator< (const MAutoPtr &rhs) const |
bool | operator> (const MAutoPtr &rhs) const |
bool | operator<= (const MAutoPtr &rhs) const |
bool | operator>= (const MAutoPtr &rhs) const |
bool | operator== (const MAutoPtr &rhs) const |
bool | operator!= (const MAutoPtr &rhs) const |
MAutoPtr & | operator= (const MAutoPtr &rhs) |
const T & | operator-> * (MAutoPtr< T > &autoPtr) const |
T & | operator-> * (MAutoPtr< T > &autoPtr) |
operator T * () | |
operator const T * () const | |
Private Member Functions | |
void | TryDelete () |
Private Attributes | |
T * | m_ptr |
unsigned int * | m_count |
Definition at line 123 of file MercuryUtil.h.
Definition at line 126 of file MercuryUtil.h.
Definition at line 133 of file MercuryUtil.h.
Definition at line 138 of file MercuryUtil.h.
Definition at line 145 of file MercuryUtil.h.
Definition at line 148 of file MercuryUtil.h.
Definition at line 149 of file MercuryUtil.h.
Definition at line 150 of file MercuryUtil.h.
Definition at line 151 of file MercuryUtil.h.
Definition at line 152 of file MercuryUtil.h.
Definition at line 153 of file MercuryUtil.h.
Definition at line 156 of file MercuryUtil.h.
const T& MAutoPtr< T >::operator-> * | ( | MAutoPtr< T > & | autoPtr | ) | const [inline] |
Definition at line 167 of file MercuryUtil.h.
Definition at line 168 of file MercuryUtil.h.
MAutoPtr< T >::operator T * | ( | ) | [inline] |
Definition at line 170 of file MercuryUtil.h.
MAutoPtr< T >::operator const T * | ( | ) | const [inline] |
Definition at line 171 of file MercuryUtil.h.
void MAutoPtr< T >::TryDelete | ( | ) | [inline, private] |
Definition at line 174 of file MercuryUtil.h.
Definition at line 185 of file MercuryUtil.h.
Definition at line 186 of file MercuryUtil.h.