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