#include <ckarrayindex.h>
Public Member Functions | |
CkArrayIndex & | asChild () const |
Obtain usable object from base object. | |
void | pup (PUP::er &p) |
Permit serialization via calling pup(), but also declare this type as PUPbytes below. | |
bool | operator== (CkArrayIndexBase &other) |
Data Fields | |
short unsigned int | nInts |
Length of index in *integers*. | |
short unsigned int | dimension |
Number of dimensions in this index, not valid for user-defined indices. | |
union { | |
int index [CK_ARRAYINDEX_MAXLEN] | |
short int indexShorts [2 *CK_ARRAYINDEX_MAXLEN] | |
}; |
An array index is just a hash key; a run of integers used to look up an object in a hash table.
: Do not add constructors / destructors. Class participates in unions
Definition at line 39 of file ckarrayindex.h.
CkArrayIndex& CkArrayIndexBase::asChild | ( | ) | const [inline] |
Obtain usable object from base object.
Definition at line 53 of file ckarrayindex.h.
Referenced by CkCallbackSendExt(), CkObjID::getObject(), CkObjID::guessPE(), CkObjID::operator CkHashCode(), CkObjID::operator==(), CkCallback::send(), sendArrayMsg(), CkObjID::toString(), and updateHomePE().
void CkArrayIndexBase::pup | ( | PUP::er & | p | ) | [inline] |
Permit serialization via calling pup(), but also declare this type as PUPbytes below.
Definition at line 56 of file ckarrayindex.h.
References p.
bool CkArrayIndexBase::operator== | ( | CkArrayIndexBase & | other | ) | [inline] |
short unsigned int CkArrayIndexBase::nInts |
Length of index in *integers*.
Definition at line 43 of file ckarrayindex.h.
Referenced by operator==().
short unsigned int CkArrayIndexBase::dimension |
Number of dimensions in this index, not valid for user-defined indices.
Definition at line 45 of file ckarrayindex.h.
Referenced by CkCallbackSendExt(), and operator==().
int CkArrayIndexBase::index[CK_ARRAYINDEX_MAXLEN] |
short int CkArrayIndexBase::indexShorts[2 *CK_ARRAYINDEX_MAXLEN] |
Definition at line 49 of file ckarrayindex.h.
union { ... } |