#include <pointer.hpp>
Definition at line 48 of file pointer.hpp.
Public Member Functions | |
operator const T * () const | |
operator T * () | |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
bool | operator== (const smart_pointer &p) |
T * | ptr () |
const T * | ptr () const |
smart_pointer (T *data=0) | |
T & | value () |
const T & | value () const |
~smart_pointer () | |
Private Member Functions | |
smart_pointer & | operator= (const smart_pointer &sp) |
smart_pointer (const smart_pointer &sp) | |
Private Attributes | |
T * | data |
smart_pointer | ( | const smart_pointer< T, ARRAY_PTR > & | sp | ) | [inline, private] |
Definition at line 86 of file pointer.hpp.
smart_pointer | ( | T * | data = 0 |
) | [inline, explicit] |
Definition at line 79 of file pointer.hpp.
~smart_pointer | ( | ) | [inline] |
operator const T * | ( | ) | const [inline] |
operator T * | ( | ) | [inline] |
T & operator* | ( | ) | [inline] |
const T & operator* | ( | ) | const [inline] |
T * operator-> | ( | ) | [inline] |
const T * operator-> | ( | ) | const [inline] |
smart_pointer< T, ARRAY_PTR > & operator= | ( | const smart_pointer< T, ARRAY_PTR > & | sp | ) | [inline, private] |
Definition at line 93 of file pointer.hpp.
bool operator== | ( | const smart_pointer< T, ARRAY_PTR > & | p | ) |
T * ptr | ( | ) | [inline] |
const T * ptr | ( | ) | const [inline] |
Definition at line 108 of file pointer.hpp.
References smart_pointer::data.
Referenced by string::from_stream().
T & value | ( | ) | [inline] |
const T & value | ( | ) | const [inline] |
T* data [private] |
Definition at line 51 of file pointer.hpp.
Referenced by smart_pointer::operator const T *(), smart_pointer::operator T *(), smart_pointer::operator*(), smart_pointer::operator->(), smart_pointer::ptr(), smart_pointer::value(), and smart_pointer::~smart_pointer().