#include <refcountable.h>
Public Types | |
| typedef T | element_type |
Public Member Functions | |
| int | count () const throw () |
| T * | get () const throw () |
| IntrusiveSharedPtr (T *p=0) throw () | |
| IntrusiveSharedPtr (const IntrusiveSharedPtr &o) throw () | |
| T & | operator* () const throw () |
| T * | operator-> () const throw () |
| IntrusiveSharedPtr & | operator= (const IntrusiveSharedPtr &other) |
| void | reset () throw () |
| void | swap (IntrusiveSharedPtr &b) |
| bool | unique () const throw () |
| ~IntrusiveSharedPtr () throw () | |
Private Member Functions | |
| void | addRef () const |
| void | release () const |
Private Attributes | |
| T * | ptr_ |
Definition at line 37 of file refcountable.h.
| typedef T ProgramOptions::detail::IntrusiveSharedPtr< T >::element_type |
Definition at line 39 of file refcountable.h.
| ProgramOptions::detail::IntrusiveSharedPtr< T >::IntrusiveSharedPtr | ( | T * | p = 0 | ) | throw () [inline, explicit] |
Definition at line 40 of file refcountable.h.
| ProgramOptions::detail::IntrusiveSharedPtr< T >::IntrusiveSharedPtr | ( | const IntrusiveSharedPtr< T > & | o | ) | throw () [inline] |
Definition at line 42 of file refcountable.h.
| ProgramOptions::detail::IntrusiveSharedPtr< T >::~IntrusiveSharedPtr | ( | ) | throw () [inline] |
Definition at line 44 of file refcountable.h.
| void ProgramOptions::detail::IntrusiveSharedPtr< T >::addRef | ( | ) | const [inline, private] |
Definition at line 64 of file refcountable.h.
| int ProgramOptions::detail::IntrusiveSharedPtr< T >::count | ( | ) | const throw () [inline] |
Definition at line 56 of file refcountable.h.
| T* ProgramOptions::detail::IntrusiveSharedPtr< T >::get | ( | ) | const throw () [inline] |
Definition at line 53 of file refcountable.h.
| T& ProgramOptions::detail::IntrusiveSharedPtr< T >::operator* | ( | ) | const throw () [inline] |
Definition at line 51 of file refcountable.h.
| T* ProgramOptions::detail::IntrusiveSharedPtr< T >::operator-> | ( | ) | const throw () [inline] |
Definition at line 52 of file refcountable.h.
| IntrusiveSharedPtr& ProgramOptions::detail::IntrusiveSharedPtr< T >::operator= | ( | const IntrusiveSharedPtr< T > & | other | ) | [inline] |
Definition at line 45 of file refcountable.h.
| void ProgramOptions::detail::IntrusiveSharedPtr< T >::release | ( | ) | const [inline, private] |
Definition at line 65 of file refcountable.h.
| void ProgramOptions::detail::IntrusiveSharedPtr< T >::reset | ( | ) | throw () [inline] |
Definition at line 54 of file refcountable.h.
| void ProgramOptions::detail::IntrusiveSharedPtr< T >::swap | ( | IntrusiveSharedPtr< T > & | b | ) | [inline] |
Definition at line 57 of file refcountable.h.
| bool ProgramOptions::detail::IntrusiveSharedPtr< T >::unique | ( | ) | const throw () [inline] |
Definition at line 55 of file refcountable.h.
T* ProgramOptions::detail::IntrusiveSharedPtr< T >::ptr_ [private] |
Definition at line 63 of file refcountable.h.