#include <objid.h>
Public Types | |
enum | bits { ELEMENT_BITS = CMK_OBJID_ELEMENT_BITS, COLLECTION_BITS = CMK_OBJID_COLLECTION_BITS, TYPE_TAG_BITS = CMK_OBJID_TYPE_TAG_BITS } |
enum | masks { ELEMENT_MASK = ((1ULL << ELEMENT_BITS) - 1), COLLECTION_MASK = (((1ULL << COLLECTION_BITS) - 1) << ELEMENT_BITS), TYPE_TAG_MASK = (((1ULL << TYPE_TAG_BITS) - 1) << (ELEMENT_BITS + COLLECTION_BITS)) } |
Public Member Functions | |
ObjID () | |
ObjID (const CmiUInt8 id_) | |
ObjID (const CkGroupID gid, const CmiUInt8 eid) | |
CkGroupID | getCollectionID () const |
CmiUInt8 | getElementID () const |
get element id | |
CmiUInt8 | getID () const |
Private Attributes | |
CmiUInt8 | id |
The actual id data. |
Definition at line 31 of file objid.h.
enum ck::ObjID::bits |
enum ck::ObjID::masks |
ck::ObjID::ObjID | ( | ) | [inline] |
Definition at line 37 of file objid.h.
References CmiAbort(), CmiPrintf(), COLLECTION_BITS, COLLECTION_MASK, ELEMENT_BITS, ELEMENT_MASK, and _ckGroupID::idx.
CkGroupID ck::ObjID::getCollectionID | ( | ) | const [inline] |
Definition at line 61 of file objid.h.
References COLLECTION_MASK, ELEMENT_BITS, and _ckGroupID::idx.
CmiUInt8 ck::ObjID::getElementID | ( | ) | const [inline] |
CmiUInt8 ck::ObjID::getID | ( | ) | const [inline] |
Definition at line 68 of file objid.h.
References COLLECTION_MASK, and ELEMENT_MASK.
Referenced by ArrayElement::initBasics(), ck::operator==(), and envelope::setRecipientID().
CmiUInt8 ck::ObjID::id [private] |