OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
RefCountedP< T > Class Template Reference

#include <RefCounted.h>

Public Member Functions

 RefCountedP ()
 
 RefCountedP (T *pp)
 
 RefCountedP (const RefCountedP< T > &pp)
 
 ~RefCountedP ()
 
RefCountedPoperator= (const RefCountedP &rhs)
 
RefCountedPoperator= (T *pp)
 
Toperator-> () const
 
Toperator* () const
 
 operator T * ()
 
 operator const T * () const
 
void invalidate ()
 
bool valid ()
 
RefCountedP< T > & CopyForWrite ()
 

Private Attributes

Tp
 

Detailed Description

template<class T>
class RefCountedP< T >

Definition at line 34 of file RefCounted.h.

Constructor & Destructor Documentation

template<class T>
RefCountedP< T >::RefCountedP ( )
inline

Definition at line 39 of file RefCounted.h.

template<class T>
RefCountedP< T >::RefCountedP ( T pp)
inline

Definition at line 45 of file RefCounted.h.

template<class T>
RefCountedP< T >::RefCountedP ( const RefCountedP< T > &  pp)
inline

Definition at line 53 of file RefCounted.h.

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

Definition at line 61 of file RefCounted.h.

Member Function Documentation

template<class T>
RefCountedP<T>& RefCountedP< T >::CopyForWrite ( )
inline

Definition at line 114 of file RefCounted.h.

template<class T>
void RefCountedP< T >::invalidate ( )
inline

Definition at line 102 of file RefCounted.h.

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

Definition at line 100 of file RefCounted.h.

References RefCountedP< T >::p.

template<class T>
RefCountedP< T >::operator T * ( )
inline

Definition at line 99 of file RefCounted.h.

References RefCountedP< T >::p.

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

Definition at line 96 of file RefCounted.h.

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

Definition at line 95 of file RefCounted.h.

template<class T>
RefCountedP& RefCountedP< T >::operator= ( const RefCountedP< T > &  rhs)
inline

Definition at line 71 of file RefCounted.h.

template<class T>
RefCountedP& RefCountedP< T >::operator= ( T pp)
inline

Definition at line 83 of file RefCounted.h.

template<class T>
bool RefCountedP< T >::valid ( )
inline

Definition at line 108 of file RefCounted.h.

Member Data Documentation

template<class T>
T* RefCountedP< T >::p
private

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