#include <backendmanager_multi.h>
Inheritance diagram for BackendManagerMulti:
Public Member Functions | |
BackendManagerMulti () | |
virtual | ~BackendManagerMulti () |
We have virtual methods and want to be able to delete derived classes using a pointer to the base class, so we need a virtual destructor. | |
const char * | get_dbtype () const |
Return a string representing the current database type. | |
Xapian::Database | get_database (const std::vector< std::string > &files) |
Create a Multi Xapian::Database object indexing multiple files. | |
Xapian::Database | get_database (const std::string &file) |
Create a Multi Xapian::Database object indexing a single file. | |
Xapian::WritableDatabase | get_writable_database (const std::string &name, const std::string &file) |
Create a Multi Xapian::WritableDatabase object indexing a single file. | |
Private Member Functions | |
void | operator= (const BackendManagerMulti &) |
Don't allow assignment. | |
BackendManagerMulti (const BackendManagerMulti &) | |
Don't allow copying. | |
std::string | createdb_multi (const std::vector< std::string > &files) |
Definition at line 35 of file backendmanager_multi.h.
BackendManagerMulti::BackendManagerMulti | ( | const BackendManagerMulti & | ) | [private] |
Don't allow copying.
BackendManagerMulti::BackendManagerMulti | ( | ) | [inline] |
Definition at line 45 of file backendmanager_multi.h.
BackendManagerMulti::~BackendManagerMulti | ( | ) | [virtual] |
We have virtual methods and want to be able to delete derived classes using a pointer to the base class, so we need a virtual destructor.
Definition at line 34 of file backendmanager_multi.cc.
void BackendManagerMulti::operator= | ( | const BackendManagerMulti & | ) | [private] |
Don't allow assignment.
std::string BackendManagerMulti::createdb_multi | ( | const std::vector< std::string > & | files | ) | [private] |
const char * BackendManagerMulti::get_dbtype | ( | ) | const [virtual] |
Return a string representing the current database type.
Reimplemented from BackendManager.
Definition at line 37 of file backendmanager_multi.cc.
Xapian::Database BackendManagerMulti::get_database | ( | const std::vector< std::string > & | files | ) | [virtual] |
Xapian::Database BackendManagerMulti::get_database | ( | const std::string & | file | ) | [virtual] |
Xapian::WritableDatabase BackendManagerMulti::get_writable_database | ( | const std::string & | name, | |
const std::string & | file | |||
) | [virtual] |
Create a Multi Xapian::WritableDatabase object indexing a single file.
Reimplemented from BackendManager.