|
xapian-core
2.0.0
|
#include <prefix_compressed_strings.h>
Collaboration diagram for PrefixCompressedStringWriter:Public Member Functions | |
| PrefixCompressedStringWriter (std::string &out_) | |
| Construct for glass. More... | |
| PrefixCompressedStringWriter (std::string &out_, const std::string &key) | |
| Construct for honey. More... | |
| void | append (const std::string &word) |
Private Attributes | |
| std::string | current |
| std::string & | out |
| int | tail = 0 |
Definition at line 142 of file prefix_compressed_strings.h.
|
inlineexplicit |
Construct for glass.
| out_ | where to write data to. |
Definition at line 153 of file prefix_compressed_strings.h.
|
inline |
Construct for honey.
| out_ | where to write data to. |
| key | the key. |
Definition at line 160 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, and tail.
|
inline |
Definition at line 181 of file prefix_compressed_strings.h.
References AssertEq, AssertRel, common_prefix_length(), current, MAGIC_XOR_VALUE, out, rare, tail, and usual.
Referenced by GlassSpellingTable::merge_changes(), HoneySpellingTable::merge_changes(), GlassCompact::merge_spellings(), and HoneyCompact::merge_spellings().
|
private |
Definition at line 143 of file prefix_compressed_strings.h.
Referenced by append(), and PrefixCompressedStringWriter().
|
private |
Definition at line 144 of file prefix_compressed_strings.h.
Referenced by append().
|
private |
Definition at line 146 of file prefix_compressed_strings.h.
Referenced by append(), and PrefixCompressedStringWriter().