#include <macSmartPtr.h>
Public Member Functions | |
| SmartPtr () | |
| SmartPtr (const SmartPtr< T > &p) | |
| SmartPtr (T *o) | |
| ~SmartPtr () | |
| SmartPtr< T > & | operator= (const SmartPtr< T > &p) |
| SmartPtr< T > & | operator= (T *o) |
| bool | operator== (const SmartPtr< T > &p) const |
| bool | operator!= (const SmartPtr< T > &p) const |
| bool | operator== (T *p) const |
| bool | operator!= (T *p) const |
| bool | isNull () const |
| T * | operator-> () const |
| T & | operator* () const |
| operator T * () const | |
Protected Member Functions | |
| T * | object () const |
| void | setObject (T *o) |
Definition at line 17 of file macSmartPtr.h.
| macx::SmartPtr< T >::SmartPtr | ( | ) | [inline] |
Definition at line 21 of file macSmartPtr.h.
| macx::SmartPtr< T >::SmartPtr | ( | const SmartPtr< T > & | p | ) | [inline] |
Definition at line 23 of file macSmartPtr.h.
References macx::SmartPtr< T >::object(), and macx::SmartPtr< T >::setObject().
| macx::SmartPtr< T >::SmartPtr | ( | T * | o | ) | [inline] |
Definition at line 27 of file macSmartPtr.h.
| macx::SmartPtr< T >::~SmartPtr | ( | ) | [inline] |
Definition at line 32 of file macSmartPtr.h.
| bool macx::SmartPtr< T >::isNull | ( | ) | const [inline] |
| T* macx::SmartPtr< T >::object | ( | ) | const [inline, protected] |
Definition at line 72 of file macSmartPtr.h.
Referenced by macx::SmartPtr< T >::isNull(), macx::SmartPtr< T >::operator T *(), macx::SmartPtr< T >::operator!=(), macx::SmartPtr< T >::operator*(), macx::SmartPtr< T >::operator->(), macx::SmartPtr< T >::operator=(), macx::SmartPtr< T >::operator==(), and macx::SmartPtr< T >::SmartPtr().
| macx::SmartPtr< T >::operator T * | ( | ) | const [inline] |
| bool macx::SmartPtr< T >::operator!= | ( | T * | p | ) | const [inline] |
| bool macx::SmartPtr< T >::operator!= | ( | const SmartPtr< T > & | p | ) | const [inline] |
Definition at line 50 of file macSmartPtr.h.
| T& macx::SmartPtr< T >::operator* | ( | ) | const [inline] |
| T* macx::SmartPtr< T >::operator-> | ( | ) | const [inline] |
| SmartPtr<T>& macx::SmartPtr< T >::operator= | ( | T * | o | ) | [inline] |
| SmartPtr<T>& macx::SmartPtr< T >::operator= | ( | const SmartPtr< T > & | p | ) | [inline] |
Definition at line 36 of file macSmartPtr.h.
References macx::SmartPtr< T >::object(), and macx::SmartPtr< T >::setObject().
| bool macx::SmartPtr< T >::operator== | ( | T * | p | ) | const [inline] |
| bool macx::SmartPtr< T >::operator== | ( | const SmartPtr< T > & | p | ) | const [inline] |
| void macx::SmartPtr< T >::setObject | ( | T * | o | ) | [inline, protected] |
Definition at line 76 of file macSmartPtr.h.
Referenced by macx::SmartPtr< T >::operator=(), and macx::SmartPtr< T >::SmartPtr().
1.5.8