21 #ifndef XAPIAN_INCLUDED_ORPOSITIONLIST_H
22 #define XAPIAN_INCLUDED_ORPOSITIONLIST_H
33 std::vector<PositionList*>
pls;
57 pls.push_back(poslist);
Xapian::termpos current_pos
Current position of this object.
bool next()
Advance to the next entry in the positionlist.
PositionList * gather(PostList *pl)
std::vector< Xapian::termpos > current
Current positions of the subobjects.
std::vector< PositionList * > pls
The PositionList sub-objects.
Xapian::termcount get_approx_size() const
Return approximate size of this positionlist.
Xapian::termpos get_position() const
Return the current position.
void add_poslist(PositionList *poslist)
Xapian::termpos back() const
Return the final entry in this positionlist.
bool skip_to(Xapian::termpos termpos)
Skip forward to the specified position.
Abstract base class for postlists.
virtual void gather_position_lists(OrPositionList *orposlist)
Gather PositionList* objects for a subtree.
Abstract base class for iterating term positions in a document.
Hierarchy of classes which Xapian can throw as exceptions.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query.
Abstract base class for iterating term positions in a document.
Abstract base class for postlists.