#include <bitVector.h>
Public Member Functions | |
BitVector (const int numBits=0) | |
BitVector (const int numBits, const bool initVal) | |
BitVector (const std::string &bitstring) | |
BitVector (uint word) | |
BitVector (const arrayw1ui &data) | |
BitVector (const arrayw1ub &data) | |
BitVector (const BitVector &rhs) | |
~BitVector () | |
ubyte * | dataub () const |
uint * | dataui () const |
const uint | size () const |
const uint | numWords () const |
BitRef | operator[] (const int i) |
const bool | operator[] (const int i) const |
BitVector & | operator= (const BitVector &value) |
BitVector & | operator= (const uint valWord) |
BitVector & | operator= (const bool value) |
std::vector< uint > | trueBits () const |
void | trueBits (arrayw1ui &trueIndices) const |
uint | numTrueBits () const |
BitVector & | not () |
BitVector & | operator &= (const BitVector &) |
BitVector & | operator|= (const BitVector &) |
BitVector & | operator^= (const BitVector &) |
BitVector & | operator-= (const BitVector &) |
bool | operator== (const bool u) |
bool | operator!= (const bool u) |
bool | operator== (const BitVector &bv) |
bool | operator!= (const BitVector &bv) |
Friends | |
BitVector | operator~ (const BitVector &) |
BitVector | operator & (const BitVector &, const BitVector &) |
BitVector | operator| (const BitVector &, const BitVector &) |
BitVector | operator^ (const BitVector &, const BitVector &) |
BitVector | operator- (const BitVector &, const BitVector &) |
std::ostream & | operator<< (std::ostream &, const BitVector &bv) |
|
Definition at line 72 of file bitVector.cpp. References gutz::arrayo1ui, gutz::bits2Words(), numWords(), and uint. |
|
Definition at line 80 of file bitVector.cpp. References gutz::arrayo1ui, gutz::bits2Words(), gutz::fillWord(), and uint. |
|
Definition at line 95 of file bitVector.cpp. References gutz::arrayo1ui, gutz::bitMask(), gutz::bits2Words(), gutz::g_BITS_PER_WORD, uint, and w. |
|
Definition at line 125 of file bitVector.cpp. References gutz::arrayo1ui, and uint. |
|
Definition at line 132 of file bitVector.cpp. References gutz::arrayo1ui, data, and uint. |
|
Definition at line 143 of file bitVector.cpp. References gutz::arrayo1ui, gutz::bits2Words(), data, numWords(), and uint. |
|
Definition at line 163 of file bitVector.cpp. |
|
Definition at line 169 of file bitVector.cpp. |
|
Definition at line 73 of file bitVector.h. References ubyte. |
|
Definition at line 74 of file bitVector.h. References uint. |
|
Definition at line 206 of file bitVector.cpp. References uint. Referenced by gutz::operator~(). |
|
Definition at line 298 of file bitVector.cpp. References gutz::numOnesInWord(), uint, and w. |
|
Definition at line 77 of file bitVector.h. References uint. Referenced by BitVector(). |
|
Definition at line 216 of file bitVector.cpp. |
|
Definition at line 426 of file bitVector.cpp. |
|
Definition at line 286 of file bitVector.cpp. References uint. |
|
Definition at line 249 of file bitVector.cpp. References size(). |
|
Definition at line 184 of file bitVector.cpp. References gutz::fillWord(), uint, and value. |
|
Definition at line 196 of file bitVector.cpp. References uint. |
|
Definition at line 173 of file bitVector.cpp. |
|
Definition at line 413 of file bitVector.cpp. |
|
Definition at line 258 of file bitVector.cpp. References uint. |
|
Definition at line 152 of file bitVector.h. References uint. |
|
Definition at line 146 of file bitVector.h. References gutz::bitNum2wordNum(), and uint. |
|
Definition at line 238 of file bitVector.cpp. |
|
Definition at line 227 of file bitVector.cpp. |
|
Definition at line 76 of file bitVector.h. References uint. Referenced by gutz::operator &(), operator &=(), operator!=(), gutz::operator-(), operator-=(), operator==(), gutz::operator^(), operator^=(), gutz::operator|(), and operator|=(). |
|
Definition at line 357 of file bitVector.cpp. References gutz::g_BITS_PER_WORD, mask, uint, and w. |
|
Definition at line 330 of file bitVector.cpp. References gutz::g_BITS_PER_WORD, mask, uint, and w. |
|
Definition at line 446 of file bitVector.cpp. |
|
Definition at line 470 of file bitVector.cpp. |
|
Definition at line 476 of file bitVector.cpp. |
|
Definition at line 462 of file bitVector.cpp. |
|
Definition at line 454 of file bitVector.cpp. |
|
Definition at line 438 of file bitVector.cpp. |