BackendManagerInMemory Class Reference

BackendManager subclass for inmemory databases. More...

#include <backendmanager_inmemory.h>

Inheritance diagram for BackendManagerInMemory:

Inheritance graph
[legend]
Collaboration diagram for BackendManagerInMemory:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

BackendManager subclass for inmemory databases.

Definition at line 35 of file backendmanager_inmemory.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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.