#include <ckhashtable.h>
Public Member Functions | |
CkHashtableIterator (char *table_, int len_, const CkHashtableLayout &lo) | |
CkHashtableIterator (const CkHashtableIterator &it) | |
void | operator= (const CkHashtableIterator &it) |
void | seekStart (void) |
void | seek (int n) |
int | hasNext (void) |
void * | next (void **retKey=NULL) |
Protected Member Functions | |
char * | entry (int i) const |
Protected Attributes | |
int | len |
CkHashtableLayout | layout |
char * | table |
int | curNo |
Definition at line 267 of file ckhashtable.h.
CkHashtableIterator::CkHashtableIterator | ( | char * | table_, | |
int | len_, | |||
const CkHashtableLayout & | lo | |||
) | [inline] |
Definition at line 276 of file ckhashtable.h.
CkHashtableIterator::CkHashtableIterator | ( | const CkHashtableIterator & | it | ) |
char* CkHashtableIterator::entry | ( | int | i | ) | const [inline, protected] |
Definition at line 274 of file ckhashtable.h.
References CkHashtableLayout::entrySize(), layout, and table.
Referenced by hasNext(), and next().
void CkHashtableIterator::operator= | ( | const CkHashtableIterator & | it | ) |
void CkHashtableIterator::seekStart | ( | void | ) |
Definition at line 250 of file ckhashtable.C.
References curNo.
Referenced by CkHashtableGetIterator().
void CkHashtableIterator::seek | ( | int | n | ) |
int CkHashtableIterator::hasNext | ( | void | ) |
Definition at line 261 of file ckhashtable.C.
References curNo, entry(), CkHashtableLayout::isEmpty(), layout, and len.
Referenced by garbageCollectMlog(), ChareMlogData::pup(), and LockRegion::~LockRegion().
void * CkHashtableIterator::next | ( | void ** | retKey = NULL |
) |
Definition at line 274 of file ckhashtable.C.
References curNo, entry(), CkHashtableLayout::getKey(), CkHashtableLayout::getObject(), CkHashtableLayout::isEmpty(), layout, and len.
Referenced by CollisionAggregator::compact(), CpdRemoveAllBreakPoints(), fillTicketForChare(), garbageCollectMlog(), CpdList_introspect::getLength(), tupleTable::lookupNext(), CkHashtableT< intdual, int >::pup(), CpdList_introspect::pup(), ChareMlogData::pup(), LV3D_Universe_Table::render(), CollisionAggregator::send(), IDXL_Map::~IDXL_Map(), and LockRegion::~LockRegion().
int CkHashtableIterator::len [protected] |
CkHashtableLayout CkHashtableIterator::layout [protected] |
Definition at line 270 of file ckhashtable.h.
Referenced by CkCreateHashtable_int(), CkCreateHashtable_pointer(), CkCreateHashtable_string(), entry(), hasNext(), and next().
char* CkHashtableIterator::table [protected] |
int CkHashtableIterator::curNo [protected] |
Definition at line 272 of file ckhashtable.h.
Referenced by hasNext(), next(), seek(), and seekStart().