PPL Logo

CkZeroPtr< T, PUP_PTR > Class Template Reference

A not-so-smart smart pointer type: just zero initialized. More...

#include <cklists.h>

Inheritance diagram for CkZeroPtr< T, PUP_PTR >:

Inheritance graph
[legend]
Collaboration diagram for CkZeroPtr< T, PUP_PTR >:

Collaboration graph
[legend]

Public Member Functions

 CkZeroPtr ()
 CkZeroPtr (T *sto)
 CkZeroPtr (const CkZeroPtr &src)
CkZeroPtroperator= (const CkZeroPtr &src)
Toperator= (T *sto)
 operator T * () const
Trelease ()
Toperator* () const
Toperator-> () const
void destroy (void)
void pup (PUP::er &p)

Protected Attributes

Tstorage

Friends

void operator| (PUP::er &p, CkZeroPtr< T, PUP_PTR > &v)

Detailed Description

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
class CkZeroPtr< T, PUP_PTR >

A not-so-smart smart pointer type: just zero initialized.

Definition at line 433 of file cklists.h.


Constructor & Destructor Documentation

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
CkZeroPtr< T, PUP_PTR >::CkZeroPtr (  )  [inline]

Definition at line 437 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
CkZeroPtr< T, PUP_PTR >::CkZeroPtr ( T sto  )  [inline]

Definition at line 438 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
CkZeroPtr< T, PUP_PTR >::CkZeroPtr ( const CkZeroPtr< T, PUP_PTR > &  src  )  [inline]

Definition at line 439 of file cklists.h.


Member Function Documentation

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
CkZeroPtr& CkZeroPtr< T, PUP_PTR >::operator= ( const CkZeroPtr< T, PUP_PTR > &  src  )  [inline]

Definition at line 440 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
T* CkZeroPtr< T, PUP_PTR >::operator= ( T sto  )  [inline]

Definition at line 443 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
CkZeroPtr< T, PUP_PTR >::operator T * ( void   )  const [inline]

Definition at line 445 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
T* CkZeroPtr< T, PUP_PTR >::release (  )  [inline]

Definition at line 447 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
T& CkZeroPtr< T, PUP_PTR >::operator* (  )  const [inline]

Definition at line 452 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
T* CkZeroPtr< T, PUP_PTR >::operator-> (  )  const [inline]

Definition at line 454 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
void CkZeroPtr< T, PUP_PTR >::destroy ( void   )  [inline]

Definition at line 459 of file cklists.h.

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
void CkZeroPtr< T, PUP_PTR >::pup ( PUP::er p  )  [inline]

Definition at line 464 of file cklists.h.


Friends And Related Function Documentation

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
void operator| ( PUP::er p,
CkZeroPtr< T, PUP_PTR > &  v 
) [friend]

Definition at line 468 of file cklists.h.


Field Documentation

template<class T, class PUP_PTR = CkPupAllocatePtr<T>>
T* CkZeroPtr< T, PUP_PTR >::storage [protected]


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

Generated on Fri May 25 08:02:25 2012 for Charm++ by  doxygen 1.5.5