BackendManagerQuartz Class Reference

BackendManager subclass for quartz databases. More...

#include <backendmanager_quartz.h>

Inheritance diagram for BackendManagerQuartz:

Inheritance graph
[legend]
Collaboration diagram for BackendManagerQuartz:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

BackendManager subclass for quartz databases.

Definition at line 35 of file backendmanager_quartz.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

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

Reimplemented from BackendManager.

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

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

Reimplemented from BackendManager.

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().


Member Data Documentation

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().


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.