OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
RefCountedP< T > Class Template Reference

#include <RefCounted.h>

Collaboration diagram for RefCountedP< T >:

Public Member Functions

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

Private Attributes

T * p

Detailed Description

template<class T>
class RefCountedP< T >

Definition at line 34 of file RefCounted.h.

Constructor & Destructor Documentation

◆ RefCountedP() [1/3]

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

Definition at line 39 of file RefCounted.h.

References p.

Referenced by CopyForWrite(), operator=(), operator=(), and RefCountedP().

◆ RefCountedP() [2/3]

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

Definition at line 45 of file RefCounted.h.

References p.

◆ RefCountedP() [3/3]

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

Definition at line 53 of file RefCounted.h.

References p, and RefCountedP().

Here is the call graph for this function:

◆ ~RefCountedP()

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

Definition at line 61 of file RefCounted.h.

References p.

Member Function Documentation

◆ CopyForWrite()

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

Definition at line 114 of file RefCounted.h.

References p, and RefCountedP().

Here is the call graph for this function:

◆ invalidate()

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

Definition at line 102 of file RefCounted.h.

References p.

◆ operator const T *()

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

Definition at line 100 of file RefCounted.h.

References p.

◆ operator T*()

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

Definition at line 99 of file RefCounted.h.

References p.

◆ operator*()

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

Definition at line 96 of file RefCounted.h.

References p.

◆ operator->()

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

Definition at line 95 of file RefCounted.h.

References p.

◆ operator=() [1/2]

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

Definition at line 71 of file RefCounted.h.

References p, and RefCountedP().

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 83 of file RefCounted.h.

References p, and RefCountedP().

Here is the call graph for this function:

◆ valid()

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

Definition at line 108 of file RefCounted.h.

References p.

Member Data Documentation

◆ p


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