DCL 3.7.4
Loading...
Searching...
No Matches
IFXConnection.cpp File Reference
#include <dcl/Config.h>
#include <sqlhdr.h>
#include <sqliapi.h>
#include <sqlstype.h>
#include <ctype.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/Numeric.h>
#include <dcl/Regex.h>
#include <dcl/SQLCore.h>
#include "IFXConnection.h"
#include "IFXQuery.h"
#include "IFXField.h"

Go to the source code of this file.

Classes

struct  STMT_PATTERN

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_HANDLE(_SQLCODE)
#define __SET_ERROR_MSG(_message)

Enumerations

enum  StmtType { StmtOther , StmtTransBegin , StmtTransEnd , StmtDatabase }

Functions

 IMPLEMENT_CLASSINFO (IFXConnection, SQL::Connection) IFXConnection

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 34 of file IFXConnection.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 35 of file IFXConnection.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 36 of file IFXConnection.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 37 of file IFXConnection.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 38 of file IFXConnection.cpp.

◆ __SET_ERROR

#define __SET_ERROR ( _error)
Value:
setErrorHandle(_error, 0L, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 46 of file IFXConnection.cpp.

46#define __SET_ERROR(_error) \
47 setErrorHandle(_error, 0L, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_HANDLE

#define __SET_ERROR_HANDLE ( _SQLCODE)
Value:
setErrorHandle(SQL::eServerError, _SQLCODE, __THIS_FILE__, __LINE__)
@ eServerError
Definition SQLCore.h:21

Definition at line 48 of file IFXConnection.cpp.

48#define __SET_ERROR_HANDLE(_SQLCODE) \
49 setErrorHandle(SQL::eServerError, _SQLCODE, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

#define __SET_ERROR_MSG ( _message)
Value:
setErrorMessage(_message, __THIS_FILE__, __LINE__)

Definition at line 50 of file IFXConnection.cpp.

50#define __SET_ERROR_MSG(_message) \
51 setErrorMessage(_message, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 26 of file IFXConnection.cpp.

Enumeration Type Documentation

◆ StmtType

enum StmtType
Enumerator
StmtOther 
StmtTransBegin 
StmtTransEnd 
StmtDatabase 

Definition at line 234 of file IFXConnection.cpp.

234 {
235 StmtOther,
239};
@ StmtTransEnd
@ StmtOther
@ StmtTransBegin
@ StmtDatabase

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( IFXConnection ,
SQL::Connection  )

Definition at line 53 of file IFXConnection.cpp.

56 : Connection(_serverTitle)
57{
58}