#include <pup.h>
Public Member Functions | |
CkPointer (T *src) | |
Used on the send side, and does *not* delete the object. | |
CkPointer (CkPointer< T > &&src) | |
CkPointer (void) | |
Begin completely empty: used on marshalling recv side. | |
~CkPointer () | |
operator T * () | |
Extract the object held by this class. | |
void | pup (PUP::er &p) |
Protected Member Functions | |
T * | peek (void) |
Private Member Functions | |
CkPointer (const CkPointer< T > &) | |
void | operator= (const CkPointer< T > &) |
void | operator= (CkPointer< T > &&) |
Private Attributes | |
T * | allocated |
T * | ptr |
Friends | |
void | operator| (PUP::er &p, CkPointer< T > &v) |
Definition at line 847 of file pup.h.
Used on the send side, and does *not* delete the object.
src | Marshall this object. |
Definition at line 858 of file pup.h.
References CkPointer< T >::allocated, and CkPointer< T >::ptr.
Definition at line 863 of file pup.h.
References CkPointer< T >::allocated, CkPointer< T >::ptr, and src.
Begin completely empty: used on marshalling recv side.
Definition at line 873 of file pup.h.
References CkPointer< T >::allocated, and CkPointer< T >::ptr.
T* CkPointer< T >::peek | ( | void | ) | [inline, protected] |
Definition at line 855 of file pup.h.
References CkPointer< T >::ptr.
Referenced by CkReference< T >::operator T &().
CkPointer< T >::operator T * | ( | void | ) | [inline] |
Extract the object held by this class.
Deleting the pointer is now the user's responsibility
Definition at line 881 of file pup.h.
References CkPointer< T >::allocated, and CkPointer< T >::ptr.
Reimplemented in CkReference< T >.
Definition at line 883 of file pup.h.
References CkPointer< T >::allocated, and CkPointer< T >::ptr.
Referenced by CkReference< T >::pup().
Definition at line 848 of file pup.h.
Referenced by CkPointer< T >::CkPointer(), CkPointer< T >::operator T *(), CkPointer< T >::pup(), and CkPointer< T >::~CkPointer().
Definition at line 849 of file pup.h.
Referenced by CkPointer< T >::CkPointer(), CkPointer< T >::operator T *(), CkPointer< T >::peek(), and CkPointer< T >::pup().