21 #ifndef XAPIAN_INCLUDED_DOCUMENTVALUELIST_H 22 #define XAPIAN_INCLUDED_DOCUMENTVALUELIST_H 43 Xapian::Document::Internal::document_values::const_iterator
it;
47 : doc(doc_), it(doc->values.end()) { }
65 #endif // XAPIAN_INCLUDED_DOCUMENTVALUELIST_H Xapian::docid get_docid() const
Return the docid at the current position.
Xapian::Document::Internal::document_values::const_iterator it
Iterator over the map inside doc.
bool at_end() const
Return true if the current position is past the last entry in this list.
DocumentValueList(const Xapian::Internal::intrusive_ptr< Xapian::Document::Internal > &doc_)
void next()
Advance the current position to the next document in the value stream.
Iteration over values in a document.
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.
void skip_to(Xapian::docid slot)
The parameter is actually a Xapian::valueno for this subclass.
Xapian::Internal::intrusive_ptr< const Xapian::Document::Internal > doc
Document internals we're iterating over.
std::string get_description() const
Return a string description of this object.
void operator=(const DocumentValueList &)
Don't allow assignment.
Abstract base class for value streams.
unsigned valueno
The number for a value slot in a document.
DocumentValueList(const DocumentValueList &)
Don't allow copying.
Abstract base class for value streams.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.