#include <fixedsizebitset.h>
Public Member Functions | |
FixedSizeBitSet () | |
Bool | Contains (UInt index) const |
void | Add (UInt index, Bool &added) |
void | Add (UInt index) |
void | Remove (UInt index) |
void | Intersect (const FixedSizeBitSet &b) |
Bool | IsPopulated () const |
Bool | IsEmpty () const |
void | Reset () |
Static Public Attributes | |
static const Int | SIZE_EXPONENT |
Private Types | |
using | IntType = UInt |
Private Attributes | |
IntType | _bits [INT_COUNT] |
Static Private Attributes | |
static const Int | INT_WIDTH_EXPONENT |
static const Bool | SINGLE_INT |
static const Int | INT_COUNT |
FixedSizeBitSet | ( | ) |
void Add | ( | UInt | index | ) |
void Remove | ( | UInt | index | ) |
void Intersect | ( | const FixedSizeBitSet< EXPONENT > & | b | ) |
Bool IsPopulated | ( | void | ) | const |
Bool IsEmpty | ( | ) | const |
void Reset | ( | void | ) |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |