A smart pointer to a CObject object.
#include <mrpt/utils/CObject.h>

Public Types | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef C | value_copy |
Public Member Functions | |
| CObjectPtr () | |
| CObjectPtr (const CObject &data) | |
| CObjectPtr (CObject *data) | |
| CObjectPtr & | operator= (const CObject &data) |
| CObjectPtr & | operator= (const CObjectPtr &r) |
| operator bool (void) const | |
| bool | operator! (void) const |
| bool | present (void) const |
| bool | null (void) const |
| T & | operator* (void) throw (null_dereference) |
| const T & | operator* (void) const throw (null_dereference) |
| T * | operator-> (void) throw (null_dereference) |
| const T * | operator-> (void) const throw (null_dereference) |
| void | set_value (const T &data) throw (illegal_copy) |
| T & | value (void) throw (null_dereference) |
| const T & | value (void) const throw (null_dereference) |
| void | set (T *data=0) |
| T * | pointer (void) |
| const T * | pointer (void) const |
| void | alias (const smart_ptr_base< T, C, COUNTER > &) |
| bool | aliases (const smart_ptr_base< T, C, COUNTER > &) const |
| unsigned | alias_count (void) const |
| void | clear (void) |
| void | clear_unique (void) |
| void | make_unique (void) throw (illegal_copy) |
| void | copy (const smart_ptr_base< T, C, COUNTER > &) throw (illegal_copy) |
| void * | handle (void) const |
| void | make_alias (void *handle) |
Protected Attributes | |
| smart_ptr_holder< T, COUNTER > * | m_holder |
Private Types | |
| typedef stlplus::smart_ptr_clone< CObject > | BASE |
|
private |
|
inherited |
Definition at line 72 of file smart_ptr.hpp.
|
inherited |
Definition at line 71 of file smart_ptr.hpp.
|
inherited |
Definition at line 73 of file smart_ptr.hpp.
|
inherited |
Definition at line 70 of file smart_ptr.hpp.
|
inlineexplicit |
|
inlineexplicit |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Referenced by std::operator!=(), and std::operator==().
|
inlineinherited |
|
inlineinherited |
|
inherited | ||||||||||||||
|
inherited |
|
inherited |
|
inlineinherited | ||||||||||||||
Referenced by mrpt::utils::metaprogramming::ObjectMakeUnique::operator()().
|
inherited |
|
inherited |
|
inherited |
|
inherited | ||||||||||||||
|
inherited | ||||||||||||||
|
inherited | ||||||||||||||
|
inherited | ||||||||||||||
|
inline |
|
inline |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited | ||||||||||||||
|
inherited | ||||||||||||||
|
inherited | ||||||||||||||
|
protectedinherited |
Definition at line 175 of file smart_ptr.hpp.
| Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Fri Sep 3 01:11:30 UTC 2021 |