DCL 3.7.4
Loading...
Searching...
No Matches
OciData.cpp File Reference
#include <dcl/Config.h>
#include <oci.h>
#include <stdlib.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/Numeric.h>
#include <dcl/BytesOutputStream.h>
#include <dcl/SQLCore.h>
#include "OciConnection.h"
#include "OciQuery.h"
#include "OciData.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)
#define SQLTYPE_NAME(_sqlt, _name)

Functions

size_t __MIN (size_t x, size_t y)

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 30 of file OciData.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 31 of file OciData.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 32 of file OciData.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 33 of file OciData.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 34 of file OciData.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 42 of file OciData.cpp.

42#define __SET_ERROR_HANDLE(_error, _status, _OCIError) \
43 conn()->setErrorHandle(_error, _status, _OCIError, \
44 true, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

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

Definition at line 45 of file OciData.cpp.

45#define __SET_ERROR_MSG(_msg) \
46 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 22 of file OciData.cpp.

◆ SQLTYPE_NAME

#define SQLTYPE_NAME ( _sqlt,
_name )
Value:
case _sqlt : return L ## _name

Definition at line 922 of file OciData.cpp.

Function Documentation

◆ __MIN()

size_t __MIN ( size_t x,
size_t y )
inline

Definition at line 582 of file OciData.cpp.

583{
584 return x < y ? x : y;
585}