Public Member Functions | |
BitArray (unsigned size) | |
BitArray (const BitArray &that) | |
virtual | ~BitArray () |
BitArray & | operator= (const BitArray &that) |
BitProxy | operator[] (unsigned pos) |
const BitProxy | operator[] (unsigned pos) const |
bool | operator== (const BitArray &that) const |
bool | operator!= (const BitArray &that) const |
BitArray & | operator &= (const BitArray &that) |
BitArray | operator|= (const BitArray &that) |
BitArray | operator^= (const BitArray &that) |
BitArray | operator~ () const |
void | Clear () |
void | SetBit (unsigned pos) |
void | ClearBit (unsigned pos) |
void | FlipBit (unsigned pos) |
void | Set (unsigned pos, bool val) |
bool | IsBitSet (unsigned pos) const |
bool | AllBitsFalse () const |
BitArray & | FlipAllBits () |
Friends | |
class | BitProxy |
BitArray | operator & (const BitArray &a1, const BitArray &a2) |
BitArray | operator| (const BitArray &a1, const BitArray &a2) |
BitArray | operator^ (const BitArray &a1, const BitArray &a2) |
|
Definition at line 23 of file BitArray. Referenced by operator~(). |
|
|
|
|
|
|
|
Definition at line 140 of file BitArray. Referenced by demeter::Terrain::Tessellate(). |
|
Definition at line 153 of file BitArray. References Assert. Referenced by Set(). |
|
|
|
Definition at line 160 of file BitArray. References Assert. Referenced by base::BitArray::BitProxy::Flip(). |
|
Definition at line 173 of file BitArray. References Assert. Referenced by base::BitArray::BitProxy::Flip(), base::BitArray::BitProxy::operator bool(), and base::BitArray::BitProxy::operator=(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 115 of file BitArray. References BitArray(). |
|
Definition at line 167 of file BitArray. References ClearBit(), and SetBit(). Referenced by base::BitArray::BitProxy::operator=(). |
|
Definition at line 146 of file BitArray. References Assert. Referenced by Set(). |
|
Definition at line 202 of file BitArray. Referenced by operator[](). |
|
|
|
|
|
|