|
xapian-core
2.0.0
|
#include <prefix_compressed_strings.h>
Collaboration diagram for PrefixCompressedStringItor:Public Member Functions | |
| PrefixCompressedStringItor (const std::string &s) | |
| Construct for glass. More... | |
| PrefixCompressedStringItor (const std::string &s, const std::string &key) | |
| Construct for honey. More... | |
| const std::string & | operator* () const |
| PrefixCompressedStringItor | operator++ (int) |
| PrefixCompressedStringItor & | operator++ () |
| bool | at_end () const |
Private Member Functions | |
| PrefixCompressedStringItor (PrefixCompressedStringItor &o) | |
| PrefixCompressedStringItor (PrefixCompressedStringItor &&o) | |
Private Attributes | |
| const unsigned char * | p |
| size_t | left |
| std::string | current |
| int | tail = 0 |
| Number of constant characters on the end of the value. More... | |
Definition at line 38 of file prefix_compressed_strings.h.
|
inlineprivate |
Definition at line 51 of file prefix_compressed_strings.h.
|
inlineprivate |
Definition at line 54 of file prefix_compressed_strings.h.
|
inlineexplicit |
Construct for glass.
| s | the encoded data. |
Definition at line 62 of file prefix_compressed_strings.h.
References left, operator++(), and p.
|
inline |
Construct for honey.
| s | the encoded data. |
| key | the key |
Definition at line 77 of file prefix_compressed_strings.h.
References Assert, AssertRel, current, Honey::KEY_PREFIX_BOOKEND, Honey::KEY_PREFIX_HEAD, Honey::KEY_PREFIX_TAIL, Honey::KEY_PREFIX_WORD, left, operator++(), p, and tail.
|
inline |
Definition at line 137 of file prefix_compressed_strings.h.
References p.
Referenced by GlassSpellingTable::merge_changes(), HoneySpellingTable::merge_changes(), GlassCompact::merge_spellings(), and HoneyCompact::merge_spellings().
|
inline |
Definition at line 104 of file prefix_compressed_strings.h.
References current.
|
inline |
Definition at line 114 of file prefix_compressed_strings.h.
References current, left, MAGIC_XOR_VALUE, p, rare, tail, and usual.
Referenced by operator++(), and PrefixCompressedStringItor().
|
inline |
Definition at line 108 of file prefix_compressed_strings.h.
References operator++().
|
private |
Definition at line 41 of file prefix_compressed_strings.h.
Referenced by operator*(), operator++(), and PrefixCompressedStringItor().
|
private |
Definition at line 40 of file prefix_compressed_strings.h.
Referenced by operator++(), and PrefixCompressedStringItor().
|
private |
Definition at line 39 of file prefix_compressed_strings.h.
Referenced by at_end(), operator++(), and PrefixCompressedStringItor().
|
private |
Number of constant characters on the end of the value.
Valid values once iterating are 0, 1, 2. Before iteration, can be 0 (no head or tail), 2 (two tails), -1 (one head, one tail -> 1 once iterating) or -2 (two heads, no tail -> 0 once iterating).
Definition at line 49 of file prefix_compressed_strings.h.
Referenced by operator++(), and PrefixCompressedStringItor().