BackendManagerMulti Class Reference

BackendManager subclass for multi databases. More...

#include <backendmanager_multi.h>

Inheritance diagram for BackendManagerMulti:

Inheritance graph
[legend]
Collaboration diagram for BackendManagerMulti:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

BackendManager subclass for multi databases.

Definition at line 35 of file backendmanager_multi.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Create a Multi Xapian::Database object indexing multiple files.

Reimplemented from BackendManager.

Xapian::Database BackendManagerMulti::get_database ( const std::string &  file  )  [virtual]

Create a Multi Xapian::Database object indexing a single file.

Reimplemented from BackendManager.

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.


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.