21 #ifndef XAPIAN_INCLUDED_MULTI_ALLTERMSLIST_H
22 #define XAPIAN_INCLUDED_MULTI_ALLTERMSLIST_H
48 const std::string & prefix);
Abstract base class for iterating all terms in a database.
database class declarations
Abstract base class for iterating all terms in a database.
Class for merging AllTermsList objects from subdatabases.
MultiAllTermsList(const MultiAllTermsList &)
Don't allow copying.
bool at_end() const
Return true if the current position is past the last term in this list.
void operator=(const MultiAllTermsList &)
Don't allow assignment.
std::string current_term
Current termname (or empty if we haven't started yet).
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
TermList * next()
Advance the current position to the next term in the termlist.
~MultiAllTermsList()
Destructor.
std::string get_termname() const
Return the termname at the current position.
std::vector< TermList * > termlists
Vector of sub-termlists which we use as a heap.
TermList * skip_to(const std::string &term)
Skip forward to the specified term.
Abstract base class for termlists.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.