xapian-core  2.0.0
Namespaces | Functions
dbfactory.h File Reference

Factory functions for constructing Database and WritableDatabase objects. More...

#include <string>
#include <string_view>
#include <xapian/constants.h>
#include <xapian/database.h>
#include <xapian/deprecated.h>
#include <xapian/types.h>
#include <xapian/version.h>
#include <xapian/visibility.h>
+ Include dependency graph for dbfactory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 
 Xapian::Remote
 Database factory functions for the remote backend.
 

Functions

Database Xapian::Remote::open (std::string_view host, unsigned int port, unsigned timeout=10000, unsigned connect_timeout=10000)
 Construct a Database object for read-only access to a remote database accessed via a TCP connection. More...
 
WritableDatabase Xapian::Remote::open_writable (std::string_view host, unsigned int port, unsigned timeout=0, unsigned connect_timeout=10000, int flags=0)
 Construct a WritableDatabase object for update access to a remote database accessed via a TCP connection. More...
 
Database Xapian::Remote::open (std::string_view program, std::string_view args, unsigned timeout=10000)
 Construct a Database object for read-only access to a remote database accessed via a program. More...
 
WritableDatabase Xapian::Remote::open_writable (std::string_view program, std::string_view args, unsigned timeout=0, int flags=0)
 Construct a WritableDatabase object for update access to a remote database accessed via a program. More...
 

Detailed Description

Factory functions for constructing Database and WritableDatabase objects.

Definition in file dbfactory.h.