21 #ifndef XAPIAN_INCLUDED_SLOWVALUELIST_H 22 #define XAPIAN_INCLUDED_SLOWVALUELIST_H 56 : db(db_), last_docid(db_->get_lastdocid()), slot(slot_), current_did(0)
76 #endif // XAPIAN_INCLUDED_SLOWVALUELIST_H Base class for databases.
SlowValueList(const SlowValueList &)
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.
std::string current_value
The value at the current position.
bool check(Xapian::docid did)
Check if the specified docid occurs in this valuestream.
void operator=(const SlowValueList &)
Don't allow assignment.
Xapian::Internal::intrusive_ptr< const Xapian::Database::Internal > db
The subdatabase.
SlowValueList(const Xapian::Database::Internal *db_, Xapian::valueno slot_)
std::string get_description() const
Return a string description of this object.
Xapian::docid current_did
The document id at the current position.
Xapian::docid last_docid
The last docid in the database, or 0 if we're at_end.
Xapian::valueno slot
The value slot we're iterating over.
std::string get_value() const
Return the value at the current position.
Abstract base class for value streams.
unsigned valueno
The number for a value slot in a document.
Abstract base class for value streams.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
void next()
Advance the current position to the next document in the value stream.
void skip_to(Xapian::docid)
Skip forward to the specified docid.
Xapian::valueno get_valueno() const
Return the value slot for the current position/this iterator.
Slow implementation for backends which don't streamed values.