Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

ODBCConnection Class Reference

#include <ODBCConnection.h>

List of all members.

Public Methods

 ODBCConnection ()
 ~ODBCConnection ()
bool connect (string datasource, string user, string password)
SQLHDBC query ()
void free (SQLHDBC hdbc)
void error (int lineno)


Detailed Description

ODBC connection pool.


Constructor & Destructor Documentation

ODBCConnection::ODBCConnection  
 

Constructor.

ODBCConnection::~ODBCConnection  
 

Destructor.


Member Function Documentation

bool ODBCConnection::connect string    datasource,
string    user,
string    password
 

Connect to datasource.

Parameters:
datasource  the data source name
user  the user identifier
password  the authentication string
Returns:
true if connected, false otherwise

void ODBCConnection::error int    lineno
 

ODBC error, cleanup ODBC state.

Parameters:
lineno  the line number where the error occured

void ODBCConnection::free SQLHDBC    hdbc
 

Free connection handle.

SQLHDBC ODBCConnection::query  
 

Request a connection handle.


The documentation for this class was generated from the following files:
Generated on Wed Feb 18 13:45:56 2004 for strongroom by doxygen1.2.18