#include <Statement.h>
Inheritance diagram for DmlStatement:
Public Member Functions | |
int | noOfParamFields () |
virtual DbRetVal | getParamFldInfo (int paramPos, FieldInfo *&info)=0 |
virtual DbRetVal | execute (int &rowsAffected)=0 |
virtual DbRetVal | setParam (int paramNo, void *value)=0 |
virtual DbRetVal | setShortParam (int paramNo, short value)=0 |
virtual DbRetVal | setIntParam (int paramNo, int value)=0 |
virtual DbRetVal | setLongParam (int paramNo, long value)=0 |
virtual DbRetVal | setLongLongParam (int paramNo, long long value)=0 |
virtual DbRetVal | setByteIntParam (int paramNo, ByteInt value)=0 |
virtual DbRetVal | setFloatParam (int paramNo, float value)=0 |
virtual DbRetVal | setDoubleParam (int paramNo, double value)=0 |
virtual DbRetVal | setStringParam (int paramNo, char *value)=0 |
virtual DbRetVal | setDateParam (int paramNo, Date value)=0 |
virtual DbRetVal | setTimeParam (int paramNo, Time value)=0 |
virtual DbRetVal | setTimeStampParam (int paramNo, TimeStamp value)=0 |
virtual DbRetVal | resolve ()=0 |
virtual | ~DmlStatement () |
int | noOfParamFields () |
virtual DbRetVal | getParamFldInfo (int paramPos, FieldInfo *&info)=0 |
virtual DbRetVal | execute (int &rowsAffected)=0 |
virtual DbRetVal | setParam (int paramNo, void *value)=0 |
virtual DbRetVal | setShortParam (int paramNo, short value)=0 |
virtual DbRetVal | setIntParam (int paramNo, int value)=0 |
virtual DbRetVal | setLongParam (int paramNo, long value)=0 |
virtual DbRetVal | setLongLongParam (int paramNo, long long value)=0 |
virtual DbRetVal | setByteIntParam (int paramNo, ByteInt value)=0 |
virtual DbRetVal | setFloatParam (int paramNo, float value)=0 |
virtual DbRetVal | setDoubleParam (int paramNo, double value)=0 |
virtual DbRetVal | setStringParam (int paramNo, char *value)=0 |
virtual DbRetVal | setDateParam (int paramNo, Date value)=0 |
virtual DbRetVal | setTimeParam (int paramNo, Time value)=0 |
virtual DbRetVal | setTimeStampParam (int paramNo, TimeStamp value)=0 |
virtual DbRetVal | resolve ()=0 |
virtual void * | getParamValuePtr (int pos)=0 |
virtual | ~DmlStatement () |
Protected Attributes | |
Table * | table |
void ** | params |
char ** | paramValues |
int | totalParams |
Table * | table |
void ** | params |
char ** | paramValues |
Definition at line 55 of file Statement.h.
virtual DmlStatement::~DmlStatement | ( | ) | [inline, virtual] |
virtual DmlStatement::~DmlStatement | ( | ) | [inline, virtual] |
virtual DbRetVal DmlStatement::execute | ( | int & | rowsAffected | ) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::execute | ( | int & | rowsAffected | ) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual void* DmlStatement::getParamValuePtr | ( | int | pos | ) | [pure virtual] |
Implemented in InsStatement, SelStatement, UpdStatement, and DelStatement.
Referenced by SqlStatement::getParamValuePtr().
Here is the caller graph for this function:
int DmlStatement::noOfParamFields | ( | ) | [inline, virtual] |
Reimplemented from Statement.
Definition at line 68 of file Statement.h.
References totalParams.
00068 { return totalParams; }
int DmlStatement::noOfParamFields | ( | ) | [inline, virtual] |
Reimplemented from Statement.
Definition at line 67 of file Statement.h.
References totalParams.
00067 { return totalParams; }
virtual DbRetVal DmlStatement::resolve | ( | ) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::resolve | ( | ) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setDoubleParam | ( | int | paramNo, | |
double | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setDoubleParam | ( | int | paramNo, | |
double | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setFloatParam | ( | int | paramNo, | |
float | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setFloatParam | ( | int | paramNo, | |
float | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setIntParam | ( | int | paramNo, | |
int | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setIntParam | ( | int | paramNo, | |
int | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setLongLongParam | ( | int | paramNo, | |
long long | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setLongLongParam | ( | int | paramNo, | |
long long | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setLongParam | ( | int | paramNo, | |
long | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setLongParam | ( | int | paramNo, | |
long | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setParam | ( | int | paramNo, | |
void * | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setParam | ( | int | paramNo, | |
void * | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setShortParam | ( | int | paramNo, | |
short | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setShortParam | ( | int | paramNo, | |
short | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setStringParam | ( | int | paramNo, | |
char * | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
virtual DbRetVal DmlStatement::setStringParam | ( | int | paramNo, | |
char * | value | |||
) | [pure virtual] |
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
Implements Statement.
Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.
void** DmlStatement::params [protected] |
Definition at line 61 of file Statement.h.
void** DmlStatement::params [protected] |
Definition at line 60 of file Statement.h.
Referenced by DelStatement::DelStatement(), UpdStatement::execute(), SelStatement::execute(), InsStatement::execute(), DelStatement::execute(), UpdStatement::getParamFldInfo(), SelStatement::getParamFldInfo(), InsStatement::getParamFldInfo(), DelStatement::getParamFldInfo(), UpdStatement::getParamValuePtr(), SelStatement::getParamValuePtr(), InsStatement::getParamValuePtr(), DelStatement::getParamValuePtr(), InsStatement::InsStatement(), InsStatement::resolve(), UpdStatement::resolveForAssignment(), DelStatement::resolveForCondition(), SelStatement::SelStatement(), UpdStatement::setByteIntParam(), SelStatement::setByteIntParam(), InsStatement::setByteIntParam(), DelStatement::setByteIntParam(), UpdStatement::setDateParam(), SelStatement::setDateParam(), InsStatement::setDateParam(), DelStatement::setDateParam(), UpdStatement::setDoubleParam(), SelStatement::setDoubleParam(), InsStatement::setDoubleParam(), DelStatement::setDoubleParam(), UpdStatement::setFloatParam(), SelStatement::setFloatParam(), InsStatement::setFloatParam(), DelStatement::setFloatParam(), UpdStatement::setIntParam(), SelStatement::setIntParam(), InsStatement::setIntParam(), DelStatement::setIntParam(), UpdStatement::setLongLongParam(), SelStatement::setLongLongParam(), InsStatement::setLongLongParam(), DelStatement::setLongLongParam(), UpdStatement::setLongParam(), SelStatement::setLongParam(), InsStatement::setLongParam(), DelStatement::setLongParam(), UpdStatement::setShortParam(), SelStatement::setShortParam(), InsStatement::setShortParam(), DelStatement::setShortParam(), UpdStatement::setStringParam(), SelStatement::setStringParam(), InsStatement::setStringParam(), DelStatement::setStringParam(), UpdStatement::setTimeParam(), SelStatement::setTimeParam(), InsStatement::setTimeParam(), DelStatement::setTimeParam(), UpdStatement::setTimeStampParam(), SelStatement::setTimeStampParam(), InsStatement::setTimeStampParam(), DelStatement::setTimeStampParam(), UpdStatement::UpdStatement(), DelStatement::~DelStatement(), InsStatement::~InsStatement(), SelStatement::~SelStatement(), and UpdStatement::~UpdStatement().
char** DmlStatement::paramValues [protected] |
Definition at line 64 of file Statement.h.
char** DmlStatement::paramValues [protected] |
Definition at line 63 of file Statement.h.
Referenced by DelStatement::DelStatement(), UpdStatement::execute(), SelStatement::execute(), InsStatement::execute(), DelStatement::execute(), InsStatement::InsStatement(), InsStatement::resolve(), UpdStatement::resolveForAssignment(), DelStatement::resolveForCondition(), SelStatement::SelStatement(), UpdStatement::setParam(), SelStatement::setParam(), InsStatement::setParam(), DelStatement::setParam(), UpdStatement::UpdStatement(), DelStatement::~DelStatement(), InsStatement::~InsStatement(), SelStatement::~SelStatement(), and UpdStatement::~UpdStatement().
Table* DmlStatement::table [protected] |
Definition at line 59 of file Statement.h.
Table* DmlStatement::table [protected] |
Definition at line 58 of file Statement.h.
Referenced by SelStatement::close(), DelStatement::DelStatement(), UpdStatement::execute(), SelStatement::execute(), InsStatement::execute(), DelStatement::execute(), SelStatement::fetch(), SelStatement::fetchAndPrint(), SelStatement::getProjFldInfo(), InsStatement::InsStatement(), SelStatement::next(), UpdStatement::resolve(), SelStatement::resolve(), InsStatement::resolve(), DelStatement::resolve(), UpdStatement::resolveForAssignment(), DelStatement::resolveForCondition(), SelStatement::SelStatement(), UpdStatement::UpdStatement(), DelStatement::~DelStatement(), InsStatement::~InsStatement(), SelStatement::~SelStatement(), and UpdStatement::~UpdStatement().
int DmlStatement::totalParams [protected] |
Definition at line 64 of file Statement.h.
Referenced by DelStatement::DelStatement(), UpdStatement::execute(), SelStatement::execute(), InsStatement::execute(), DelStatement::execute(), UpdStatement::getParamFldInfo(), SelStatement::getParamFldInfo(), InsStatement::getParamFldInfo(), DelStatement::getParamFldInfo(), InsStatement::InsStatement(), noOfParamFields(), InsStatement::resolve(), UpdStatement::resolveForAssignment(), DelStatement::resolveForCondition(), SelStatement::SelStatement(), UpdStatement::setByteIntParam(), SelStatement::setByteIntParam(), InsStatement::setByteIntParam(), DelStatement::setByteIntParam(), UpdStatement::setDateParam(), SelStatement::setDateParam(), InsStatement::setDateParam(), DelStatement::setDateParam(), UpdStatement::setDoubleParam(), SelStatement::setDoubleParam(), InsStatement::setDoubleParam(), DelStatement::setDoubleParam(), UpdStatement::setFloatParam(), SelStatement::setFloatParam(), InsStatement::setFloatParam(), DelStatement::setFloatParam(), UpdStatement::setIntParam(), SelStatement::setIntParam(), InsStatement::setIntParam(), DelStatement::setIntParam(), UpdStatement::setLongLongParam(), SelStatement::setLongLongParam(), InsStatement::setLongLongParam(), DelStatement::setLongLongParam(), UpdStatement::setLongParam(), SelStatement::setLongParam(), InsStatement::setLongParam(), DelStatement::setLongParam(), UpdStatement::setParam(), SelStatement::setParam(), InsStatement::setParam(), DelStatement::setParam(), UpdStatement::setShortParam(), SelStatement::setShortParam(), InsStatement::setShortParam(), DelStatement::setShortParam(), UpdStatement::setStringParam(), SelStatement::setStringParam(), InsStatement::setStringParam(), DelStatement::setStringParam(), UpdStatement::setTimeParam(), SelStatement::setTimeParam(), InsStatement::setTimeParam(), DelStatement::setTimeParam(), UpdStatement::setTimeStampParam(), SelStatement::setTimeStampParam(), InsStatement::setTimeStampParam(), DelStatement::setTimeStampParam(), UpdStatement::UpdStatement(), DelStatement::~DelStatement(), InsStatement::~InsStatement(), SelStatement::~SelStatement(), and UpdStatement::~UpdStatement().