#include <GB_BitArray.h>
Public Member Functions | |
| GB_BitArray (int size=0) | |
| ~GB_BitArray () | |
| void | resize (int oldsize, int newsize) |
| int | isSet (unsigned offset, unsigned mask) const |
| void | setBit (unsigned offset, unsigned mask) |
| void | clearBit (unsigned offset, unsigned mask) |
| void | andMask (unsigned offset, unsigned mask) |
| void | toggleBit (unsigned offset, unsigned mask) |
| void | setAllBits (int size) |
| void | clearAllBits (int size) |
| int | isAnyBitSet (int size) |
| void | andBits (const GB_BitArray &bits, int size) |
| void | orBits (const GB_BitArray &bits, int size) |
| void | xorBits (const GB_BitArray &bits, int size) |
| void | minus (const GB_BitArray &bits, int size) |
| void | copy (const GB_BitArray &bits, int size) |
| int | isEqual (const GB_BitArray &bits, int size) const |
| int | anyShared (const GB_BitArray &bits, int size) const |
Definition at line 25 of file GB_BitArray.h.
| GB_BitArray::GB_BitArray | ( | int | size = 0 |
) |
| GB_BitArray::~GB_BitArray | ( | ) |
| void GB_BitArray::andBits | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) |
| void GB_BitArray::andMask | ( | unsigned | offset, | |
| unsigned | mask | |||
| ) | [inline] |
Definition at line 45 of file GB_BitArray.h.
| int GB_BitArray::anyShared | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) | const |
| void GB_BitArray::clearAllBits | ( | int | size | ) |
| void GB_BitArray::clearBit | ( | unsigned | offset, | |
| unsigned | mask | |||
| ) | [inline] |
Definition at line 41 of file GB_BitArray.h.
| void GB_BitArray::copy | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) |
| int GB_BitArray::isAnyBitSet | ( | int | size | ) |
| int GB_BitArray::isEqual | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) | const |
| int GB_BitArray::isSet | ( | unsigned | offset, | |
| unsigned | mask | |||
| ) | const [inline] |
Definition at line 33 of file GB_BitArray.h.
| void GB_BitArray::minus | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) |
| void GB_BitArray::orBits | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) |
| void GB_BitArray::resize | ( | int | oldsize, | |
| int | newsize | |||
| ) |
| void GB_BitArray::setAllBits | ( | int | size | ) |
| void GB_BitArray::setBit | ( | unsigned | offset, | |
| unsigned | mask | |||
| ) | [inline] |
Definition at line 37 of file GB_BitArray.h.
| void GB_BitArray::toggleBit | ( | unsigned | offset, | |
| unsigned | mask | |||
| ) | [inline] |
Definition at line 49 of file GB_BitArray.h.
| void GB_BitArray::xorBits | ( | const GB_BitArray & | bits, | |
| int | size | |||
| ) |
1.5.9