#include <dcl/Config.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ibase.h>
#include <dcl/Object.h>
#include <dcl/Numeric.h>
#include <dcl/BytesOutputStream.h>
#include <dcl/Charset.h>
#include <dcl/SQLCore.h>
#include "IBConnection.h"
#include "IBQuery.h"
#include "IBField.h"
Go to the source code of this file.
◆ __SQLTYPE_IS
| #define __SQLTYPE_IS |
( |
| __sqltype | ) |
|
Value:((__sqlvar->sqltype & ~1) == __sqltype)
◆ SQLTYPE_NAME
| #define SQLTYPE_NAME |
( |
| _dataType, |
|
|
| name ) |
Value:case _dataType : return L ## name
Definition at line 209 of file IBField.cpp.
◆ __ABS()
Definition at line 1092 of file IBField.cpp.
1092 {
1093 return n < 0 ? -
n :
n;
1094}
void CharsetConvertException *size_t n
◆ __dataTypeName()
| const wchar_t * __dataTypeName |
( |
const XSQLVAR * | _sqlvar | ) |
|
Definition at line 211 of file IBField.cpp.
212{
213 switch(_sqlvar->sqltype & ~1) {
214 case SQL_SHORT:
215 case SQL_LONG:
216 case SQL_INT64: {
217 if (_sqlvar->sqlscale) {
218 switch (_sqlvar->sqltype & ~1) {
222 }
223 }
224 else {
225 switch (_sqlvar->sqltype & ~1) {
229 }
230 }
231 }
237#if defined(FIREBIRD_IBASE_H) && FB_API_VER >= 40
239 SQLTYPE_NAME(SQL_TIMESTAMP_TZ_EX,
"TIMESTAMP WITH TIMEZONE");
240#endif
243 case SQL_BLOB: {
244 if (_sqlvar->sqlsubtype == 1)
245 return L"BLOB(TEXT)";
246 else
247 return L"BLOB";
248 }
249 }
250 return L"Unknown Type: Driver is not Support";
251}
#define SQLTYPE_NAME(_dataType, name)
◆ __MIN()
| size_t __MIN |
( |
size_t | x, |
|
|
size_t | y ) |
|
inline |
Definition at line 1287 of file IBField.cpp.
1288{
1289 return x < y ? x : y;
1290}
◆ IMPLEMENT_CLASSINFO()
Definition at line 29 of file IBField.cpp.
35{
37 __indicator = 0;
38
39
40 __maxDataSize = 0;
41 __dataSize = 0;
42}