#include "TOracleStatement.h"#include "TOracleServer.h"#include "TDataType.h"#include <stdlib.h>Go to the source code of this file.
Defines | |
| #define | CheckStatement(method, res) |
| #define | CheckSetPar(method) |
| #define | CheckGetField(method, defres) |
Functions | |
| ClassImp (TOracleStatement) TOracleStatement | |
| #define CheckGetField | ( | method, | |||
| defres | ) |
Value:
{ \
ClearError(); \
if (!IsResultSet()) { \
SetError(-1,"There is no result set for statement", method); \
return defres; \
} \
if ((npar<0) || (npar>=fBufferSize)) { \
TString errmsg("Invalid parameter number "); \
errmsg+= npar; \
SetError(-1,errmsg.Data(),method); \
return defres; \
} \
}
Definition at line 113 of file TOracleStatement.cxx.
Referenced by TOracleStatement::GetBinary(), TOracleStatement::GetDatime(), TOracleStatement::GetDouble(), TOracleStatement::GetFieldName(), TOracleStatement::GetInt(), TOracleStatement::GetLong(), TOracleStatement::GetLong64(), TOracleStatement::GetString(), TOracleStatement::GetTimestamp(), TOracleStatement::GetUInt(), TOracleStatement::GetULong64(), TOracleStatement::GetVDouble(), TOracleStatement::GetVInt(), TOracleStatement::GetVLong(), TOracleStatement::GetVLong64(), TOracleStatement::GetVUInt(), TOracleStatement::GetVULong64(), and TOracleStatement::IsNull().
| #define CheckSetPar | ( | method | ) |
Value:
{ \
CheckStatement(method, kFALSE); \
if (!IsParSettMode()) { \
SetError(-1,"Parameters cannot be set for this statement", method); \
return kFALSE; \
} \
if (npar<0) { \
TString errmsg("Invalid parameter number "); \
errmsg+= npar; \
SetError(-1,errmsg.Data(),method); \
return kFALSE; \
} \
}
Definition at line 98 of file TOracleStatement.cxx.
Referenced by TOracleStatement::SetBinary(), TOracleStatement::SetDate(), TOracleStatement::SetDatime(), TOracleStatement::SetDouble(), TOracleStatement::SetInt(), TOracleStatement::SetLong(), TOracleStatement::SetLong64(), TOracleStatement::SetNull(), TOracleStatement::SetString(), TOracleStatement::SetTime(), TOracleStatement::SetTimestamp(), TOracleStatement::SetUInt(), TOracleStatement::SetULong64(), TOracleStatement::SetVDouble(), TOracleStatement::SetVInt(), TOracleStatement::SetVLong(), TOracleStatement::SetVLong64(), TOracleStatement::SetVUInt(), and TOracleStatement::SetVULong64().
Value:
{ \
ClearError(); \
if (fStmt==0) { \
SetError(-1,"Statement is not correctly initialized",method); \
return res; \
} \
}
Definition at line 88 of file TOracleStatement.cxx.
Referenced by TOracleStatement::GetNumAffectedRows(), TOracleStatement::GetNumParameters(), TOracleStatement::NextIteration(), TOracleStatement::Process(), TOracleStatement::SetMaxFieldSize(), and TOracleStatement::StoreResult().
| ClassImp | ( | TOracleStatement | ) |
Definition at line 26 of file TOracleStatement.cxx.
1.5.1