#include <ckbitvector.h>
Definition at line 18 of file ckbitvector.h.
CkBitVector::CkBitVector | ( | ) |
Definition at line 33 of file ckbitvector.C.
CkBitVector::CkBitVector | ( | const CkBitVector & | b | ) |
Definition at line 37 of file ckbitvector.C.
References chunks(), chunkSize(), data, and usedBits.
CkBitVector::CkBitVector | ( | prio_t | bits | ) |
Definition at line 47 of file ckbitvector.C.
References chunks(), chunkSize(), data, and usedBits.
Definition at line 58 of file ckbitvector.C.
References chunkBits(), chunks(), data, ilog2(), and usedBits.
CkBitVector::~CkBitVector | ( | ) |
Definition at line 76 of file ckbitvector.C.
References wipeData().
static prio_t CkBitVector::chunkBits | ( | ) | [inline, static, protected] |
Definition at line 24 of file ckbitvector.h.
References chunkSize().
Referenced by chunks(), CkBitVector(), Invert(), mask(), ShiftDown(), and ShiftUp().
static prio_t CkBitVector::chunkSize | ( | ) | [inline, static, protected] |
Definition at line 25 of file ckbitvector.h.
Referenced by chunkBits(), CkBitVector(), operator=(), pup(), Resize(), and Zero().
Definition at line 26 of file ckbitvector.h.
References chunkBits().
Referenced by CkBitVector(), Compare(), Difference(), getDataLength(), Intersection(), Invert(), offset(), operator=(), pup(), Resize(), ShiftDown(), ShiftUp(), Union(), and Zero().
Definition at line 28 of file ckbitvector.h.
References chunkBits(), and usedBits.
Referenced by Clear(), Set(), and Test().
Definition at line 35 of file ckbitvector.h.
References PUP::u.
Referenced by CkBitVector(), and idaStarGroup::SpawnIteration().
void CkBitVector::wipeData | ( | ) | [protected] |
Definition at line 81 of file ckbitvector.C.
References data, and usedBits.
Referenced by operator=(), Resize(), and ~CkBitVector().
int CkBitVector::Length | ( | ) | const [inline] |
CkBitVector & CkBitVector::operator= | ( | const CkBitVector & | b | ) |
Definition at line 92 of file ckbitvector.C.
References chunks(), chunkSize(), data, usedBits, and wipeData().
CkBitVector & CkBitVector::Zero | ( | ) |
Definition at line 113 of file ckbitvector.C.
References chunks(), chunkSize(), data, and usedBits.
CkBitVector & CkBitVector::Invert | ( | ) |
Definition at line 124 of file ckbitvector.C.
References chunkBits(), chunks(), data, int, and usedBits.
CkBitVector & CkBitVector::Clear | ( | prio_t | bit | ) |
Definition at line 144 of file ckbitvector.C.
References data, index, mask(), offset(), Resize(), and usedBits.
Referenced by idaStarGroup::SpawnIteration().
CkBitVector & CkBitVector::Set | ( | prio_t | bit | ) |
Definition at line 164 of file ckbitvector.C.
References data, index, mask(), offset(), Resize(), and usedBits.
Referenced by idaStarGroup::SpawnIteration().
Definition at line 182 of file ckbitvector.C.
References data, index, mask(), offset(), and usedBits.
Referenced by operator<<().
CkBitVector & CkBitVector::ShiftDown | ( | prio_t | bits | ) |
Definition at line 222 of file ckbitvector.C.
References chunkBits(), chunks(), data, and usedBits.
Referenced by Resize().
CkBitVector & CkBitVector::ShiftUp | ( | prio_t | bits | ) |
Definition at line 199 of file ckbitvector.C.
References chunkBits(), chunks(), data, and usedBits.
Referenced by Concat(), and Resize().
CkBitVector & CkBitVector::Resize | ( | prio_t | bits | ) |
Definition at line 251 of file ckbitvector.C.
References chunks(), chunkSize(), data, ShiftDown(), ShiftUp(), usedBits, and wipeData().
Referenced by Clear(), Concat(), Set(), and idaStarGroup::SpawnIteration().
CkBitVector & CkBitVector::Union | ( | CkBitVector const & | b | ) |
CkBitVector & CkBitVector::Intersection | ( | CkBitVector const & | b | ) |
Definition at line 320 of file ckbitvector.C.
References chunks(), data, and usedBits.
CkBitVector & CkBitVector::Difference | ( | CkBitVector const & | b | ) |
Definition at line 338 of file ckbitvector.C.
References chunks(), data, and usedBits.
CkBitVector & CkBitVector::Concat | ( | CkBitVector const & | b | ) |
Definition at line 359 of file ckbitvector.C.
References data, Resize(), ShiftUp(), Union(), and usedBits.
Referenced by idaStarGroup::SpawnIteration().
int CkBitVector::Compare | ( | const CkBitVector & | b | ) | const |
Definition at line 414 of file ckbitvector.C.
References chunks(), data, length, and usedBits.
Referenced by operator<(), operator==(), and operator>().
bool CkBitVector::operator== | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 86 of file ckbitvector.h.
References Compare().
bool CkBitVector::operator!= | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 87 of file ckbitvector.h.
bool CkBitVector::operator< | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 88 of file ckbitvector.h.
References Compare().
bool CkBitVector::operator<= | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 89 of file ckbitvector.h.
bool CkBitVector::operator> | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 90 of file ckbitvector.h.
References Compare().
bool CkBitVector::operator>= | ( | const CkBitVector & | b | ) | const [inline] |
Definition at line 91 of file ckbitvector.h.
void CkBitVector::pup | ( | PUP::er & | p | ) |
Definition at line 450 of file ckbitvector.C.
References chunks(), chunkSize(), data, PUP::er::isUnpacking(), p, and usedBits.
CmiUInt4* CkBitVector::getData | ( | void | ) | [inline] |
unsigned int CkBitVector::getDataLength | ( | ) | [inline] |
Definition at line 103 of file ckbitvector.h.
References chunks(), and usedBits.
friend class CkEntryOptions [friend] |
Definition at line 106 of file ckbitvector.h.
CkOutStream& operator<< | ( | CkOutStream & | ckos, | |
CkBitVector const | b | |||
) | [friend] |
Definition at line 386 of file ckbitvector.C.
CkErrStream& operator<< | ( | CkErrStream & | ckes, | |
CkBitVector const | b | |||
) | [friend] |
Definition at line 400 of file ckbitvector.C.
prio_t CkBitVector::usedBits [protected] |
Definition at line 20 of file ckbitvector.h.
Referenced by CkBitVector(), Clear(), Compare(), Concat(), Difference(), getDataLength(), Intersection(), Invert(), Length(), mask(), offset(), operator<<(), operator=(), pup(), PUPmarshall(), Resize(), Set(), ShiftDown(), ShiftUp(), Test(), Union(), wipeData(), and Zero().
prio_t* CkBitVector::data [protected] |
Definition at line 21 of file ckbitvector.h.
Referenced by CkBitVector(), Clear(), Compare(), Concat(), Difference(), getData(), Intersection(), Invert(), operator<<(), operator=(), pup(), PUPmarshall(), Resize(), Set(), ShiftDown(), ShiftUp(), Test(), Union(), wipeData(), and Zero().