21 #ifndef XAPIAN_INCLUDED_BACKENDMANAGER_HONEY_H
22 #define XAPIAN_INCLUDED_BACKENDMANAGER_HONEY_H
67 const std::string& file);
Base class for backend handling in test harness.
BackendManager subclass for honey databases.
BackendManager * generated_sub_manager
BackendManager for generated testcases.
Xapian::WritableDatabase get_generated_database(const std::string &name)
Get generated database for honey.
std::string get_compaction_output_path(const std::string &name)
Get a path to compact a database to.
void operator=(const BackendManagerHoney &)
Don't allow assignment.
BackendManagerHoney(const std::string &datadir_, BackendManager *generated_sub_manager_)
BackendManagerHoney(const BackendManagerHoney &)
Don't allow copying.
std::string do_get_database_path(const std::vector< std::string > &files)
Get the path of Honey Xapian::Database instance.
std::string last_wdb_name
The path of the last writable database used.
Xapian::WritableDatabase get_writable_database(const std::string &name, const std::string &file)
Create a Xapian::WritableDatabase object.
std::string get_generated_database_path(const std::string &name)
Get the path to use for generating a database, if supported.
BackendManagerHoney(const std::string &datadir_)
void finalise_generated_database(const std::string &name)
Finalise generated database.
This class provides read/write access to a database.
An indexed database of documents.