DCL 3.7.4
Loading...
Searching...
No Matches
SqConnection.cpp File Reference
#include <dcl/Config.h>
#include <stdlib.h>
#include <string.h>
#include <sqlite3.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/Numeric.h>
#include <dcl/Regex.h>
#include <dcl/SQLCore.h>
#include "SqConnection.h"
#include "SqQuery.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_MSG(_message)

Enumerations

enum  StmtType { StmtOther , StmtTransBegin , StmtTransEnd }

Functions

 IMPLEMENT_CLASSINFO (SqConnection, SQL::Connection) SqConnection

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 30 of file SqConnection.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 31 of file SqConnection.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 32 of file SqConnection.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 33 of file SqConnection.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 34 of file SqConnection.cpp.

◆ __SET_ERROR

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

Definition at line 42 of file SqConnection.cpp.

42#define __SET_ERROR(_error) \
43 setErrorStatus(_error, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

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

Definition at line 44 of file SqConnection.cpp.

44#define __SET_ERROR_MSG(_message) \
45 setErrorMessage(_message, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 22 of file SqConnection.cpp.

Enumeration Type Documentation

◆ StmtType

enum StmtType
Enumerator
StmtOther 
StmtTransBegin 
StmtTransEnd 

Definition at line 177 of file SqConnection.cpp.

177 {
178 StmtOther,
181};
@ StmtTransEnd
@ StmtOther
@ StmtTransBegin

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( SqConnection ,
SQL::Connection  )

Definition at line 47 of file SqConnection.cpp.

50 : Connection(pszServerTitle)
51{
52 Connection::__canTransact = true;
53 __conn = NULL;
54}
#define NULL
Definition Config.h:312