#include <backendmanager_quartz.h>
Inheritance diagram for BackendManagerQuartz:
Public Member Functions | |
BackendManagerQuartz () | |
virtual | ~BackendManagerQuartz () |
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 Quartz Xapian::Database object indexing multiple files. | |
Xapian::Database | get_database (const std::string &file) |
Create a Quartz Xapian::Database object indexing a single file. | |
Xapian::WritableDatabase | get_writable_database (const std::string &name, const std::string &file) |
Create a Quartz Xapian::WritableDatabase object indexing a single file. | |
Xapian::Database | get_writable_database_as_database () |
Create a Database object for the last opened WritableDatabase object. | |
Xapian::WritableDatabase | get_writable_database_again () |
Create a WritableDatabase object for the last opened WritableDatabase. | |
Private Member Functions | |
void | operator= (const BackendManagerQuartz &) |
Don't allow assignment. | |
BackendManagerQuartz (const BackendManagerQuartz &) | |
Don't allow copying. | |
Private Attributes | |
std::string | last_wdb_name |
The path of the last writable database used. |
Definition at line 35 of file backendmanager_quartz.h.
BackendManagerQuartz::BackendManagerQuartz | ( | const BackendManagerQuartz & | ) | [private] |
Don't allow copying.
BackendManagerQuartz::BackendManagerQuartz | ( | ) | [inline] |
Definition at line 46 of file backendmanager_quartz.h.
BackendManagerQuartz::~BackendManagerQuartz | ( | ) | [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 31 of file backendmanager_quartz.cc.
void BackendManagerQuartz::operator= | ( | const BackendManagerQuartz & | ) | [private] |
Don't allow assignment.
const char * BackendManagerQuartz::get_dbtype | ( | ) | const [virtual] |
Return a string representing the current database type.
Reimplemented from BackendManager.
Definition at line 34 of file backendmanager_quartz.cc.
Xapian::Database BackendManagerQuartz::get_database | ( | const std::vector< std::string > & | files | ) | [virtual] |
Xapian::Database BackendManagerQuartz::get_database | ( | const std::string & | file | ) | [virtual] |
Xapian::WritableDatabase BackendManagerQuartz::get_writable_database | ( | const std::string & | name, | |
const std::string & | file | |||
) | [virtual] |
Create a Quartz Xapian::WritableDatabase object indexing a single file.
Reimplemented from BackendManager.
Xapian::Database BackendManagerQuartz::get_writable_database_as_database | ( | ) | [virtual] |
Create a Database object for the last opened WritableDatabase object.
Reimplemented from BackendManager.
Definition at line 60 of file backendmanager_quartz.cc.
References last_wdb_name, and Xapian::Quartz::open().
Xapian::WritableDatabase BackendManagerQuartz::get_writable_database_again | ( | ) | [virtual] |
Create a WritableDatabase object for the last opened WritableDatabase.
Reimplemented from BackendManager.
Definition at line 66 of file backendmanager_quartz.cc.
References Xapian::DB_OPEN, last_wdb_name, and Xapian::Quartz::open().
std::string BackendManagerQuartz::last_wdb_name [private] |
The path of the last writable database used.
Definition at line 43 of file backendmanager_quartz.h.
Referenced by get_writable_database_again(), and get_writable_database_as_database().