Iterator structure for walking bit vectors. More...
#include "hqbitvector.h"
Data Fields | |
int | element |
unsigned int | bit |
bitvector_element_t | mask |
Iterator structure for walking bit vectors.
This structure is transparent; the element index and the mask can be used by the client to extract and manipulate words from the bitvector directly.
unsigned int bitvector_iterator_t::bit |
Index of bit (top bit if element iteration).
int bitvector_iterator_t::element |
Index of element. Note this must be signed.
bitvector_element_t bitvector_iterator_t::mask |
Mask to extract bit(s) in iterator.