EWAHBoolArray 0.8.0
A compressed bitmap class in C++
|
Same as RunningLengthWord, except that the values are buffered for quick access. More...
#include <runninglengthword.h>
Public Types | |
enum | { wordinbits = sizeof(uword) * 8 } |
Public Member Functions | |
BufferedRunningLengthWord (const uword &data, EWAHBoolArrayRawIterator< uword > *p) | |
BufferedRunningLengthWord (const RunningLengthWord< uword > &p) | |
void | discharge (EWAHBoolArray< uword > &container) |
size_t | dischargeCount () |
size_t | dischargeCountNegated () |
size_t | dischargeCount (size_t max, size_t *count) |
size_t | dischargeCountNegated (size_t max, size_t *count) |
bool | nonzero_discharge () |
size_t | discharge (EWAHBoolArray< uword > &container, size_t max) |
bool | nonzero_discharge (size_t max, size_t &index) |
size_t | dischargeNegated (EWAHBoolArray< uword > &container, size_t max) |
bool | nonzero_dischargeNegated (size_t max, size_t &index) |
uword | getLiteralWordAt (size_t index) |
void | writeLiteralWords (size_t numWords, EWAHBoolArray< uword > &container) |
void | writeNegatedLiteralWords (size_t numWords, EWAHBoolArray< uword > &container) |
void | discardRunningWords () |
void | discardRunningWordsWithReload () |
bool | next () |
void | read (const uword &data) |
bool | getRunningBit () const |
Which bit is being repeated? | |
void | discardFirstWords (uword x) |
uword | getRunningLength () const |
how many words should be filled by the running bit (see previous method) | |
uword | getNumberOfLiteralWords () const |
followed by how many literal words? | |
uword | size () const |
Total of getRunningLength() and getNumberOfLiteralWords() | |
void | discardLiteralWordsWithReload (uword x) |
void | discardFirstWordsWithReload (uword x) |
Same as RunningLengthWord, except that the values are buffered for quick access.
Definition at line 205 of file runninglengthword.h.
anonymous enum |
Definition at line 207 of file runninglengthword.h.
|
inline |
Definition at line 209 of file runninglengthword.h.
|
inline |
Definition at line 217 of file runninglengthword.h.
|
inline |
Definition at line 481 of file runninglengthword.h.
|
inline |
Definition at line 522 of file runninglengthword.h.
|
inline |
Definition at line 515 of file runninglengthword.h.
|
inline |
Definition at line 450 of file runninglengthword.h.
|
inline |
Definition at line 452 of file runninglengthword.h.
|
inline |
Definition at line 225 of file runninglengthword.h.
|
inline |
Definition at line 346 of file runninglengthword.h.
|
inline |
Definition at line 237 of file runninglengthword.h.
|
inline |
Definition at line 272 of file runninglengthword.h.
|
inline |
Definition at line 253 of file runninglengthword.h.
|
inline |
Definition at line 302 of file runninglengthword.h.
|
inline |
Definition at line 396 of file runninglengthword.h.
|
inline |
Definition at line 439 of file runninglengthword.h.
|
inline |
followed by how many literal words?
Definition at line 499 of file runninglengthword.h.
|
inline |
Which bit is being repeated?
Definition at line 479 of file runninglengthword.h.
|
inline |
how many words should be filled by the running bit (see previous method)
Definition at line 494 of file runninglengthword.h.
|
inline |
Definition at line 458 of file runninglengthword.h.
|
inline |
Definition at line 331 of file runninglengthword.h.
|
inline |
Definition at line 373 of file runninglengthword.h.
|
inline |
Definition at line 417 of file runninglengthword.h.
|
inline |
Definition at line 468 of file runninglengthword.h.
|
inline |
Total of getRunningLength() and getNumberOfLiteralWords()
Definition at line 504 of file runninglengthword.h.
|
inline |
Definition at line 441 of file runninglengthword.h.
|
inline |
Definition at line 445 of file runninglengthword.h.