A wrapper class for pointers that can NOT be copied with "=" operator, raising an exception at runtime if a copy is attempted.
Definition at line 128 of file safe_pointers.h.
#include <mrpt/utils/safe_pointers.h>

Public Member Functions | |
| non_copiable_ptr () | |
| non_copiable_ptr (const non_copiable_ptr< T > &o) | |
| non_copiable_ptr (const T *p) | |
| non_copiable_ptr< T > & | operator= (const T *p) |
| non_copiable_ptr< T > & | operator= (const non_copiable_ptr< T > &) |
| virtual | ~non_copiable_ptr () |
| T & | operator* () |
| const T & | operator* () const |
| T & | operator[] (const size_t &i) |
| const T & | operator[] (const size_t &i) const |
| void | set (const T *p) |
| This method can change the pointer, since the change is made explicitly, not through copy operators transparent to the user. More... | |
| bool | operator== (const T *o) const |
| bool | operator== (const non_copiable_ptr_basic< T > &o) const |
| bool | operator!= (const T *o) const |
| bool | operator!= (const non_copiable_ptr_basic< T > &o) const |
| T *& | get () |
| const T * | get () const |
| T ** | getPtrToPtr () |
| T *& | operator-> () |
| const T * | operator-> () const |
Protected Attributes | |
| T * | ptr |
|
inline |
Definition at line 131 of file safe_pointers.h.
|
inline |
Definition at line 132 of file safe_pointers.h.
|
inline |
Definition at line 133 of file safe_pointers.h.
|
inlinevirtual |
Definition at line 140 of file safe_pointers.h.
|
inlineinherited |
Definition at line 114 of file safe_pointers.h.
Referenced by mrpt::gui::CBaseGUIWindow::getWxObject().
|
inlineinherited |
Definition at line 115 of file safe_pointers.h.
|
inlineinherited |
Definition at line 117 of file safe_pointers.h.
|
inlineinherited |
Definition at line 111 of file safe_pointers.h.
|
inlineinherited |
Definition at line 112 of file safe_pointers.h.
|
inline |
Definition at line 142 of file safe_pointers.h.
|
inline |
Definition at line 143 of file safe_pointers.h.
|
inlineinherited |
Definition at line 119 of file safe_pointers.h.
|
inlineinherited |
Definition at line 120 of file safe_pointers.h.
|
inline |
Definition at line 135 of file safe_pointers.h.
|
inline |
Definition at line 137 of file safe_pointers.h.
|
inlineinherited |
Definition at line 108 of file safe_pointers.h.
|
inlineinherited |
Definition at line 109 of file safe_pointers.h.
|
inline |
Definition at line 145 of file safe_pointers.h.
|
inline |
Definition at line 146 of file safe_pointers.h.
|
inlineinherited |
This method can change the pointer, since the change is made explicitly, not through copy operators transparent to the user.
Definition at line 104 of file safe_pointers.h.
|
protectedinherited |
Definition at line 92 of file safe_pointers.h.
Referenced by mrpt::utils::non_copiable_ptr_basic< void >::get(), mrpt::utils::non_copiable_ptr_basic< void >::getPtrToPtr(), mrpt::utils::non_copiable_ptr_basic< void >::operator!=(), mrpt::utils::non_copiable_ptr_basic< void >::operator->(), and mrpt::utils::non_copiable_ptr_basic< void >::operator==().
| Page generated by Doxygen 1.8.9.1 for MRPT 1.3.2 SVN:Unversioned directory at Thu Dec 10 00:07:55 UTC 2015 |