CppDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions
cppdb::backend::static_driver Class Reference

Create a static driver using connection function (usable for statically linking drivers). More...

#include <cppdb/backend.h>

Inheritance diagram for cppdb::backend::static_driver:
cppdb::backend::driver cppdb::ref_counted

List of all members.

Public Types

typedef
cppdb_backend_connect_function
connect_function_type

Public Member Functions

 static_driver (connect_function_type c)
bool in_use ()
backend::connectionopen (connection_info const &ci)

Detailed Description

Create a static driver using connection function (usable for statically linking drivers).


Member Typedef Documentation

Typedef of the function pointer that is used for creation of connection objects.


Constructor & Destructor Documentation

Create a new driver that creates connection using function c


Member Function Documentation

Always returns true as this driver cannot be unloaded

Implements cppdb::backend::driver.

Create new connection - basically calls the function to create the object

Implements cppdb::backend::driver.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator