doc: Add serial to list of ci file reserved words
[charm.git] / src / conv-core / debug-conv++.C
1
2 #include "converse.h"
3 #include "debug-conv++.h"
4 #include "cklists.h"
5
6 CpdListAccessor::~CpdListAccessor() { }
7 CpdSimpleListAccessor::~CpdSimpleListAccessor() { }
8 const char *CpdSimpleListAccessor::getPath(void) const {return path;}
9 size_t CpdSimpleListAccessor::getLength(void) const {return length;}
10 void CpdSimpleListAccessor::pup(PUP::er &p,CpdListItemsRequest &req)
11 {
12         for (int i=req.lo;i<req.hi;i++) {
13                 beginItem(p,i);
14                 (*pfn)(p,i);
15         }
16 }
17
18 static void CpdListBeginItem_impl(PUP::er &p,int itemNo)
19 {
20         p.syncComment(PUP::sync_item);
21 }
22
23 extern "C" void CpdListBeginItem(pup_er p,int itemNo)
24 {
25   CpdListBeginItem_impl(*(PUP::er *)p,itemNo);
26 }
27
28 void CpdListAccessor::beginItem(PUP::er &p,int itemNo)
29 {
30   CpdListBeginItem_impl(p,itemNo);
31 }
32
33