#include <fixedsizebitset.h>
Public Types | |
| using | IntType = UInt |
Public Member Functions | |
| FixedSizeBitSet () | |
| FixedSizeBitSet (UInt index) | |
| FixedSizeBitSet (ENUM_DONT_INITIALIZE) | |
| Bool | Contains (UInt index) const |
| void | Add (UInt index, Bool &added) |
| void | Add (UInt index) |
| void | Remove (UInt index) |
| void | Add (const FixedSizeBitSet &b) |
| void | Remove (const FixedSizeBitSet &b) |
| void | Intersect (const FixedSizeBitSet &b) |
| void | Invert () |
| FixedSizeBitSet & | operator|= (const FixedSizeBitSet &other) |
| FixedSizeBitSet & | operator&= (const FixedSizeBitSet &other) |
| FixedSizeBitSet | operator| (const FixedSizeBitSet &other) const |
| FixedSizeBitSet | operator& (const FixedSizeBitSet &other) const |
| FixedSizeBitSet | operator~ () const |
| Bool | IsPopulated () const |
| Bool | IsEmpty () const |
| void | Reset () |
| IntType | GetBits (Int i) const |
| String | ToString (const FormatStatement *fs=nullptr) const |
Static Public Attributes | |
| static const Int | INT_WIDTH_EXPONENT |
| static const Int | BIT_WIDTH |
| static const Bool | SINGLE_INT |
| static const Int | INT_COUNT |
| static const Int | SIZE_EXPONENT |
| static const Int | SIZE |
Private Attributes | |
| IntType | _bits [INT_COUNT] |
| FixedSizeBitSet | ( | ) |
|
explicit |
|
explicit |
| void Add | ( | UInt | index | ) |
| void Remove | ( | UInt | index | ) |
| void Add | ( | const FixedSizeBitSet< EXPONENT > & | b | ) |
| void Remove | ( | const FixedSizeBitSet< EXPONENT > & | b | ) |
| void Intersect | ( | const FixedSizeBitSet< EXPONENT > & | b | ) |
| void Invert | ( | ) |
| FixedSizeBitSet& operator|= | ( | const FixedSizeBitSet< EXPONENT > & | other | ) |
| FixedSizeBitSet& operator&= | ( | const FixedSizeBitSet< EXPONENT > & | other | ) |
| FixedSizeBitSet operator| | ( | const FixedSizeBitSet< EXPONENT > & | other | ) | const |
| FixedSizeBitSet operator& | ( | const FixedSizeBitSet< EXPONENT > & | other | ) | const |
| FixedSizeBitSet operator~ | ( | ) | const |
| Bool IsPopulated | ( | ) | const |
| Bool IsEmpty | ( | ) | const |
| void Reset | ( | ) |
| String ToString | ( | const FormatStatement * | fs = nullptr | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |