21 #ifndef XAPIAN_INCLUDED_GLASS_VALUELIST_H 22 #define XAPIAN_INCLUDED_GLASS_VALUELIST_H 52 : cursor(NULL), slot(slot_), db(db_) { }
73 #endif // XAPIAN_INCLUDED_GLASS_VALUELIST_H void skip_to(Xapian::docid)
Skip forward to the specified docid.
void next()
Advance the current position to the next document in the value stream.
GlassValueList(Xapian::valueno slot_, Xapian::Internal::intrusive_ptr< const GlassDatabase > db_)
bool update_reader()
Update reader to use the chunk currently pointed to by cursor.
Glass class for value streams.
void operator=(const GlassValueList &)
Don't allow assignment.
std::string get_value() const
Return the value at the current position.
A backend designed for efficient indexing and retrieval, using compressed posting lists and a btree s...
A cursor pointing to a position in a Btree table, for reading several entries in order, or finding approximate matches.
Xapian::Internal::intrusive_ptr< const GlassDatabase > db
std::string get_description() const
Return a string description of this object.
Abstract base class for value streams.
Xapian::docid get_docid() const
Return the docid at the current position.
unsigned valueno
The number for a value slot in a document.
GlassValueList(const GlassValueList &)
Don't allow copying.
bool at_end() const
Return true if the current position is past the last entry in this list.
Glass::ValueChunkReader reader
Abstract base class for value streams.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
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.