FixedSizeBitSet< EXPONENT > Class Template Reference Data Structures

#include <fixedsizebitset.h>

公共成员函数

  FixedSizeBitSet ()
Bool   Contains ( UInt index) const
void  添加 ( UInt index, Bool &added)
void  添加 ( UInt index)
void  移除 ( UInt index)
void  Intersect (const FixedSizeBitSet &b)
Bool   IsPopulated () const
Bool   IsEmpty () const
void  重置 ()

静态公共属性

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

构造函数 & 析构函数文档编制

◆  FixedSizeBitSet()

FixedSizeBitSet ( )

成员函数文档编制

◆  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
static private

◆  SINGLE_INT

const Bool SINGLE_INT
static private

◆  INT_COUNT

const Int INT_COUNT
static private

◆  _bits

IntType _bits[ INT_COUNT ]
private

◆  SIZE_EXPONENT

const Int SIZE_EXPONENT static