A wrapper class for pointers that, if copied with the "=" operator, should be set to NULL in the new copy.
Definition at line 200 of file safe_pointers.h.
#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 |
|
inline |
Definition at line 203 of file safe_pointers.h.
|
inline |
Definition at line 204 of file safe_pointers.h.
|
inlinevirtual |
Definition at line 208 of file safe_pointers.h.
|
inlineinherited |
Definition at line 189 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inlineinherited |
Definition at line 190 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inlineinherited |
Definition at line 186 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inlineinherited |
Definition at line 187 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inline |
Definition at line 210 of file safe_pointers.h.
References ASSERT_.
|
inline |
Definition at line 211 of file safe_pointers.h.
References ASSERT_.
|
inlineinherited |
Definition at line 192 of file safe_pointers.h.
References ASSERT_, and mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inlineinherited |
Definition at line 193 of file safe_pointers.h.
References ASSERT_, and mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inline |
Definition at line 206 of file safe_pointers.h.
|
inlineinherited |
Definition at line 183 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inlineinherited |
Definition at line 184 of file safe_pointers.h.
References mrpt::utils::copiable_NULL_ptr_basic< T >::ptr.
|
inline |
Definition at line 213 of file safe_pointers.h.
References ASSERT_.
|
inline |
Definition at line 214 of file safe_pointers.h.
References ASSERT_.
|
protectedinherited |
Definition at line 171 of file safe_pointers.h.
Referenced by mrpt::utils::copiable_NULL_ptr_basic< T >::get(), mrpt::utils::copiable_NULL_ptr_basic< T >::operator!=(), mrpt::utils::copiable_NULL_ptr_basic< T >::operator->(), mrpt::utils::copiable_NULL_ptr_basic< T >::operator=(), and mrpt::utils::copiable_NULL_ptr_basic< T >::operator==().
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |