![]() |
PEARL
Parallel Event Access and Replay Library
|
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 | |
CountedPtr & | operator= (const CountedPtr &rhs) throw () |
Value access | |
T * | get () const throw () |
T & | operator* () const throw () |
T * | operator-> () const throw () |
typedef T pearl::CountedPtr< T >::element_type |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
![]() |
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 |