#include <chert_values.h>

Public Member Functions | |
| ValueChunkReader () | |
| Create a ValueChunkReader which is already at_end(). | |
| ValueChunkReader (const char *p_, size_t len, Xapian::docid did_) | |
| void | assign (const char *p_, size_t len, Xapian::docid did_) |
| bool | at_end () const |
| Xapian::docid | get_docid () const |
| const std::string & | get_value () const |
| void | next () |
| void | skip_to (Xapian::docid target) |
Private Attributes | |
| const char * | p |
| const char * | end |
| Xapian::docid | did |
| std::string | value |
Definition at line 168 of file chert_values.h.
| ValueChunkReader::ValueChunkReader | ( | ) | [inline] |
| ValueChunkReader::ValueChunkReader | ( | const char * | p_, | |
| size_t | len, | |||
| Xapian::docid | did_ | |||
| ) | [inline] |
| void ValueChunkReader::assign | ( | const char * | p_, | |
| size_t | len, | |||
| Xapian::docid | did_ | |||
| ) |
Definition at line 71 of file chert_values.cc.
References did, end, p, unpack_string(), and value.
Referenced by ValueUpdater::update(), ChertValueList::update_reader(), and ValueChunkReader().
| bool ValueChunkReader::at_end | ( | ) | const [inline] |
Definition at line 186 of file chert_values.h.
References p.
Referenced by ChertValueList::check(), ChertValueList::next(), ChertValueList::skip_to(), ValueUpdater::update(), and ValueUpdater::~ValueUpdater().
| Xapian::docid ValueChunkReader::get_docid | ( | ) | const [inline] |
Definition at line 188 of file chert_values.h.
References did.
Referenced by ChertValueList::get_docid(), ValueUpdater::update(), and ValueUpdater::~ValueUpdater().
| const std::string& ValueChunkReader::get_value | ( | ) | const [inline] |
Definition at line 190 of file chert_values.h.
References value.
Referenced by ChertValueList::get_value(), ValueUpdater::update(), and ValueUpdater::~ValueUpdater().
| void ValueChunkReader::next | ( | ) |
Definition at line 81 of file chert_values.cc.
References did, end, p, unpack_string(), unpack_uint(), and value.
Referenced by ChertValueList::next(), ValueUpdater::update(), and ValueUpdater::~ValueUpdater().
| void ValueChunkReader::skip_to | ( | Xapian::docid | target | ) |
Definition at line 97 of file chert_values.cc.
References did, end, p, rare, unpack_uint(), and value.
Referenced by ChertValueList::check(), and ChertValueList::skip_to().
Xapian::docid ValueChunkReader::did [private] |
Definition at line 172 of file chert_values.h.
Referenced by assign(), get_docid(), next(), and skip_to().
const char* ValueChunkReader::end [private] |
const char* ValueChunkReader::p [private] |
std::string ValueChunkReader::value [private] |
Definition at line 174 of file chert_values.h.
Referenced by assign(), get_value(), next(), and skip_to().