|
IBR-DTNSuite 0.6
|
#include <refcnt_ptr.h>

Classes | |
| class | Holder |
Public Member Functions | |
| refcnt_ptr (T *p) | |
| ~refcnt_ptr () | |
| refcnt_ptr (const refcnt_ptr< T > &right) | |
| refcnt_ptr< T > & | operator= (const refcnt_ptr< T > &right) |
| refcnt_ptr< T > & | operator= (refcnt_ptr< T > &right) |
| T * | operator-> () |
| T & | operator* () |
| T * | getPointer () |
| const T * | operator-> () const |
| const T & | operator* () const |
| const T * | getPointer () const |
Protected Attributes | |
| Holder * | h_ |
Definition at line 23 of file refcnt_ptr.h.
| refcnt_ptr< T >::refcnt_ptr | ( | T * | p | ) | [inline, explicit] |
Definition at line 54 of file refcnt_ptr.h.
| refcnt_ptr< T >::~refcnt_ptr | ( | ) | [inline] |
Definition at line 59 of file refcnt_ptr.h.
| refcnt_ptr< T >::refcnt_ptr | ( | const refcnt_ptr< T > & | right | ) | [inline] |
Definition at line 65 of file refcnt_ptr.h.
References refcnt_ptr< T >::Holder::count_, refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::lock.
| T* refcnt_ptr< T >::getPointer | ( | ) | [inline] |
Definition at line 98 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| const T* refcnt_ptr< T >::getPointer | ( | ) | const [inline] |
Definition at line 102 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| T& refcnt_ptr< T >::operator* | ( | ) | [inline] |
Definition at line 97 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| const T& refcnt_ptr< T >::operator* | ( | ) | const [inline] |
Definition at line 101 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| T* refcnt_ptr< T >::operator-> | ( | ) | [inline] |
Definition at line 96 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| const T* refcnt_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 100 of file refcnt_ptr.h.
References refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::ptr_.
| refcnt_ptr<T>& refcnt_ptr< T >::operator= | ( | const refcnt_ptr< T > & | right | ) | [inline] |
Definition at line 71 of file refcnt_ptr.h.
References refcnt_ptr< T >::Holder::count_, refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::lock.
| refcnt_ptr<T>& refcnt_ptr< T >::operator= | ( | refcnt_ptr< T > & | right | ) | [inline] |
Definition at line 83 of file refcnt_ptr.h.
References refcnt_ptr< T >::Holder::count_, refcnt_ptr< T >::h_, and refcnt_ptr< T >::Holder::lock.
Holder* refcnt_ptr< T >::h_ [protected] |
Definition at line 39 of file refcnt_ptr.h.
Referenced by refcnt_ptr< T >::getPointer(), refcnt_ptr< T >::operator*(), refcnt_ptr< T >::operator->(), refcnt_ptr< T >::operator=(), and refcnt_ptr< T >::refcnt_ptr().