Qt 4.8
|
#include <qglobal.h>
#include "qsql_tds.h"
#include <qvariant.h>
#include <qdatetime.h>
#include <qhash.h>
#include <qregexp.h>
#include <qsqlerror.h>
#include <qsqlfield.h>
#include <qsqlindex.h>
#include <qsqlquery.h>
#include <qstringlist.h>
#include <qvector.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | QTDSDriverPrivate |
class | QTDSResultPrivate |
Macros | |
#define | CS_PUBLIC |
#define | Q_USE_SYBASE |
#define | QERRHANDLE EHANDLEFUNC |
#define | QMSGHANDLE MHANDLEFUNC |
#define | QTDSBINARY SYBBINARY |
#define | QTDSBIT SYBBIT |
#define | QTDSCHAR SYBCHAR |
#define | QTDSDATETIME SYBDATETIME |
#define | QTDSDATETIME4 SYBDATETIME4 |
#define | QTDSDATETIME_N SYBDATETIMN |
#define | QTDSDECIMAL SYBDECIMAL |
#define | QTDSDECIMAL_2 55 |
#define | QTDSFLT4 SYBREAL |
#define | QTDSFLT8 SYBFLT8 |
#define | QTDSFLT8_N SYBFLTN |
#define | QTDSIMAGE SYBIMAGE |
#define | QTDSINT1 SYBINT1 |
#define | QTDSINT2 SYBINT2 |
#define | QTDSINT4 SYBINT4 |
#define | QTDSINT4_N SYBINTN |
#define | QTDSMONEY SYBMONEY |
#define | QTDSMONEY4 SYBMONEY4 |
#define | QTDSMONEY_N SYBMONEYN |
#define | QTDSNUMERIC SYBNUMERIC |
#define | QTDSNUMERIC_2 63 |
#define | QTDSTEXT SYBTEXT |
#define | QTDSVARBINARY SYBVARBINARY |
#define | QTDSVARCHAR SYBVARCHAR |
#define | TDS_CURSOR_SIZE 50 |
Typedefs | |
typedef QHash< DBPROCESS *, QTDSResultPrivate * > | QTDSErrorHash |
Functions | |
QVariant::Type | qDecodeTDSType (int type) |
QVariant::Type | qFieldType (QTDSResultPrivate *d, int i) |
static bool | qIsNull (const void *ind) |
QSqlError | qMakeError (const QString &err, QSqlError::ErrorType type, int errNo=-1) |
static int CS_PUBLIC | qTdsErrHandler (DBPROCESS *dbproc, int, int dberr, int, char *dberrstr, char *oserrstr) |
static int CS_PUBLIC | qTdsMsgHandler (DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity, char *msgtext, char *srvname, char *, int line) |
#define CS_PUBLIC |
Definition at line 127 of file qsql_tds.cpp.
#define Q_USE_SYBASE |
Definition at line 48 of file qsql_tds.cpp.
#define QERRHANDLE EHANDLEFUNC |
Definition at line 95 of file qsql_tds.cpp.
Referenced by QTDSDriver::init().
#define QMSGHANDLE MHANDLEFUNC |
Definition at line 94 of file qsql_tds.cpp.
Referenced by QTDSDriver::init().
#define QTDSBINARY SYBBINARY |
Definition at line 115 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSBIT SYBBIT |
Definition at line 114 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSCHAR SYBCHAR |
Definition at line 96 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSDATETIME SYBDATETIME |
Definition at line 98 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSDATETIME4 SYBDATETIME4 |
Definition at line 97 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSDATETIME_N SYBDATETIMN |
Definition at line 99 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSDECIMAL SYBDECIMAL |
Definition at line 100 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSDECIMAL_2 55 |
Definition at line 119 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSFLT4 SYBREAL |
Definition at line 103 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSFLT8 SYBFLT8 |
Definition at line 101 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSFLT8_N SYBFLTN |
Definition at line 102 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSIMAGE SYBIMAGE |
Definition at line 117 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSINT1 SYBINT1 |
Definition at line 104 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSINT2 SYBINT2 |
Definition at line 105 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSINT4 SYBINT4 |
Definition at line 106 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSINT4_N SYBINTN |
Definition at line 107 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSMONEY SYBMONEY |
Definition at line 109 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSMONEY4 SYBMONEY4 |
Definition at line 108 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSMONEY_N SYBMONEYN |
Definition at line 110 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSNUMERIC SYBNUMERIC |
Definition at line 111 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSNUMERIC_2 63 |
Definition at line 120 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSTEXT SYBTEXT |
Definition at line 112 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSVARBINARY SYBVARBINARY |
Definition at line 116 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define QTDSVARCHAR SYBVARCHAR |
Definition at line 113 of file qsql_tds.cpp.
Referenced by qDecodeTDSType().
#define TDS_CURSOR_SIZE 50 |
Definition at line 123 of file qsql_tds.cpp.
typedef QHash<DBPROCESS *, QTDSResultPrivate *> QTDSErrorHash |
Definition at line 163 of file qsql_tds.cpp.
QVariant::Type qDecodeTDSType | ( | int | type | ) |
Definition at line 238 of file qsql_tds.cpp.
Referenced by qFieldType(), QTDSDriver::record(), and QTDSResult::reset().
QVariant::Type qFieldType | ( | QTDSResultPrivate * | d, |
int | i | ||
) |
Definition at line 287 of file qsql_tds.cpp.
|
inlinestatic |
Definition at line 340 of file qsql_tds.cpp.
Referenced by QTDSResult::gotoNext().
QSqlError qMakeError | ( | const QString & | err, |
QSqlError::ErrorType | type, | ||
int | errNo = -1 |
||
) |
Definition at line 130 of file qsql_tds.cpp.
Referenced by QTDSDriver::open(), qTdsErrHandler(), and qTdsMsgHandler().
|
static |
Definition at line 204 of file qsql_tds.cpp.
Referenced by QTDSDriver::init().
|
static |
Definition at line 167 of file qsql_tds.cpp.
Referenced by QTDSDriver::init().