36 #include <string_view>
39 using namespace std::string_literals;
46 : database(database_), cursor(cursor_), prefix(
"\0\0"s.append(prefix_))
48 LOGCALL_CTOR(DB,
"HoneyMetadataTermList", database_ | cursor_ | prefix_);
bool find_entry_ge(std::string_view key)
Virtual base class for Database internals.
A smart pointer that uses intrusive reference counting.
InvalidOperationError indicates the API was used in an invalid way.
Abstract base class for termlists.
std::string current_term
The current term.
Virtual base class for Database internals.
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)
#define LOGCALL_CTOR(CATEGORY, CLASS, PARAMS)
#define LOGCALL_DTOR(CATEGORY, CLASS)
Hierarchy of classes which Xapian can throw as exceptions.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Various assertion macros.
Various handy string-related helpers.
bool startswith(std::string_view s, char pfx)