Functions
Xapian::Auto Namespace Reference

Database factory functions which determine the database type automatically. More...

Functions

Database open_stub (const std::string &file)
 Construct a Database object for a stub database file. More...
 
WritableDatabase open_stub (const std::string &file, int action)
 Construct a WritableDatabase object for a stub database file. More...
 

Detailed Description

Database factory functions which determine the database type automatically.

Function Documentation

Database Xapian::Auto::open_stub ( const std::string &  file)
inline

Construct a Database object for a stub database file.

The stub database file contains serialised parameters for one or more databases.

Parameters
filepathname of the stub database file.

References Xapian::DB_BACKEND_STUB.

WritableDatabase Xapian::Auto::open_stub ( const std::string &  file,
int  action 
)
inline

Construct a WritableDatabase object for a stub database file.

The stub database file must contain serialised parameters for exactly one database.

Parameters
filepathname of the stub database file.
actiondetermines handling of existing/non-existing database:

References Xapian::DB_BACKEND_STUB, and Xapian::Remote::open().


Documentation for Xapian (version 1.4.0).
Generated on Wed Oct 12 2016 by Doxygen 1.8.11.