23 #ifndef OM_HGUARD_INMEMORY_POSITIONLIST_H 24 #define OM_HGUARD_INMEMORY_POSITIONLIST_H 43 vector<Xapian::termpos>::const_iterator
mypos;
60 : mypos(positions.begin()), iterating_in_progress(
false) { }
InMemoryPositionList(bool)
Construct an empty InMemoryPositionList.
internal class representing a term in a modified document
Abstract base class for iterating term positions in a document.
vector< Xapian::termpos >::const_iterator mypos
Position of iteration through positions.
Hierarchy of classes which Xapian can throw as exceptions.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
A position list in a inmemory database.
vector< Xapian::termpos > term_positions
bool iterating_in_progress
True if we have started iterating.
vector< Xapian::termpos > positions
The list of positions.
InMemoryPositionList()
Default constructor.
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query.
Abstract base class for iterating term positions in a document.