
#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_, size_t &length_, 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 |
| size_t & | length |
| pupFn | pfn |
Definition at line 70 of file debug-conv++.h.
| typedef void(* CpdSimpleListAccessor::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::CpdSimpleListAccessor | ( | const char * | path_, | |
| size_t & | length_, | |||
| 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 89 of file debug-conv++.h.
| CpdSimpleListAccessor::~CpdSimpleListAccessor | ( | ) | [virtual] |
Definition at line 7 of file debug-conv++.C.
| const char * CpdSimpleListAccessor::getPath | ( | void | ) | const [virtual] |
Return the CpdList path CCS clients should use to access this data.
Implements CpdListAccessor.
Definition at line 8 of file debug-conv++.C.
References path.
| size_t CpdSimpleListAccessor::getLength | ( | void | ) | const [virtual] |
Return the length of this CpdList.
Implements CpdListAccessor.
Definition at line 9 of file debug-conv++.C.
References length.
| void CpdSimpleListAccessor::pup | ( | PUP::er & | p, | |
| CpdListItemsRequest & | req | |||
| ) | [virtual] |
Pup the items listed in this request. Be sure to call beginItem between items!
Implements CpdListAccessor.
Definition at line 10 of file debug-conv++.C.
References CpdListAccessor::beginItem(), CpdListItemsRequest::hi, and CpdListItemsRequest::lo.
const char* CpdSimpleListAccessor::path [private] |
size_t& CpdSimpleListAccessor::length [private] |
pupFn CpdSimpleListAccessor::pfn [private] |
Definition at line 78 of file debug-conv++.h.
1.5.5