#include <mrpt/otherlibs/stlplus/smart_ptr.hpp>

Public Types | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef C | value_copy |
Public Member Functions | |
| smart_ptr_base (void) | |
| smart_ptr_base (const T &data) throw (illegal_copy) | |
| smart_ptr_base (T *data) | |
| smart_ptr_base (const smart_ptr_base< T, C, COUNTER > &r) | |
| ~smart_ptr_base (void) | |
| 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 |
| typedef const T& stlplus::smart_ptr_base::const_reference |
Definition at line 112 of file smart_ptr.hpp.
| typedef T& stlplus::smart_ptr_base::reference |
Definition at line 111 of file smart_ptr.hpp.
| typedef C stlplus::smart_ptr_base::value_copy |
Definition at line 113 of file smart_ptr.hpp.
| typedef T stlplus::smart_ptr_base::value_type |
Definition at line 110 of file smart_ptr.hpp.
| stlplus::smart_ptr_base::smart_ptr_base | ( | void | ) |
Definition at line 167 of file smart_ptr.tpp.
| stlplus::smart_ptr_base::smart_ptr_base | ( | const T & | data | ) | throw (illegal_copy) [explicit] |
Definition at line 174 of file smart_ptr.tpp.
| stlplus::smart_ptr_base::smart_ptr_base | ( | T * | data | ) | [explicit] |
Definition at line 184 of file smart_ptr.tpp.
References m_holder, and stlplus::smart_ptr_holder::set().
| stlplus::smart_ptr_base::smart_ptr_base | ( | const smart_ptr_base< T, C, COUNTER > & | r | ) | [explicit] |
Definition at line 192 of file smart_ptr.tpp.
References m_holder, and stlplus::smart_ptr_holder::increment().
| stlplus::smart_ptr_base::~smart_ptr_base | ( | void | ) |
Definition at line 201 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::alias | ( | const smart_ptr_base< T, C, COUNTER > & | r | ) | [inline] |
Definition at line 311 of file smart_ptr.tpp.
References m_holder.
Referenced by stlplus::smart_ptr< vector_byte >::operator=(), stlplus::smart_ptr_clone< CObject >::operator=(), and stlplus::smart_ptr_nocopy::operator=().
| unsigned stlplus::smart_ptr_base::alias_count | ( | void | ) | const [inline] |
Definition at line 330 of file smart_ptr.tpp.
| bool stlplus::smart_ptr_base::aliases | ( | const smart_ptr_base< T, C, COUNTER > & | r | ) | const [inline] |
Definition at line 324 of file smart_ptr.tpp.
References m_holder.
| void stlplus::smart_ptr_base::clear | ( | void | ) | [inline] |
Definition at line 336 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::clear_unique | ( | void | ) | [inline] |
Definition at line 342 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::copy | ( | const smart_ptr_base< T, C, COUNTER > & | data | ) | throw (illegal_copy) |
Definition at line 369 of file smart_ptr.tpp.
| void * stlplus::smart_ptr_base::handle | ( | void | ) | const |
Definition at line 379 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::make_alias | ( | void * | handle | ) |
Definition at line 385 of file smart_ptr.tpp.
References stlplus::smart_ptr_holder::increment().
| void stlplus::smart_ptr_base::make_unique | ( | void | ) | throw (illegal_copy) [inline] |
Definition at line 355 of file smart_ptr.tpp.
References stlplus::smart_ptr_holder::decrement(), stlplus::smart_ptr_holder::pointer(), stlplus::smart_ptr_holder::set(), and stlplus::smart_ptr_holder::value().
| bool stlplus::smart_ptr_base::null | ( | void | ) | const [inline] |
Definition at line 211 of file smart_ptr.tpp.
| stlplus::smart_ptr_base::operator bool | ( | void | ) | const |
Definition at line 229 of file smart_ptr.tpp.
| bool stlplus::smart_ptr_base::operator! | ( | void | ) | const |
Definition at line 223 of file smart_ptr.tpp.
| T & stlplus::smart_ptr_base::operator* | ( | void | ) | throw (null_dereference) [inline] |
Definition at line 238 of file smart_ptr.tpp.
| const T & stlplus::smart_ptr_base::operator* | ( | void | ) | const throw (null_dereference) [inline] |
Definition at line 245 of file smart_ptr.tpp.
| T * stlplus::smart_ptr_base::operator-> | ( | void | ) | throw (null_dereference) [inline] |
Definition at line 252 of file smart_ptr.tpp.
| const T * stlplus::smart_ptr_base::operator-> | ( | void | ) | const throw (null_dereference) [inline] |
Definition at line 259 of file smart_ptr.tpp.
| T * stlplus::smart_ptr_base::pointer | ( | void | ) | [inline] |
Definition at line 295 of file smart_ptr.tpp.
| const T * stlplus::smart_ptr_base::pointer | ( | void | ) | const [inline] |
Definition at line 301 of file smart_ptr.tpp.
| bool stlplus::smart_ptr_base::present | ( | void | ) | const [inline] |
Definition at line 217 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::set | ( | T * | data = 0 | ) |
Definition at line 289 of file smart_ptr.tpp.
| void stlplus::smart_ptr_base::set_value | ( | const T & | data | ) | throw (illegal_copy) [inline] |
Definition at line 269 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr< vector_byte >::operator=(), stlplus::smart_ptr_clone< CObject >::operator=(), and stlplus::smart_ptr_nocopy::operator=().
| T & stlplus::smart_ptr_base::value | ( | void | ) | throw (null_dereference) [inline] |
Definition at line 275 of file smart_ptr.tpp.
| const T & stlplus::smart_ptr_base::value | ( | void | ) | const throw (null_dereference) [inline] |
Definition at line 282 of file smart_ptr.tpp.
smart_ptr_holder<T,COUNTER>* stlplus::smart_ptr_base::m_holder [protected] |
Definition at line 215 of file smart_ptr.hpp.
Referenced by smart_ptr_base(), alias(), and aliases().
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |