#include <dcl/Config.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <sqlhdr.h>
#include <sqltypes.h>
#include <locator.h>
#include <sqlda.h>
#include <sqlstype.h>
#include <dcl/Object.h>
#include <dcl/OutputStream.h>
#include <dcl/Charset.h>
#include <dcl/SQLCore.h>
#include "IFXConnection.h"
#include "IFXQuery.h"
#include "IFXField.h"
#include "IFXUtils.h"
#include "IFXTypes_.h"
Go to the source code of this file.
|
| #define | __TRACE_THIS 0 |
| #define | __DCL_TRACE0_N(fmt) |
| #define | __DCL_TRACE1_N(fmt, arg) |
| #define | __DCL_TRACE2_N(fmt, arg1, arg2) |
| #define | __DCL_TRACE3_N(fmt, arg1, arg2, arg3) |
| #define | __DCL_TRACE4_N(fmt, arg1, arg2, arg3, arg4) |
| #define | __SET_ERROR(_error) |
| #define | __SET_ERROR_HANDLE(_SQLCODE) |
| #define | __SET_ERROR_MSG(_message) |
| #define | __SQLTYPE_IS(_sqltype) |
| #define | SQLTYPE_NAME(_dataType, name) |
◆ __DCL_TRACE0_N
| #define __DCL_TRACE0_N |
( |
| fmt | ) |
|
◆ __DCL_TRACE1_N
| #define __DCL_TRACE1_N |
( |
| fmt, |
|
|
| arg ) |
◆ __DCL_TRACE2_N
| #define __DCL_TRACE2_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2 ) |
◆ __DCL_TRACE3_N
| #define __DCL_TRACE3_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2, |
|
|
| arg3 ) |
◆ __DCL_TRACE4_N
| #define __DCL_TRACE4_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2, |
|
|
| arg3, |
|
|
| arg4 ) |
◆ __SET_ERROR
| #define __SET_ERROR |
( |
| _error | ) |
|
Value:
Definition at line 49 of file IFXField.cpp.
49#define __SET_ERROR(_error) \
50 conn()->setErrorHandle(_error, 0L, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_HANDLE
| #define __SET_ERROR_HANDLE |
( |
| _SQLCODE | ) |
|
Value:
Definition at line 51 of file IFXField.cpp.
51#define __SET_ERROR_HANDLE(_SQLCODE) \
52 conn()->setErrorHandle(SQL::eServerError, _SQLCODE, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_MSG
| #define __SET_ERROR_MSG |
( |
| _message | ) |
|
Value:
Definition at line 53 of file IFXField.cpp.
53#define __SET_ERROR_MSG(_message) \
54 conn()->setErrorMessage(_message, __THIS_FILE__, __LINE__)
◆ __SQLTYPE_IS
| #define __SQLTYPE_IS |
( |
| _sqltype | ) |
|
Value:((__sqlvar->sqltype & SQLTYPE) == _sqltype)
Definition at line 68 of file IFXField.cpp.
◆ __TRACE_THIS
◆ SQLTYPE_NAME
| #define SQLTYPE_NAME |
( |
| _dataType, |
|
|
| name ) |
Value:case _dataType : return L ## name
Definition at line 302 of file IFXField.cpp.
◆ __dataTypeName()
| const wchar_t * __dataTypeName |
( |
const ifx_sqlvar_t * | _sqlvar | ) |
|
Definition at line 304 of file IFXField.cpp.
305{
306 switch(_sqlvar->sqltype & SQLTYPE) {
340
341 }
342 return L"Unknown Type: Driver is not Support";
343}
#define SQLTYPE_NAME(_dataType, name)
◆ IMPLEMENT_CLASSINFO()
Definition at line 56 of file IFXField.cpp.
60{
62 __indicator = 0;
63
64 __maxDataSize = 0;
65 __dataSize = 0;
66}