A wrapper class for pointers that, if copied with the "=" operator, should be set to NULL in the new copy.
#include <mrpt/utils/safe_pointers.h>

Public Member Functions | |
| copiable_NULL_ptr () | |
| copiable_NULL_ptr (const copiable_NULL_ptr< T > &o) | |
| copiable_NULL_ptr< T > & | operator= (T *p) |
| virtual | ~copiable_NULL_ptr () |
| T & | operator* () |
| const T & | operator* () const |
| T & | operator[] (const size_t &i) |
| const T & | operator[] (const size_t &i) const |
| bool | operator== (const T *o) const |
| bool | operator== (const copiable_NULL_ptr_basic< T > &o) const |
| bool | operator!= (const T *o) const |
| bool | operator!= (const copiable_NULL_ptr_basic< T > &o) const |
| T *& | get () |
| const T *& | get () const |
| T *& | operator-> () |
| const T *& | operator-> () const |
Protected Attributes | |
| T * | ptr |
| mrpt::utils::copiable_NULL_ptr::copiable_NULL_ptr | ( | ) | [inline] |
Definition at line 203 of file safe_pointers.h.
| mrpt::utils::copiable_NULL_ptr::copiable_NULL_ptr | ( | const copiable_NULL_ptr< T > & | o | ) | [inline] |
Definition at line 204 of file safe_pointers.h.
| virtual mrpt::utils::copiable_NULL_ptr::~copiable_NULL_ptr | ( | ) | [inline, virtual] |
Definition at line 208 of file safe_pointers.h.
| T*& mrpt::utils::copiable_NULL_ptr_basic::get | ( | ) | [inline, inherited] |
Definition at line 189 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| const T*& mrpt::utils::copiable_NULL_ptr_basic::get | ( | ) | const [inline, inherited] |
Definition at line 190 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| bool mrpt::utils::copiable_NULL_ptr_basic::operator!= | ( | const T * | o | ) | const [inline, inherited] |
Definition at line 186 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| bool mrpt::utils::copiable_NULL_ptr_basic::operator!= | ( | const copiable_NULL_ptr_basic< T > & | o | ) | const [inline, inherited] |
Definition at line 187 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| T& mrpt::utils::copiable_NULL_ptr::operator* | ( | void | ) | [inline] |
Definition at line 210 of file safe_pointers.h.
References ASSERT_.
| const T& mrpt::utils::copiable_NULL_ptr::operator* | ( | void | ) | const [inline] |
Definition at line 211 of file safe_pointers.h.
References ASSERT_.
| T*& mrpt::utils::copiable_NULL_ptr_basic::operator-> | ( | void | ) | [inline, inherited] |
Definition at line 192 of file safe_pointers.h.
References ASSERT_, and mrpt::utils::copiable_NULL_ptr_basic::ptr.
| const T*& mrpt::utils::copiable_NULL_ptr_basic::operator-> | ( | void | ) | const [inline, inherited] |
Definition at line 193 of file safe_pointers.h.
References ASSERT_, and mrpt::utils::copiable_NULL_ptr_basic::ptr.
| copiable_NULL_ptr<T>& mrpt::utils::copiable_NULL_ptr::operator= | ( | T * | p | ) | [inline] |
Reimplemented from mrpt::utils::copiable_NULL_ptr_basic< T >.
Definition at line 206 of file safe_pointers.h.
| bool mrpt::utils::copiable_NULL_ptr_basic::operator== | ( | const T * | o | ) | const [inline, inherited] |
Definition at line 183 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| bool mrpt::utils::copiable_NULL_ptr_basic::operator== | ( | const copiable_NULL_ptr_basic< T > & | o | ) | const [inline, inherited] |
Definition at line 184 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic::ptr.
| T& mrpt::utils::copiable_NULL_ptr::operator[] | ( | const size_t & | i | ) | [inline] |
Definition at line 213 of file safe_pointers.h.
References ASSERT_.
| const T& mrpt::utils::copiable_NULL_ptr::operator[] | ( | const size_t & | i | ) | const [inline] |
Definition at line 214 of file safe_pointers.h.
References ASSERT_.
T* mrpt::utils::copiable_NULL_ptr_basic::ptr [protected, inherited] |
Definition at line 171 of file safe_pointers.h.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |