#include <msa-DistPageMgr.h>
Public Types | |
enum | { store_bits = 8*sizeof(store_t) } |
enum | { len = (NUM_BITS+(store_bits-1))/store_bits } |
Number of store_t's in our vector. More... | |
typedef unsigned long | store_t |
Data type used to store actual bits in the vector. | |
Public Member Functions | |
fixedlength_bitvector () | |
void | fill (store_t s) |
Fill the entire vector with this value. | |
void | reset (void) |
void | set (unsigned int i) |
Set-to-1 bit i of the vector. | |
void | reset (unsigned int i) |
Clear-to-0 bit i of the vector. | |
bool | test (unsigned int i) |
Return the i'th bit of the vector. | |
Data Fields | |
store_t | store [len] |
Definition at line 83 of file msa-DistPageMgr.h.
typedef unsigned long fixedlength_bitvector< NUM_BITS >::store_t |
anonymous enum |
anonymous enum |
fixedlength_bitvector< NUM_BITS >::fixedlength_bitvector | ( | ) | [inline] |
Definition at line 93 of file msa-DistPageMgr.h.
void fixedlength_bitvector< NUM_BITS >::fill | ( | store_t | s | ) | [inline] |
Fill the entire vector with this value.
Definition at line 96 of file msa-DistPageMgr.h.
Referenced by fixedlength_bitvector< ENTRIES_PER_PAGE >::reset().
void fixedlength_bitvector< NUM_BITS >::reset | ( | void | ) | [inline] |
Definition at line 100 of file msa-DistPageMgr.h.
Referenced by fixedlength_bitvector< ENTRIES_PER_PAGE >::fixedlength_bitvector().
void fixedlength_bitvector< NUM_BITS >::set | ( | unsigned int | i | ) | [inline] |
void fixedlength_bitvector< NUM_BITS >::reset | ( | unsigned int | i | ) | [inline] |
bool fixedlength_bitvector< NUM_BITS >::test | ( | unsigned int | i | ) | [inline] |
store_t fixedlength_bitvector< NUM_BITS >::store[len] |
Definition at line 91 of file msa-DistPageMgr.h.