CAPD RedHom Library
|
#include <capd/bitSet/BitmapT.h>
Classes | |
class | BitIterator |
Public Types | |
typedef word | Word |
typedef word * | WordIterator |
Public Member Functions | |
BitIterator | begin () const |
BitIterator | end () const |
BitmapT (int A_wordLength=0, bool A_clear=false) | |
BitmapT (int A_wordLength, const char *bytes) | |
BitmapT (const std::string &s) | |
BitmapT (const BitmapT &org, bool A_clear=false) | |
~BitmapT () | |
const word * | getBitmap () const |
BitmapT & | invert () |
BitmapT & | clear () |
BitmapT & | operator= (const BitmapT &A_BitMap2) |
BitmapT & | operator*= (const BitmapT &A_BitMap2) |
BitmapT & | operator+= (const BitmapT &A_BitMap2) |
BitmapT & | operator-= (const BitmapT &A_BitMap2) |
bool | operator== (const BitmapT &A_BitMap2) |
bool | operator<= (const BitmapT &A_BitMap2) |
bool | empty () const |
void | swapBits () |
void | swapBytes () |
unsigned long int | Length () |
int | getBit (word) |
void | setBit (word) |
void | clearBit (word) |
void | changeBit (word) |
Protected Member Functions | |
void | setupBitmapMem () |
Protected Attributes | |
unsigned long int | length |
word * | bitmap |
word * | bitmapEnd |
Static Protected Attributes | |
static const word | oneMask = 1U |
static const int | bitsPerWord =sizeof(word)*8 |
static const int | bitsShift =logtwo<bitsPerWord>::value |
static const word | bitsMask =(oneMask << bitsShift) -1 |
Friends | |
class | BitIterator |
void | swap (BitmapT &A_BitMap1, BitmapT &A_BitMap2) |
typedef word* BitmapT< word >::WordIterator |
|
friend |
|
friend |
|
staticprotected |
|
staticprotected |