OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ODBCConnection Class Reference

#include <odbcxx.h>

+ Collaboration diagram for ODBCConnection:

Public Member Functions

 ODBCConnection (const char *dbname, const char *username, const char *authentication)
 
 ~ODBCConnection ()
 
bool connected (void) const
 
ODBCRecordSetexec (const char *)
 
void extract_error (const char *)
 

Private Member Functions

ODBCRecordSetget_record_set (void)
 

Private Attributes

std::string dbname
 
std::string username
 
bool is_connected
 
SQLHENV sql_henv
 
SQLHDBC sql_hdbc
 
std::stack< ODBCRecordSet * > free_pool
 

Friends

class ODBCRecordSet
 

Detailed Description

Definition at line 43 of file odbcxx.h.

Constructor & Destructor Documentation

ODBCConnection::ODBCConnection ( const char *  dbname,
const char *  username,
const char *  authentication 
)
ODBCConnection::~ODBCConnection ( )

Member Function Documentation

bool ODBCConnection::connected ( void  ) const
ODBCRecordSet* ODBCConnection::exec ( const char *  )
void ODBCConnection::extract_error ( const char *  )
ODBCRecordSet* ODBCConnection::get_record_set ( void  )
private

Friends And Related Function Documentation

friend class ODBCRecordSet
friend

Definition at line 45 of file odbcxx.h.

Member Data Documentation

std::string ODBCConnection::dbname
private

Definition at line 47 of file odbcxx.h.

std::stack<ODBCRecordSet *> ODBCConnection::free_pool
private

Definition at line 52 of file odbcxx.h.

bool ODBCConnection::is_connected
private

Definition at line 49 of file odbcxx.h.

SQLHDBC ODBCConnection::sql_hdbc
private

Definition at line 51 of file odbcxx.h.

SQLHENV ODBCConnection::sql_henv
private

Definition at line 50 of file odbcxx.h.

std::string ODBCConnection::username
private

Definition at line 48 of file odbcxx.h.


The documentation for this class was generated from the following file: