#include <backendmanager_remotetcp.h>
Inheritance diagram for BackendManagerRemoteTcp:
Public Member Functions | |
BackendManagerRemoteTcp () | |
virtual | ~BackendManagerRemoteTcp () |
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 RemoteTcp Xapian::Database object indexing multiple files. | |
Xapian::Database | get_database (const std::string &file) |
Create a RemoteTcp Xapian::Database object indexing a single file. | |
Xapian::WritableDatabase | get_writable_database (const std::string &name, const std::string &file) |
Create a RemoteTcp Xapian::WritableDatabase object indexing a single file. | |
Xapian::Database | get_remote_database (const std::vector< std::string > &files, unsigned int timeout) |
Create a RemoteTcp Xapian::Database with the specified timeout. | |
Xapian::Database | get_writable_database_as_database () |
Create a Database object for the last opened WritableDatabase. | |
Xapian::WritableDatabase | get_writable_database_again () |
Create a WritableDatabase object for the last opened WritableDatabase. | |
Private Member Functions | |
void | operator= (const BackendManagerRemoteTcp &) |
Don't allow assignment. | |
BackendManagerRemoteTcp (const BackendManagerRemoteTcp &) | |
Don't allow copying. | |
Private Attributes | |
std::string | last_wdb_name |
The path of the last writable database used. |
Definition at line 29 of file backendmanager_remotetcp.h.
BackendManagerRemoteTcp::BackendManagerRemoteTcp | ( | const BackendManagerRemoteTcp & | ) | [private] |
Don't allow copying.
BackendManagerRemoteTcp::BackendManagerRemoteTcp | ( | ) | [inline] |
Definition at line 40 of file backendmanager_remotetcp.h.
BackendManagerRemoteTcp::~BackendManagerRemoteTcp | ( | ) | [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 308 of file backendmanager_remotetcp.cc.
void BackendManagerRemoteTcp::operator= | ( | const BackendManagerRemoteTcp & | ) | [private] |
Don't allow assignment.
const char * BackendManagerRemoteTcp::get_dbtype | ( | ) | const [virtual] |
Return a string representing the current database type.
Reimplemented from BackendManager.
Definition at line 311 of file backendmanager_remotetcp.cc.
Xapian::Database BackendManagerRemoteTcp::get_database | ( | const std::vector< std::string > & | files | ) | [virtual] |
Create a RemoteTcp Xapian::Database object indexing multiple files.
Reimplemented from BackendManager.
Xapian::Database BackendManagerRemoteTcp::get_database | ( | const std::string & | file | ) | [virtual] |
Create a RemoteTcp Xapian::Database object indexing a single file.
Reimplemented from BackendManager.
Xapian::WritableDatabase BackendManagerRemoteTcp::get_writable_database | ( | const std::string & | name, | |
const std::string & | file | |||
) | [virtual] |
Create a RemoteTcp Xapian::WritableDatabase object indexing a single file.
Reimplemented from BackendManager.
Xapian::Database BackendManagerRemoteTcp::get_remote_database | ( | const std::vector< std::string > & | files, | |
unsigned int | timeout | |||
) | [virtual] |
Xapian::Database BackendManagerRemoteTcp::get_writable_database_as_database | ( | ) | [virtual] |
Create a Database object for the last opened WritableDatabase.
Reimplemented from BackendManager.
Definition at line 371 of file backendmanager_remotetcp.cc.
References last_wdb_name, LOCALHOST, and Xapian::Remote::open().
Xapian::WritableDatabase BackendManagerRemoteTcp::get_writable_database_again | ( | ) | [virtual] |
Create a WritableDatabase object for the last opened WritableDatabase.
Reimplemented from BackendManager.
Definition at line 386 of file backendmanager_remotetcp.cc.
References last_wdb_name, LOCALHOST, and Xapian::Remote::open_writable().
std::string BackendManagerRemoteTcp::last_wdb_name [private] |
The path of the last writable database used.
Definition at line 37 of file backendmanager_remotetcp.h.
Referenced by get_writable_database_again(), and get_writable_database_as_database().