|
ADS
Algorithms and Data Structures
|
a phrase of the parsing of Ziv and Lempel: copy length symbols from distance places back, then append next, if any More...
#include <ADS/string/SuffixApplications.h>
Public attributes | |
| std::size_t | distance = 0 |
| how far back the copy starts | |
| std::size_t | length = 0 |
| the symbols copied | |
| std::optional< char > | next |
| the symbol after the copy, none at the end | |
Friends | |
| bool | operator== (const CopyPhrase &, const CopyPhrase &)=default |
| the phrases are equal field by field | |
a phrase of the parsing of Ziv and Lempel: copy length symbols from distance places back, then append next, if any
|
friend |
the phrases are equal field by field
| std::size_t ADS::CopyPhrase::distance = 0 |
how far back the copy starts
| std::size_t ADS::CopyPhrase::length = 0 |
the symbols copied
| std::optional< char > ADS::CopyPhrase::next |
the symbol after the copy, none at the end