![]() |
PEARL
Parallel Event Access and Replay Library
|
Non-intrusive reference-counted smart pointer.
#include <pearl/CountedPtr.h>
Classes | |
struct | Counter |
Reference counting data structure. | |
Public Types | |
typedef T | element_type |
Type name for the counted value. | |
Public Member Functions | |
void | initialize (T *ptr) |
CountedPtr & | operator= (const CountedPtr &rhs) throw () |
T * | get () const throw () |
T & | operator* () const throw () |
T * | operator-> () const throw () |
Constructors & destructor | |
CountedPtr (T *ptr=0) | |
CountedPtr (const CountedPtr &rhs) throw () | |
~CountedPtr () throw () |
typedef T pearl::CountedPtr< T >::element_type |
pearl::CountedPtr< T >::CountedPtr | ( | T * | ptr = 0 | ) | [inline, explicit] |
pearl::CountedPtr< T >::CountedPtr | ( | const CountedPtr< T > & | rhs | ) | throw () [inline] |
pearl::CountedPtr< T >::~CountedPtr | ( | ) | throw () [inline] |
T * pearl::CountedPtr< T >::get | ( | ) | const throw () [inline] |
void pearl::CountedPtr< T >::initialize | ( | T * | ptr | ) | [inline] |
T & pearl::CountedPtr< T >::operator* | ( | ) | const throw () [inline] |
T * pearl::CountedPtr< T >::operator-> | ( | ) | const throw () [inline] |
CountedPtr< T > & pearl::CountedPtr< T >::operator= | ( | const CountedPtr< T > & | rhs | ) | throw () [inline] |
![]() |
Copyright © 1998–2014 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2014 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |