#include <debug-conv++.h>
Public Types | |
typedef void(* | pupFn )(PUP::er &p, int itemNo) |
This routine is called to pup each item of the list. | |
Public Member Functions | |
CpdSimpleListAccessor (const char *path_, CkRegisteredInfo< T > *info_, pupFn pfn_) | |
Create a new CpdSimpleListAccessor. | |
virtual | ~CpdSimpleListAccessor () |
virtual const char * | getPath (void) const |
Return the CpdList path CCS clients should use to access this data. | |
virtual size_t | getLength (void) const |
Return the length of this CpdList. | |
virtual void | pup (PUP::er &p, CpdListItemsRequest &req) |
Pup the items listed in this request. Be sure to call beginItem between items! | |
Private Attributes | |
const char * | path |
CkRegisteredInfo< T > * | info |
pupFn | pfn |
Definition at line 73 of file debug-conv++.h.
typedef void(* CpdSimpleListAccessor< T >::pupFn)(PUP::er &p, int itemNo) |
This routine is called to pup each item of the list.
beginItem has already been called before this function.
CpdSimpleListAccessor< T >::CpdSimpleListAccessor | ( | const char * | path_, | |
CkRegisteredInfo< T > * | info_, | |||
pupFn | pfn_ | |||
) | [inline] |
Create a new CpdSimpleListAccessor.
path_ | CpdList path CCS clients should use. | |
length_ | Reference to number of elements in the list. This class keeps the reference, so as the list length changes, Cpd always has the latest value. In particular, this means length must not be moved! | |
pfn_ | Function to pup the items in the list. |
Definition at line 92 of file debug-conv++.h.
virtual CpdSimpleListAccessor< T >::~CpdSimpleListAccessor | ( | ) | [inline, virtual] |
Definition at line 94 of file debug-conv++.h.
virtual const char* CpdSimpleListAccessor< T >::getPath | ( | void | ) | const [inline, virtual] |
Return the CpdList path CCS clients should use to access this data.
Implements CpdListAccessor.
Definition at line 95 of file debug-conv++.h.
References CpdSimpleListAccessor< T >::path.
virtual size_t CpdSimpleListAccessor< T >::getLength | ( | void | ) | const [inline, virtual] |
Return the length of this CpdList.
Implements CpdListAccessor.
Definition at line 96 of file debug-conv++.h.
References CpdSimpleListAccessor< T >::info.
virtual void CpdSimpleListAccessor< T >::pup | ( | PUP::er & | p, | |
CpdListItemsRequest & | req | |||
) | [inline, virtual] |
Pup the items listed in this request. Be sure to call beginItem between items!
Implements CpdListAccessor.
Definition at line 97 of file debug-conv++.h.
References CpdListAccessor::beginItem(), CpdListItemsRequest::hi, and CpdListItemsRequest::lo.
const char* CpdSimpleListAccessor< T >::path [private] |
CkRegisteredInfo<T>* CpdSimpleListAccessor< T >::info [private] |
Definition at line 80 of file debug-conv++.h.
Referenced by CpdSimpleListAccessor< T >::getLength().
pupFn CpdSimpleListAccessor< T >::pfn [private] |
Definition at line 81 of file debug-conv++.h.