FixedSizeBitSet< EXPONENT > Class Template Reference

#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
 

Member Typedef Documentation

◆ IntType

using IntType = UInt
private

Constructor & Destructor Documentation

◆ FixedSizeBitSet()

Member Function Documentation

◆ Contains()

Bool Contains ( UInt  index) const

◆ Add() [1/2]

void Add ( UInt  index,
Bool added 
)

◆ Add() [2/2]

void Add ( UInt  index)

◆ Remove()

void Remove ( UInt  index)

◆ Intersect()

void Intersect ( const FixedSizeBitSet< EXPONENT > &  b)

◆ IsPopulated()

Bool IsPopulated ( ) const

◆ IsEmpty()

Bool IsEmpty ( ) const

◆ Reset()

void Reset ( )

Member Data Documentation

◆ INT_WIDTH_EXPONENT

const Int INT_WIDTH_EXPONENT
staticprivate

◆ SINGLE_INT

const Bool SINGLE_INT
staticprivate

◆ INT_COUNT

const Int INT_COUNT
staticprivate

◆ _bits

IntType _bits[INT_COUNT]
private

◆ SIZE_EXPONENT

const Int SIZE_EXPONENT
static