|
|
|
|
|
|
|
|
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:
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 |
) |
|
|
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::_addWarning |
( |
char * |
msg |
) |
[inline] |
|
| void acdk::sql::odbc::ODBCHandle::_addWarning |
( |
INP(RString) |
msg |
) |
[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] |
|
| 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] |
|
| 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] |
|
Member Data Documentation
|
|