Functions | |
| Database | open_stub (const std::string &file) |
| Construct a Database object for a stub database file. | |
| WritableDatabase | open_stub (const std::string &file, int action) |
| Construct a WritableDatabase object for a stub database file. | |
| WritableDatabase Xapian::Auto::open_stub | ( | const std::string & | file, | |
| int | action | |||
| ) |
Construct a WritableDatabase object for a stub database file.
The stub database file must contain serialised parameters for exactly one database.
| file | pathname of the stub database file. | |
| action | determines handling of existing/non-existing database:
|
Definition at line 339 of file dbfactory.cc.
References LOGCALL_STATIC, open_stub(), and RETURN.
| Database Xapian::Auto::open_stub | ( | const std::string & | file | ) |
Construct a Database object for a stub database file.
The stub database file contains serialised parameters for one or more databases.
| file | pathname of the stub database file. |
Definition at line 330 of file dbfactory.cc.
References LOGCALL_STATIC, and RETURN.
Referenced by DEFINE_TESTCASE(), and open_stub().