#include <ResultHandle.h>
|
| | ResultHandle () |
| virtual | ~ResultHandle () |
| virtual unsigned int | getNRows () const =0 |
| | Return number of rows in results.
|
| virtual bool | getRow (std::vector< std::string > &fields, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowCon (char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowPtrs (std::vector< std::string * > &fields, unsigned int i=0, bool clear=true)=0 |
| | ResultHandle () |
| virtual | ~ResultHandle () |
| virtual unsigned int | getNRows () const =0 |
| | Return number of rows in results.
|
| virtual bool | getRow (std::vector< std::string > &fields, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowCon (char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowPtrs (std::vector< std::string * > &fields, unsigned int i=0, bool clear=true)=0 |
| | ResultHandle () |
| virtual | ~ResultHandle () |
| virtual unsigned int | getNRows () const =0 |
| | Return number of rows in results.
|
| virtual bool | getRow (std::vector< std::string > &fields, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowCon (char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true)=0 |
| virtual bool | getRowPtrs (std::vector< std::string * > &fields, unsigned int i=0, bool clear=true)=0 |
Pure virtual class representing results of a query. Each concrete implementation of Connection will have an associated concrete implementation of ResultHandle
Definition at line 15 of file Calibration/rdbModel/include/rdbModel/Db/ResultHandle.h.
◆ ResultHandle() [1/3]
| rdbModel::ResultHandle::ResultHandle |
( |
| ) |
|
|
inline |
◆ ~ResultHandle() [1/3]
| virtual rdbModel::ResultHandle::~ResultHandle |
( |
| ) |
|
|
inlinevirtual |
◆ ResultHandle() [2/3]
| rdbModel::ResultHandle::ResultHandle |
( |
| ) |
|
|
inline |
◆ ~ResultHandle() [2/3]
| virtual rdbModel::ResultHandle::~ResultHandle |
( |
| ) |
|
|
inlinevirtual |
◆ ResultHandle() [3/3]
| rdbModel::ResultHandle::ResultHandle |
( |
| ) |
|
|
inline |
◆ ~ResultHandle() [3/3]
| virtual rdbModel::ResultHandle::~ResultHandle |
( |
| ) |
|
|
inlinevirtual |
◆ cleanFieldPtrs() [1/3]
| void rdbModel::ResultHandle::cleanFieldPtrs |
( |
std::vector< std::string * > & | fields | ) |
|
|
static |
◆ cleanFieldPtrs() [2/3]
| void rdbModel::ResultHandle::cleanFieldPtrs |
( |
std::vector< std::string * > & | fields | ) |
|
|
static |
◆ cleanFieldPtrs() [3/3]
| void rdbModel::ResultHandle::cleanFieldPtrs |
( |
std::vector< std::string * > & | fields | ) |
|
|
static |
◆ getNRows() [1/3]
| virtual unsigned int rdbModel::ResultHandle::getNRows |
( |
| ) |
const |
|
pure virtual |
◆ getNRows() [2/3]
| virtual unsigned int rdbModel::ResultHandle::getNRows |
( |
| ) |
const |
|
pure virtual |
◆ getNRows() [3/3]
| virtual unsigned int rdbModel::ResultHandle::getNRows |
( |
| ) |
const |
|
pure virtual |
◆ getRow() [1/3]
| virtual bool rdbModel::ResultHandle::getRow |
( |
std::vector< std::string > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRow() [2/3]
| virtual bool rdbModel::ResultHandle::getRow |
( |
std::vector< std::string > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRow() [3/3]
| virtual bool rdbModel::ResultHandle::getRow |
( |
std::vector< std::string > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRowCon() [1/3]
| virtual bool rdbModel::ResultHandle::getRowCon |
( |
char * | par, |
|
|
unsigned long * | treesize, |
|
|
unsigned int * | runFrm, |
|
|
unsigned int * | runTo, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRowCon() [2/3]
| virtual bool rdbModel::ResultHandle::getRowCon |
( |
char * | par, |
|
|
unsigned long * | treesize, |
|
|
unsigned int * | runFrm, |
|
|
unsigned int * | runTo, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRowCon() [3/3]
| virtual bool rdbModel::ResultHandle::getRowCon |
( |
char * | par, |
|
|
unsigned long * | treesize, |
|
|
unsigned int * | runFrm, |
|
|
unsigned int * | runTo, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRowPtrs() [1/3]
| virtual bool rdbModel::ResultHandle::getRowPtrs |
( |
std::vector< std::string * > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
◆ getRowPtrs() [2/3]
| virtual bool rdbModel::ResultHandle::getRowPtrs |
( |
std::vector< std::string * > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
Get array of field values for ith row of result set. If a field value is NULL, return a zero ptr for that element of the array
--> It is the responsibility of the caller to delete the strings containing the field values. See service cleanFieldPtrs.
Implemented in rdbModel::MysqlResults, rdbModel::MysqlResults, and rdbModel::MysqlResults.
◆ getRowPtrs() [3/3]
| virtual bool rdbModel::ResultHandle::getRowPtrs |
( |
std::vector< std::string * > & | fields, |
|
|
unsigned int | i = 0, |
|
|
bool | clear = true ) |
|
pure virtual |
Get array of field values for ith row of result set. If a field value is NULL, return a zero ptr for that element of the array
--> It is the responsibility of the caller to delete the strings containing the field values. See service cleanFieldPtrs.
Implemented in rdbModel::MysqlResults, rdbModel::MysqlResults, and rdbModel::MysqlResults.
The documentation for this class was generated from the following files: