IBR-DTNSuite  0.8
refcnt_ptr< T > Class Template Reference

#include <refcnt_ptr.h>

Collaboration diagram for refcnt_ptr< T >:

List of all members.

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

Holderh_

Detailed Description

template<class T>
class refcnt_ptr< T >

Definition at line 23 of file refcnt_ptr.h.


Constructor & Destructor Documentation

template<class T>
refcnt_ptr< T >::refcnt_ptr ( T *  p) [inline, explicit]

Definition at line 54 of file refcnt_ptr.h.

template<class T>
refcnt_ptr< T >::~refcnt_ptr ( ) [inline]

Definition at line 59 of file refcnt_ptr.h.

template<class T>
refcnt_ptr< T >::refcnt_ptr ( const refcnt_ptr< T > &  right) [inline]

Definition at line 65 of file refcnt_ptr.h.


Member Function Documentation

template<class T>
T* refcnt_ptr< T >::getPointer ( ) [inline]

Definition at line 104 of file refcnt_ptr.h.

template<class T>
const T* refcnt_ptr< T >::getPointer ( ) const [inline]

Definition at line 108 of file refcnt_ptr.h.

template<class T>
T& refcnt_ptr< T >::operator* ( ) [inline]

Definition at line 103 of file refcnt_ptr.h.

template<class T>
const T& refcnt_ptr< T >::operator* ( ) const [inline]

Definition at line 107 of file refcnt_ptr.h.

template<class T>
T* refcnt_ptr< T >::operator-> ( ) [inline]

Definition at line 102 of file refcnt_ptr.h.

template<class T>
const T* refcnt_ptr< T >::operator-> ( ) const [inline]

Definition at line 106 of file refcnt_ptr.h.

template<class T>
refcnt_ptr<T>& refcnt_ptr< T >::operator= ( const refcnt_ptr< T > &  right) [inline]

Definition at line 71 of file refcnt_ptr.h.

template<class T>
refcnt_ptr<T>& refcnt_ptr< T >::operator= ( refcnt_ptr< T > &  right) [inline]

Definition at line 86 of file refcnt_ptr.h.


Member Data Documentation


The documentation for this class was generated from the following file: