21 #ifndef XAPIAN_INCLUDED_MULTIVALUELIST_H
22 #define XAPIAN_INCLUDED_MULTIVALUELIST_H
Class for merging ValueList objects from subdatabases.
bool check(Xapian::docid did)
Check if the specified docid occurs in this valuestream.
Xapian::valueno get_valueno() const
Return the value slot for the current position/this iterator.
std::string get_value() const
Return the value at the current position.
std::string get_description() const
Return a string description of this object.
Xapian::docid current_docid
Current docid (or 0 if we haven't started yet).
Xapian::valueno slot
The value slot we're iterating over.
void next()
Advance the current position to the next document in the value stream.
void operator=(const MultiValueList &)
Don't allow assignment.
std::vector< SubValueList * > valuelists
Vector of sub-valuelists which we use as a heap.
~MultiValueList()
Destructor.
MultiValueList(const MultiValueList &)
Don't allow copying.
bool at_end() const
Return true if the current position is past the last entry in this list.
Xapian::docid get_docid() const
Return the docid at the current position.
void skip_to(Xapian::docid)
Skip forward to the specified docid.
Abstract base class for value streams.
API for working with Xapian databases.
unsigned valueno
The number for a value slot in a document.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Abstract base class for value streams.