PPL Logo

CkHashtableIterator Class Reference

#include <ckhashtable.h>

Collaboration diagram for CkHashtableIterator:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 267 of file ckhashtable.h.


Constructor & Destructor Documentation

CkHashtableIterator::CkHashtableIterator ( char *  table_,
int  len_,
const CkHashtableLayout lo 
) [inline]

Definition at line 276 of file ckhashtable.h.

CkHashtableIterator::CkHashtableIterator ( const CkHashtableIterator it  ) 


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkHashtableIterator::operator= ( const CkHashtableIterator it  ) 

void CkHashtableIterator::seekStart ( void   ) 

Definition at line 250 of file ckhashtable.C.

References curNo.

Referenced by CkHashtableGetIterator().

Here is the caller graph for this function:

void CkHashtableIterator::seek ( int  n  ) 

Definition at line 253 of file ckhashtable.C.

References curNo, and len.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void * CkHashtableIterator::next ( void **  retKey = NULL  ) 


Field Documentation

Definition at line 269 of file ckhashtable.h.

Referenced by hasNext(), next(), and seek().

char* CkHashtableIterator::table [protected]

Definition at line 271 of file ckhashtable.h.

Referenced by entry().

Definition at line 272 of file ckhashtable.h.

Referenced by hasNext(), next(), seek(), and seekStart().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:20:04 2020 for Charm++ by  doxygen 1.5.5