#include <backendmanager_inmemory.h>
Inheritance diagram for BackendManagerInMemory:
Public Member Functions | |
BackendManagerInMemory () | |
virtual | ~BackendManagerInMemory () |
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 InMemory Xapian::Database object indexing multiple files. | |
Xapian::Database | get_database (const std::string &file) |
Create a InMemory Xapian::Database object indexing a single file. | |
Xapian::WritableDatabase | get_writable_database (const std::string &name, const std::string &file) |
Create a InMemory Xapian::WritableDatabase object indexing a single file. | |
Private Member Functions | |
void | operator= (const BackendManagerInMemory &) |
Don't allow assignment. | |
BackendManagerInMemory (const BackendManagerInMemory &) | |
Don't allow copying. |
Definition at line 35 of file backendmanager_inmemory.h.
BackendManagerInMemory::BackendManagerInMemory | ( | const BackendManagerInMemory & | ) | [private] |
Don't allow copying.
BackendManagerInMemory::BackendManagerInMemory | ( | ) | [inline] |
Definition at line 43 of file backendmanager_inmemory.h.
BackendManagerInMemory::~BackendManagerInMemory | ( | ) | [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 27 of file backendmanager_inmemory.cc.
void BackendManagerInMemory::operator= | ( | const BackendManagerInMemory & | ) | [private] |
Don't allow assignment.
const char * BackendManagerInMemory::get_dbtype | ( | ) | const [virtual] |
Return a string representing the current database type.
Reimplemented from BackendManager.
Definition at line 30 of file backendmanager_inmemory.cc.
Xapian::Database BackendManagerInMemory::get_database | ( | const std::vector< std::string > & | files | ) | [virtual] |
Create a InMemory Xapian::Database object indexing multiple files.
Reimplemented from BackendManager.
Xapian::Database BackendManagerInMemory::get_database | ( | const std::string & | file | ) | [virtual] |
Create a InMemory Xapian::Database object indexing a single file.
Reimplemented from BackendManager.
Xapian::WritableDatabase BackendManagerInMemory::get_writable_database | ( | const std::string & | name, | |
const std::string & | file | |||
) | [virtual] |
Create a InMemory Xapian::WritableDatabase object indexing a single file.
Reimplemented from BackendManager.