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)
T * operator= (T *sto)
 operator T * () const
T * release ()
T & operator* () const
T * operator-> () const
void destroy (void)
void pup (PUP::er &p)

Protected Attributes

T * storage

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 437 of file cklists.h.


Constructor & Destructor Documentation

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

Definition at line 441 of file cklists.h.

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

Definition at line 442 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 443 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 444 of file cklists.h.

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

Definition at line 447 of file cklists.h.

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

Definition at line 449 of file cklists.h.

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

Definition at line 451 of file cklists.h.

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

Definition at line 456 of file cklists.h.

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

Definition at line 458 of file cklists.h.

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

Definition at line 463 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 468 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 472 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 Mon Sep 21 08:21:44 2020 for Charm++ by  doxygen 1.5.5