DCL 3.7.4
Loading...
Searching...
No Matches
OciParam.cpp File Reference
#include <dcl/Config.h>
#include <oci.h>
#include <stdlib.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/Numeric.h>
#include <dcl/InputStream.h>
#include <dcl/OutputStream.h>
#include <dcl/BytesOutputStream.h>
#include <dcl/Charset.h>
#include <dcl/SQLCore.h>
#include "OciConnection.h"
#include "OciQuery.h"
#include "OciParam.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_HANDLE(_error, _status, _OCIError)
#define __SET_ERROR_MSG(_msg)

Functions

 IMPLEMENT_CLASSINFO (OciParam, SQL::Param) OciParam
int16_t __ABS (int16_t n)

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 34 of file OciParam.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 35 of file OciParam.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 36 of file OciParam.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 37 of file OciParam.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 38 of file OciParam.cpp.

◆ __SET_ERROR_HANDLE

#define __SET_ERROR_HANDLE ( _error,
_status,
_OCIError )
Value:
conn()->setErrorHandle(_error, _status, _OCIError, \
true, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 46 of file OciParam.cpp.

46#define __SET_ERROR_HANDLE(_error, _status, _OCIError) \
47 conn()->setErrorHandle(_error, _status, _OCIError, \
48 true, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

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

Definition at line 49 of file OciParam.cpp.

49#define __SET_ERROR_MSG(_msg) \
50 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 26 of file OciParam.cpp.

Function Documentation

◆ __ABS()

int16_t __ABS ( int16_t n)
inline

Definition at line 658 of file OciParam.cpp.

659{
660 return n < 0 ? -n : n;
661}

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( OciParam ,
SQL::Param  )

Definition at line 52 of file OciParam.cpp.

55 : Param(NULL)
56{
57 __buffer = NULL;
58 __inputIndicator = -1;
59 __inputStream = NULL;
60 __inputValue = NULL;
61}
#define NULL
Definition Config.h:312