PEARL
Parallel Event Access and Replay Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions
pearl::CountedPtr< T > Class Template Reference

Non-intrusive reference-counted smart pointer.

#include <pearl/CountedPtr.h>

List of all members.

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)
CountedPtroperator= (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 ()

template<typename T>
class pearl::CountedPtr< T >


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T>
pearl::CountedPtr< T >::CountedPtr ( T *  ptr = 0) [inline, explicit]
template<typename T>
pearl::CountedPtr< T >::CountedPtr ( const CountedPtr< T > &  rhs) throw () [inline]
template<typename T >
pearl::CountedPtr< T >::~CountedPtr ( ) throw () [inline]

Member Function Documentation

template<typename T >
T * pearl::CountedPtr< T >::get ( ) const throw () [inline]
template<typename T>
void pearl::CountedPtr< T >::initialize ( T *  ptr) [inline]
template<typename T >
T & pearl::CountedPtr< T >::operator* ( ) const throw () [inline]
template<typename T >
T * pearl::CountedPtr< T >::operator-> ( ) const throw () [inline]
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Scalasca    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