Util::BitField< NUMBITS > Class Template Reference
#include <bitfield.h>
Detailed Description
template<unsigned int NUMBITS>
class Util::BitField< NUMBITS >
Implements large bit field with multiple of 32 bits.(C) 2009 Radon Labs GmbH
Public Member Functions | |
BitField () | |
constructor | |
BitField (const BitField< NUMBITS > &rhs) | |
copy constructor | |
void | operator= (const BitField< NUMBITS > &rhs) |
assignment operator | |
bool | operator== (const BitField< NUMBITS > &rhs) const |
equality operator | |
bool | operator!= (const BitField< NUMBITS > &rhs) const |
inequality operator | |
void | Clear () |
clear content | |
bool | IsNull () const |
return true if all bits are 0 | |
void | SetBit (IndexT bitIndex) |
set a bit by index | |
void | ClearBit (IndexT bitIndex) |
clear a bit by index | |
Static Public Member Functions | |
static BitField< NUMBITS > | Or (const BitField< NUMBITS > &b0, const BitField< NUMBITS > &b1) |
set bitfield to OR combination | |
static BitField< NUMBITS > | And (const BitField< NUMBITS > &b0, const BitField< NUMBITS > &b1) |
set bitfield to AND combination |