DBus::RefPtrI< T > Class Template Reference
#include <util.h>
Inheritance diagram for DBus::RefPtrI< T >:
Public Member Functions | |
RefPtrI (T *ptr=0) | |
~RefPtrI () | |
RefPtrI & | operator= (const RefPtrI &ref) |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
Private Attributes | |
T * | __ptr |
RefCnt | __cnt |
Detailed Description
template<class T>
class DBus::RefPtrI< T >
Definition at line 113 of file util.h.
Constructor & Destructor Documentation
template<class T>
DBus::RefPtrI< T >::RefPtrI | ( | T * | ptr = 0 |
) | [inline] |
Definition at line 35 of file refptr_impl.h.
template<class T >
DBus::RefPtrI< T >::~RefPtrI | ( | ) | [inline] |
Definition at line 40 of file refptr_impl.h.
References DBus::RefPtrI< T >::__cnt, DBus::RefPtrI< T >::__ptr, and DBus::RefCnt::one().
Member Function Documentation
template<class T>
T* DBus::RefPtrI< T >::get | ( | ) | const [inline] |
Definition at line 145 of file util.h.
Referenced by DBus::Connection::setup().
template<class T>
T& DBus::RefPtrI< T >::operator* | ( | ) | const [inline] |
template<class T>
T* DBus::RefPtrI< T >::operator-> | ( | ) | const [inline] |
template<class T>
RefPtrI& DBus::RefPtrI< T >::operator= | ( | const RefPtrI< T > & | ref | ) | [inline] |
Member Data Documentation
template<class T>
RefCnt DBus::RefPtrI< T >::__cnt [private] |
Definition at line 155 of file util.h.
Referenced by DBus::RefPtrI< Private >::get(), DBus::RefPtrI< Private >::operator->(), DBus::RefPtrI< Private >::operator=(), and DBus::RefPtrI< T >::~RefPtrI().
template<class T>
T* DBus::RefPtrI< T >::__ptr [private] |
Definition at line 154 of file util.h.
Referenced by DBus::RefPtrI< Private >::get(), DBus::RefPtrI< Private >::operator*(), DBus::RefPtrI< Private >::operator->(), DBus::RefPtrI< Private >::operator=(), and DBus::RefPtrI< T >::~RefPtrI().
The documentation for this class was generated from the following files: