21 #ifndef XAPIAN_INCLUDED_VALUELIST_H 22 #define XAPIAN_INCLUDED_VALUELIST_H 52 virtual std::string
get_value()
const = 0;
58 virtual bool at_end()
const = 0;
66 virtual void next() = 0;
103 #endif // XAPIAN_INCLUDED_VALUELIST_H virtual std::string get_description() const =0
Return a string description of this object.
virtual bool at_end() const =0
Return true if the current position is past the last entry in this list.
virtual Xapian::valueno get_valueno() const =0
Return the value slot for the current position/this iterator.
Class for iterating over document values.
Xapian::ValueIterator::Internal ValueList
void operator=(const Internal &)
Don't allow assignment.
virtual Xapian::docid get_docid() const =0
Return the docid at the current position.
Base class for objects managed by intrusive_ptr.
virtual void next()=0
Advance the current position to the next document in the value stream.
Abstract base class for value streams.
virtual std::string get_value() const =0
Return the value at the current position.
unsigned valueno
The number for a value slot in a document.
virtual bool check(Xapian::docid did)
Check if the specified docid occurs in this valuestream.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
virtual ~Internal()
We have virtual methods and want to be able to delete derived classes using a pointer to the base cla...
virtual void skip_to(Xapian::docid)=0
Skip forward to the specified docid.
Internal()
Only constructable as a base class for derived classes.