21 #ifndef XAPIAN_INCLUDED_POSITIONLIST_H 22 #define XAPIAN_INCLUDED_POSITIONLIST_H 63 virtual bool next() = 0;
80 #endif // XAPIAN_INCLUDED_POSITIONLIST_H The Xapian namespace contains public interfaces for the Xapian library.
void operator=(const Internal &)=delete
Don't allow assignment.
virtual ~Internal()
We have virtual methods and want to be able to delete derived classes using a pointer to the base cla...
virtual bool next()=0
Advance to the next entry in the positionlist.
Xapian::PositionIterator::Internal PositionList
Class for iterating over term positions.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
virtual bool skip_to(Xapian::termpos termpos)=0
Skip forward to the specified position.
virtual Xapian::termpos get_position() const =0
Return the current position.
Base class for objects managed by intrusive_ptr.
virtual Xapian::termcount get_approx_size() const =0
Return approximate size of this positionlist.
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query.
Abstract base class for iterating term positions in a document.
Internal()
Only constructable as a base class for derived classes.