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 142 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 > &o) |
virtual | ~non_copiable_ptr () |
T & | operator* () |
const T & | operator* () const |
T & | operator[] (const size_t &i) |
const T & | operator[] (const size_t &i) const |
mrpt::utils::non_copiable_ptr< T >::non_copiable_ptr | ( | ) | [inline] |
Definition at line 145 of file safe_pointers.h.
mrpt::utils::non_copiable_ptr< T >::non_copiable_ptr | ( | const non_copiable_ptr< T > & | o | ) | [inline] |
Definition at line 146 of file safe_pointers.h.
mrpt::utils::non_copiable_ptr< T >::non_copiable_ptr | ( | const T * | p | ) | [inline] |
Definition at line 147 of file safe_pointers.h.
virtual mrpt::utils::non_copiable_ptr< T >::~non_copiable_ptr | ( | ) | [inline, virtual] |
Definition at line 154 of file safe_pointers.h.
T& mrpt::utils::non_copiable_ptr< T >::operator* | ( | void | ) | [inline] |
Definition at line 156 of file safe_pointers.h.
const T& mrpt::utils::non_copiable_ptr< T >::operator* | ( | void | ) | const [inline] |
Definition at line 157 of file safe_pointers.h.
non_copiable_ptr<T>& mrpt::utils::non_copiable_ptr< T >::operator= | ( | const non_copiable_ptr< T > & | o | ) | [inline] |
Definition at line 151 of file safe_pointers.h.
non_copiable_ptr<T>& mrpt::utils::non_copiable_ptr< T >::operator= | ( | const T * | p | ) | [inline] |
Definition at line 149 of file safe_pointers.h.
const T& mrpt::utils::non_copiable_ptr< T >::operator[] | ( | const size_t & | i | ) | const [inline] |
Definition at line 160 of file safe_pointers.h.
T& mrpt::utils::non_copiable_ptr< T >::operator[] | ( | const size_t & | i | ) | [inline] |
Definition at line 159 of file safe_pointers.h.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011 |