|
| LocatedMaskedPattern (const int number, const uint64_t code, const uint64_t metadata_length, const int match_location, const DictionaryEntry bytes, const bool allocate=true) |
|
| MaskedPattern (const int number, const uint64_t code, const uint64_t metadata_length, const int match_location, const DictionaryEntry bytes, const bool allocate=true) |
|
DictionaryEntry | decompress (const DictionaryEntry dict_bytes) const override |
| Decompress the pattern. More...
|
|
| Pattern (const int number, const uint64_t code, const uint64_t metadata_length, const uint64_t num_unmatched_bits, const int match_location, const bool allocate=true) |
| Default constructor. More...
|
|
virtual | ~Pattern ()=default |
| Default destructor. More...
|
|
int | getPatternNumber () const |
| Get enum number associated to this pattern. More...
|
|
uint8_t | getCode () const |
| Get code of this pattern. More...
|
|
uint8_t | getMatchLocation () const |
| Get the index of the dictionary match location. More...
|
|
std::size_t | getSizeBits () const |
| Get size, in bits, of the pattern (excluding prefix). More...
|
|
bool | shouldAllocate () const |
| Determine if pattern allocates a dictionary entry. More...
|
|
std::string | print () const |
| Extract pattern's information to a string. More...
|
|
template<class T>
template<T mask, int location>
class Compressor::DictionaryCompressor< T >::LocatedMaskedPattern< mask, location >
A pattern that narrows the MaskedPattern by allowing a only single possible dictionary entry to be matched against.
- Template Parameters
-
mask | A mask containing the bits that must match. |
location | The index of the single entry allowed to match. |
Definition at line 132 of file dictionary_compressor.hh.