41 const string &prefix_)
42 : database(database_), cursor(cursor_), prefix(string(
"\x00\xc0", 2) + prefix_)
44 LOGCALL_CTOR(DB,
"GlassMetadataTermList", database_ | cursor_ | prefix_);
59 LOGCALL(DB,
string,
"GlassMetadataTermList::get_termname", NO_ARGS);
107 LOGCALL(DB,
bool,
"GlassMetadataTermList::at_end", NO_ARGS);
InvalidOperationError indicates the API was used in an invalid way.
void find_entry_lt(const string &key)
Position the cursor on the highest entry with key < key.
#define LOGCALL_DTOR(CATEGORY, CLASS)
bool next()
Advance to the next key.
Abstract base class for termlists.
bool after_end() const
Determine whether cursor is off the end of table.
Hierarchy of classes which Xapian can throw as exceptions.
string current_key
Current key pointed to by cursor.
bool startswith(const std::string &s, char pfx)
#define LOGCALL_CTOR(CATEGORY, CLASS, PARAMS)
bool find_entry_ge(const string &key)
Position the cursor on the lowest entry with key >= key.
A cursor pointing to a position in a Btree table, for reading several entries in order, or finding approximate matches.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Interface to Btree cursors.
Various handy helpers which std::string really should provide.
Various assertion macros.
A smart pointer that uses intrusive reference counting.
void to_end()
Set the cursor to be off the end of the table.
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)