DmlStatement Class Reference

#include <Statement.h>

Inheritance diagram for DmlStatement:

Inheritance graph
[legend]
Collaboration diagram for DmlStatement:

Collaboration graph
[legend]

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

Tabletable
void ** params
char ** paramValues
int totalParams
Tabletable
void ** params
char ** paramValues

Detailed Description

Definition at line 55 of file Statement.h.


Constructor & Destructor Documentation

virtual DmlStatement::~DmlStatement (  )  [inline, virtual]

Definition at line 87 of file Statement.h.

00087 {}

virtual DmlStatement::~DmlStatement (  )  [inline, virtual]

Definition at line 89 of file Statement.h.

00089 {}


Member Function Documentation

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.

virtual DbRetVal DmlStatement::getParamFldInfo ( int  paramPos,
FieldInfo *&  info 
) [pure virtual]

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::getParamFldInfo ( int  paramPos,
FieldInfo *&  info 
) [pure virtual]

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.

virtual DbRetVal DmlStatement::setByteIntParam ( int  paramNo,
ByteInt  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setByteIntParam ( int  paramNo,
ByteInt  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setDateParam ( int  paramNo,
Date  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setDateParam ( int  paramNo,
Date  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::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.

virtual DbRetVal DmlStatement::setTimeParam ( int  paramNo,
Time  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setTimeParam ( int  paramNo,
Time  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setTimeStampParam ( int  paramNo,
TimeStamp  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.

virtual DbRetVal DmlStatement::setTimeStampParam ( int  paramNo,
TimeStamp  value 
) [pure virtual]

Implements Statement.

Implemented in InsStatement, SelStatement, UpdStatement, DelStatement, InsStatement, SelStatement, UpdStatement, and DelStatement.


Field Documentation

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().


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 22:47:34 2008 for csql by  doxygen 1.4.7