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