#include <ckviewable.h>
Public Types | |
enum | { nId = 4 } |
Public Member Functions | |
CkViewableID () | |
CkViewableID (int len, const int *src) | |
unsigned int | hash (void) const |
int | compare (const CkViewableID &v) const |
void | pup (PUP::er &p) |
Static Public Member Functions | |
static unsigned int | staticHash (const void *key, size_t keyLen) |
static int | staticCompare (const void *a, const void *b, size_t keyLen) |
Data Fields | |
int | id [nId] |
The first 3 ints of the id are the array index; the last int is the viewable inside that array index. This object can be used in a CkHashtable.
Definition at line 20 of file ckviewable.h.
anonymous enum |
CkViewableID::CkViewableID | ( | ) | [inline] |
unsigned int CkViewableID::hash | ( | void | ) | const [inline] |
Definition at line 33 of file ckviewable.h.
int CkViewableID::compare | ( | const CkViewableID & | v | ) | const [inline] |
Definition at line 40 of file ckviewable.h.
static int CkViewableID::staticCompare | ( | const void * | a, | |
const void * | b, | |||
size_t | keyLen | |||
) | [inline, static] |
Definition at line 43 of file ckviewable.h.
void CkViewableID::pup | ( | PUP::er & | p | ) | [inline] |
int CkViewableID::id[nId] |
Definition at line 23 of file ckviewable.h.
Referenced by compare(), impl_LV3D_Array::makeViewableID(), and CkViewPrioHolder::operator<().