DCL 3.7.4
Loading...
Searching...
No Matches
PqField.cpp File Reference
#include <dcl/Config.h>
#include <errno.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <libpq-fe.h>
#include <catalog/pg_type_d.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/SQLCore.h>
#include <dcl/OutputStream.h>
#include <dcl/Charset.h>
#include "PqConnection.h"
#include "PqQuery.h"
#include "PqField.h"
#include "PqTypes.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 __DCL_TRACE5_N(fmt, arg1, arg2, arg3, arg4, arg5)
#define __DCL_TRACE6_N(fmt, arg1, arg2, arg3, arg4, arg5, arg6)
#define __SET_ERROR(_error)
#define __SET_ERROR_MSG(_message)
#define __UNNEED__   0

Functions

 IMPLEMENT_CLASSINFO (PqField, SQL::Field) PqField

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 42 of file PqField.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 43 of file PqField.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 44 of file PqField.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 45 of file PqField.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 46 of file PqField.cpp.

◆ __DCL_TRACE5_N

#define __DCL_TRACE5_N ( fmt,
arg1,
arg2,
arg3,
arg4,
arg5 )

Definition at line 47 of file PqField.cpp.

◆ __DCL_TRACE6_N

#define __DCL_TRACE6_N ( fmt,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6 )

Definition at line 48 of file PqField.cpp.

◆ __SET_ERROR

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

Definition at line 56 of file PqField.cpp.

56#define __SET_ERROR(_error) \
57 connection()->setErrorStatus(_error, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

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

Definition at line 58 of file PqField.cpp.

58#define __SET_ERROR_MSG(_message) \
59 conn()->setErrorMessage(_message, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 32 of file PqField.cpp.

◆ __UNNEED__

#define __UNNEED__   0

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( PqField ,
SQL::Field  )

Definition at line 61 of file PqField.cpp.

64 : Field(NULL)
65{
66 __index = -1;
67 __type = -1;
68 __size = 0;
69 __format = 0;
70 __maxDataSize = 0;
71}
#define NULL
Definition Config.h:312