IBR-DTNSuite  0.10
refcnt_ptr< T > Class Template Reference

#include <refcnt_ptr.h>

Collaboration diagram for refcnt_ptr< T >:
Collaboration graph

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)
 
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 28 of file refcnt_ptr.h.

Constructor & Destructor Documentation

template<class T>
refcnt_ptr< T >::refcnt_ptr ( T *  p)
inlineexplicit

Definition at line 59 of file refcnt_ptr.h.

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

Definition at line 64 of file refcnt_ptr.h.

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

Definition at line 70 of file refcnt_ptr.h.

Member Function Documentation

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

Definition at line 94 of file refcnt_ptr.h.

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

Definition at line 98 of file refcnt_ptr.h.

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

Definition at line 93 of file refcnt_ptr.h.

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

Definition at line 97 of file refcnt_ptr.h.

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

Definition at line 92 of file refcnt_ptr.h.

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

Definition at line 96 of file refcnt_ptr.h.

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

Definition at line 76 of file refcnt_ptr.h.

Member Data Documentation


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