21 #ifndef XAPIAN_INCLUDED_ALLTERMSLIST_H 22 #define XAPIAN_INCLUDED_ALLTERMSLIST_H 66 virtual bool at_end()
const = 0;
83 #endif // XAPIAN_INCLUDED_ALLTERMSLIST_H virtual Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
virtual TermList * next()=0
Advance the current position to the next term in the termlist.
Abstract base class for termlists.
virtual Xapian::termcount positionlist_count() const
Return true if the current position is past the last term in this list.
void operator=(const AllTermsList &)
Don't allow assignment.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
virtual Xapian::doccount get_termfreq() const =0
Return the term frequency for the term at the current position.
virtual bool at_end() const =0
Return true if the current position is past the last term in this list.
Class for iterating over term positions.
AllTermsList()
Only constructable as a base class for derived classes.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
virtual Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
Abstract base class for termlists.
virtual std::string get_termname() const =0
Return the termname at the current position.
Abstract base class for iterating all terms in a database.
virtual TermList * skip_to(const std::string &term)=0
Skip forward to the specified term.
virtual Xapian::PositionIterator positionlist_begin() const
Return a PositionIterator for the current position.