artefaktur
software engineer &        architecture

 
 
 
 

class ODBCHandle

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::odbc::ODBCHandle Class Reference

#include <ODBCHandle.h>

Inheritance diagram for acdk::sql::odbc::ODBCHandle:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 ODBCHandle (SQLSMALLINT htype)
 ~ODBCHandle ()
RODBCHandle init (INP(RODBCHandle) prnt)
void deinit ()
SQLHANDLE _getSQLHandle ()
SQLSMALLINT _getSQLHType ()
void _setSQLFlag (SQLUINTEGER key, SQLUINTEGER val)
::acdk::sql::RSQLException _getExceptions ()
::acdk::sql::RSQLWarning _getWarnings ()
void _clearExceptions ()
void _clearWarnings ()
void _addException (INP(::acdk::sql::RSQLException) excpt)
void _addException (INP(RString) msg)
void _addException (char *msg)
void _addWarning (INP(::acdk::sql::RSQLWarning) warng)
void _addWarning (INP(RString) msg)
void _addWarning (char *msg)
int _chkSQLrcode (SQLRETURN err, char *fnam, char *file, int line)
bool getReturnCode (int &val)
bool getCursorRowCount (int &val)
RString getDynamicFunction ()
bool getDynamicFunctionCode (int &val)
bool getRowCount (int &val)
bool getNumberRecords (int &val)
RODBCStatusRecordArray getStatusRecords ()

Private Member Functions

void _getSQLdiag (SQLRETURN err, char *file, int line)
void _getallSQLdiags (const char *errstr, char *file, int line)
bool _getsingleSQLdiag (SQLSMALLINT diagRec, SQLSMALLINT diagID, SQLPOINTER diagPtr, SQLSMALLINT diagSize, SQLSMALLINT &diagLen, const char *errstr)

Private Attributes

SQLHANDLE _handle
SQLSMALLINT _htype
bool _initialized
::acdk::sql::RSQLException _excpt
::acdk::sql::RSQLWarning _warng
int _returnCode
bool _returnCodeValid
int _numberRecords
bool _numberRecordsValid
int _cursorRowCount
bool _cursorRowCountValid
int _rowCount
bool _rowCountValid
RString _dynamicFunction
int _dynamicFunctionCode
bool _dynamicFunctionCodeValid
RODBCStatusRecordArray _statusRecords

Constructor & Destructor Documentation

acdk::sql::odbc::ODBCHandle::ODBCHandle SQLSMALLINT  htype  ) 
 

acdk::sql::odbc::ODBCHandle::~ODBCHandle  ) 
 


Member Function Documentation

void acdk::sql::odbc::ODBCHandle::_addException char *  msg  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_addException INP(RString msg  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_addException INP(::acdk::sql::RSQLException excpt  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_addWarning char *  msg  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_addWarning INP(RString msg  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_addWarning INP(::acdk::sql::RSQLWarning warng  )  [inline]
 

int acdk::sql::odbc::ODBCHandle::_chkSQLrcode SQLRETURN  err,
char *  fnam,
char *  file,
int  line
 

void acdk::sql::odbc::ODBCHandle::_clearExceptions  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_clearWarnings  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_getallSQLdiags const char *  errstr,
char *  file,
int  line
[private]
 

::acdk::sql::RSQLException acdk::sql::odbc::ODBCHandle::_getExceptions  )  [inline]
 

bool acdk::sql::odbc::ODBCHandle::_getsingleSQLdiag SQLSMALLINT  diagRec,
SQLSMALLINT  diagID,
SQLPOINTER  diagPtr,
SQLSMALLINT  diagSize,
SQLSMALLINT &  diagLen,
const char *  errstr
[private]
 

void acdk::sql::odbc::ODBCHandle::_getSQLdiag SQLRETURN  err,
char *  file,
int  line
[private]
 

SQLHANDLE acdk::sql::odbc::ODBCHandle::_getSQLHandle  )  [inline]
 

SQLSMALLINT acdk::sql::odbc::ODBCHandle::_getSQLHType  )  [inline]
 

::acdk::sql::RSQLWarning acdk::sql::odbc::ODBCHandle::_getWarnings  )  [inline]
 

void acdk::sql::odbc::ODBCHandle::_setSQLFlag SQLUINTEGER  key,
SQLUINTEGER  val
 

void acdk::sql::odbc::ODBCHandle::deinit  ) 
 

bool acdk::sql::odbc::ODBCHandle::getCursorRowCount int &  val  )  [inline]
 

RString acdk::sql::odbc::ODBCHandle::getDynamicFunction  )  [inline]
 

bool acdk::sql::odbc::ODBCHandle::getDynamicFunctionCode int &  val  )  [inline]
 

bool acdk::sql::odbc::ODBCHandle::getNumberRecords int &  val  )  [inline]
 

bool acdk::sql::odbc::ODBCHandle::getReturnCode int &  val  )  [inline]
 

bool acdk::sql::odbc::ODBCHandle::getRowCount int &  val  )  [inline]
 

RODBCStatusRecordArray acdk::sql::odbc::ODBCHandle::getStatusRecords  )  [inline]
 

RODBCHandle acdk::sql::odbc::ODBCHandle::init INP(RODBCHandle prnt  ) 
 


Member Data Documentation

int acdk::sql::odbc::ODBCHandle::_cursorRowCount [private]
 

bool acdk::sql::odbc::ODBCHandle::_cursorRowCountValid [private]
 

RString acdk::sql::odbc::ODBCHandle::_dynamicFunction [private]
 

int acdk::sql::odbc::ODBCHandle::_dynamicFunctionCode [private]
 

bool acdk::sql::odbc::ODBCHandle::_dynamicFunctionCodeValid [private]
 

::acdk::sql::RSQLException acdk::sql::odbc::ODBCHandle::_excpt [private]
 

SQLHANDLE acdk::sql::odbc::ODBCHandle::_handle [private]
 

SQLSMALLINT acdk::sql::odbc::ODBCHandle::_htype [private]
 

bool acdk::sql::odbc::ODBCHandle::_initialized [private]
 

int acdk::sql::odbc::ODBCHandle::_numberRecords [private]
 

bool acdk::sql::odbc::ODBCHandle::_numberRecordsValid [private]
 

int acdk::sql::odbc::ODBCHandle::_returnCode [private]
 

bool acdk::sql::odbc::ODBCHandle::_returnCodeValid [private]
 

int acdk::sql::odbc::ODBCHandle::_rowCount [private]
 

bool acdk::sql::odbc::ODBCHandle::_rowCountValid [private]
 

RODBCStatusRecordArray acdk::sql::odbc::ODBCHandle::_statusRecords [private]
 

::acdk::sql::RSQLWarning acdk::sql::odbc::ODBCHandle::_warng [private]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer