EWAHBoolArray 0.8.0
A compressed bitmap class in C++
|
For expert users. More...
#include <runninglengthword.h>
Public Member Functions | |
RunningLengthWord (uword &data) | |
RunningLengthWord (const RunningLengthWord &rlw) | |
RunningLengthWord & | operator= (const RunningLengthWord &rlw) |
bool | getRunningBit () const |
Which bit is being repeated? | |
uword | getRunningLength () const |
how many words should be filled by the running bit | |
uword | getNumberOfLiteralWords () const |
followed by how many literal words? | |
uword | size () const |
Total of getRunningLength() and getNumberOfLiteralWords() | |
void | setRunningBit (bool b) |
running length of which type of bits | |
void | discardFirstWords (uword x) |
void | setRunningLength (uword l) |
void | setNumberOfLiteralWords (uword l) |
Static Public Member Functions | |
static bool | getRunningBit (uword data) |
how many words should be filled by the running bit | |
static uword | getRunningLength (uword data) |
followed by how many literal words? | |
static uword | size (uword data) |
Total of getRunningLength() and getNumberOfLiteralWords() | |
static uword | getNumberOfLiteralWords (uword data) |
followed by how many literal words? | |
static void | setRunningBit (uword &data, bool b) |
running length of which type of bits | |
static void | setRunningLength (uword &data, uword l) |
static void | setNumberOfLiteralWords (uword &data, uword l) |
Public Attributes | |
uword & | mydata |
Static Public Attributes | |
static const uint32_t | runninglengthbits = sizeof(uword) * 4 |
static const uint32_t | literalbits = sizeof(uword) * 8 - 1 - runninglengthbits |
static const uword | largestliteralcount |
static const uword | largestrunninglengthcount |
static const uword | shiftedlargestrunninglengthcount |
static const uword | notshiftedlargestrunninglengthcount |
static const uword | runninglengthplusrunningbit |
static const uword | notrunninglengthplusrunningbit |
static const uword | notlargestrunninglengthcount |
For expert users.
This class is used to represent a special type of word storing a run length. It is defined by the Enhanced Word Aligned Hybrid (EWAH) format. You don't normally need to access this class.
Definition at line 15 of file runninglengthword.h.
|
inline |
Definition at line 17 of file runninglengthword.h.
|
inline |
Definition at line 19 of file runninglengthword.h.
|
inline |
Definition at line 91 of file runninglengthword.h.
|
inline |
followed by how many literal words?
Definition at line 55 of file runninglengthword.h.
|
inlinestatic |
followed by how many literal words?
Definition at line 77 of file runninglengthword.h.
|
inline |
Which bit is being repeated?
Definition at line 29 of file runninglengthword.h.
|
inlinestatic |
how many words should be filled by the running bit
Definition at line 34 of file runninglengthword.h.
|
inline |
how many words should be filled by the running bit
Definition at line 41 of file runninglengthword.h.
|
inlinestatic |
followed by how many literal words?
Definition at line 48 of file runninglengthword.h.
|
inline |
Definition at line 21 of file runninglengthword.h.
|
inlinestatic |
Definition at line 130 of file runninglengthword.h.
|
inline |
Definition at line 124 of file runninglengthword.h.
|
inline |
running length of which type of bits
Definition at line 84 of file runninglengthword.h.
|
inlinestatic |
running length of which type of bits
Definition at line 105 of file runninglengthword.h.
|
inlinestatic |
Definition at line 119 of file runninglengthword.h.
|
inline |
Definition at line 112 of file runninglengthword.h.
|
inline |
Total of getRunningLength() and getNumberOfLiteralWords()
Definition at line 62 of file runninglengthword.h.
|
inlinestatic |
Total of getRunningLength() and getNumberOfLiteralWords()
Definition at line 69 of file runninglengthword.h.
|
static |
Definition at line 138 of file runninglengthword.h.
|
static |
Definition at line 140 of file runninglengthword.h.
|
static |
Definition at line 137 of file runninglengthword.h.
uword& ewah::RunningLengthWord< uword >::mydata |
Definition at line 153 of file runninglengthword.h.
|
static |
Definition at line 150 of file runninglengthword.h.
|
static |
Definition at line 148 of file runninglengthword.h.
|
static |
Definition at line 144 of file runninglengthword.h.
|
static |
Definition at line 136 of file runninglengthword.h.
|
static |
Definition at line 146 of file runninglengthword.h.
|
static |
Definition at line 142 of file runninglengthword.h.