The indexSet stores positions of bits that are one. More...
#include <bitvector64.h>
Public Member Functions | |
const word_t * | indices () const |
bool | isRange () const |
word_t | nIndices () const |
indexSet & | operator++ () |
Friends | |
indexSet | ibis::bitvector64::firstIndexSet () const |
The indexSet stores positions of bits that are one.
It decodes one word of the bitvector64 as a time. For a fill of ones, the function isRange
returns true, otherwise it returns false. If isRange returns true, the position of the first bit is pointed by the pointer returned by function indices
, and there are nIndices
consecutive ones. If isRange
returns false, there are nIndices
bits that are one and the positions of these bits are stored in the array returned by function indices
.