23 #ifndef OM_HGUARD_INMEMORY_ALLTERMSLIST_H 24 #define OM_HGUARD_INMEMORY_ALLTERMSLIST_H 39 const std::map<string, InMemoryTerm> *
tmap;
41 std::map<string, InMemoryTerm>::const_iterator
it;
51 const string& prefix_)
52 : tmap(tmap_), it(tmap->begin()), database(database_),
std::map< string, InMemoryTerm >::const_iterator it
Abstract base class for termlists.
Xapian::Internal::intrusive_ptr< const InMemoryDatabase > database
void operator=(const InMemoryAllTermsList &)
Assignment is not allowed.
string get_termname() const
Return the termname at the current position.
bool at_end() const
Return true if the current position is past the last term in this list.
const std::map< string, InMemoryTerm > * tmap
C++ class definition for inmemory database access.
Abstract base class for iterating all terms in a database.
InMemoryAllTermsList(const InMemoryAllTermsList &)
Copying is not allowed.
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
TermList * next()
next() causes the AllTermsList to move to the next term in the list.
class for alltermslists over several databases
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Abstract base class for iterating all terms in a database.
InMemoryAllTermsList(const std::map< string, InMemoryTerm > *tmap_, Xapian::Internal::intrusive_ptr< const InMemoryDatabase > database_, const string &prefix_)
Constructor.
TermList * skip_to(const string &tname)
Skip forward to the specified term.