22 #ifndef XAPIAN_INCLUDED_INMEMORY_ALLTERMSLIST_H
23 #define XAPIAN_INCLUDED_INMEMORY_ALLTERMSLIST_H
38 const std::map<std::string,
42 std::map<std::string, InMemoryTerm, std::less<>>::const_iterator
it;
54 std::string_view prefix_)
72 #ifdef DISABLE_GPL_LIBXAPIAN
73 # error GPL source we cannot relicense included in libxapian
Abstract base class for iterating all terms in a database.
Abstract base class for iterating all terms in a database.
class for alltermslists over several databases
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
Xapian::Internal::intrusive_ptr< const InMemoryDatabase > database
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
void operator=(const InMemoryAllTermsList &)
Assignment is not allowed.
TermList * skip_to(std::string_view tname)
Skip forward to the specified term.
InMemoryAllTermsList(const InMemoryAllTermsList &)
Copying is not allowed.
InMemoryAllTermsList(const std::map< std::string, InMemoryTerm, std::less<>> *tmap_, Xapian::Internal::intrusive_ptr< const InMemoryDatabase > database_, std::string_view prefix_)
Constructor.
TermList * next()
next() causes the AllTermsList to move to the next term in the list.
const std::map< std::string, InMemoryTerm, std::less<> > * tmap
std::map< std::string, InMemoryTerm, std::less<> >::const_iterator it
Abstract base class for termlists.
C++ class definition for inmemory database access.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.