57 return it == doc->values.end();
63 if (it == doc->values.end()) {
64 it = doc->values.begin();
73 it = doc->values.lower_bound(slot);
79 string desc =
"DocumentValueList(";
82 desc +=
str(get_valueno());
Xapian::docid get_docid() const
Return the docid at the current position.
bool at_end() const
Return true if the current position is past the last entry in this list.
InvalidOperationError indicates the API was used in an invalid way.
void next()
Advance the current position to the next document in the value stream.
Convert types to std::string.
std::string get_value() const
Return the value at the current position.
Xapian::valueno get_valueno() const
Return the value slot for the current position/this iterator.
Hierarchy of classes which Xapian can throw as exceptions.
void skip_to(Xapian::docid slot)
The parameter is actually a Xapian::valueno for this subclass.
void description_append(std::string &desc, const std::string &s)
Iteration over values in a document.
string str(int value)
Convert int to std::string.
std::string get_description() const
Return a string description of this object.
Append a string to an object description, escaping invalid UTF-8.
unsigned valueno
The number for a value slot in a document.
Various assertion macros.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.