PEARL
Parallel Event Access and Replay Library
Classes | Public Types | List of all members
pearl::CountedPtr< T > Class Template Reference

Non-intrusive reference-counted smart pointer.

#include <pearl/CountedPtr.h>

Public Types

typedef T element_type
 Type name for the counted value. More...
 

Public Member Functions

Constructors & destructor
 CountedPtr (T *ptr=0)
 
 CountedPtr (const CountedPtr &rhs) throw ()
 
 ~CountedPtr () throw ()
 
Initialization
void initialize (T *ptr)
 
Assignment operator
CountedPtroperator= (const CountedPtr &rhs) throw ()
 
Value access
T * get () const throw ()
 
T & operator* () const throw ()
 
T * operator-> () const throw ()
 

Member Typedef Documentation

◆ element_type

template<typename T >
typedef T pearl::CountedPtr< T >::element_type

Constructor & Destructor Documentation

◆ CountedPtr() [1/2]

template<typename T >
pearl::CountedPtr< T >::CountedPtr ( T *  ptr = 0)
inlineexplicit

◆ CountedPtr() [2/2]

template<typename T >
pearl::CountedPtr< T >::CountedPtr ( const CountedPtr< T > &  rhs)
throw (
)
inline

◆ ~CountedPtr()

template<typename T >
pearl::CountedPtr< T >::~CountedPtr
throw (
)
inline

Member Function Documentation

◆ get()

template<typename T >
T * pearl::CountedPtr< T >::get
throw (
)
inline

◆ initialize()

template<typename T >
void pearl::CountedPtr< T >::initialize ( T *  ptr)
inline

◆ operator*()

template<typename T >
T & pearl::CountedPtr< T >::operator*
throw (
)
inline

◆ operator->()

template<typename T >
T * pearl::CountedPtr< T >::operator->
throw (
)
inline

◆ operator=()

template<typename T >
CountedPtr< T > & pearl::CountedPtr< T >::operator= ( const CountedPtr< T > &  rhs)
throw (
)
inline

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

Scalasca    Copyright © 1998–2019 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming