DCL 3.7.4
Loading...
Searching...
No Matches
ODBCParam.cpp File Reference
#include <dcl/Config.h>
#include <string.h>
#include <stdlib.h>
#include <sql.h>
#include <sqlext.h>
#include <msodbcsql.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/SQLCore.h>
#include <dcl/Numeric.h>
#include <dcl/InputStream.h>
#include <dcl/Charset.h>
#include "ODBCConnection.h"
#include "ODBCQuery.h"
#include "ODBCData.h"
#include "ODBCParam.h"

Go to the source code of this file.

Macros

#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_MSG(_msg)
#define __SET_ERROR_HANDLE(_rc, _htype, _handle)
#define __ABS(n)

Functions

 IMPLEMENT_CLASSINFO (ODBCParam, SQL::Param) ODBCParam

Macro Definition Documentation

◆ __ABS

#define __ABS ( n)
Value:
(n < 0) ? -n : n

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 38 of file ODBCParam.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 39 of file ODBCParam.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 40 of file ODBCParam.cpp.

◆ __DCL_TRACE3_N

#define __DCL_TRACE3_N ( fmt,
arg1,
arg2,
arg3 )

Definition at line 41 of file ODBCParam.cpp.

◆ __DCL_TRACE4_N

#define __DCL_TRACE4_N ( fmt,
arg1,
arg2,
arg3,
arg4 )

Definition at line 42 of file ODBCParam.cpp.

◆ __SET_ERROR

#define __SET_ERROR ( _error)
Value:
connection()->setErrorStatus(_error, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 50 of file ODBCParam.cpp.

50#define __SET_ERROR(_error) \
51 connection()->setErrorStatus(_error, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_HANDLE

#define __SET_ERROR_HANDLE ( _rc,
_htype,
_handle )
Value:
conn()->setErrorHandle(_rc, _htype, _handle, __THIS_FILE__, __LINE__)

Definition at line 54 of file ODBCParam.cpp.

54#define __SET_ERROR_HANDLE(_rc, _htype, _handle) \
55 conn()->setErrorHandle(_rc, _htype, _handle, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

#define __SET_ERROR_MSG ( _msg)
Value:
conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

Definition at line 52 of file ODBCParam.cpp.

52#define __SET_ERROR_MSG(_msg) \
53 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 30 of file ODBCParam.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( ODBCParam ,
SQL::Param  )

Definition at line 57 of file ODBCParam.cpp.

60 : Param(NULL)
61{
62 __val = NULL;
63 __outputType = SQL::typeUnknown;
64}
#define NULL
Definition Config.h:312
@ typeUnknown
Definition SQLCore.h:60