BOSS 7.0.4
BESIII Offline Software System
|
#include <MysqlResults.h>
Public Member Functions | |
virtual | ~MysqlResults () |
virtual unsigned int | getNRows () const |
Return number of rows in results. | |
virtual bool | getRow (std::vector< std::string > &fields, unsigned int i=0, bool clear=true) |
virtual bool | getRowPtrs (std::vector< std::string * > &fieldPtrs, unsigned int i=0, bool clear=true) |
virtual bool | getRowCon (char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true) |
virtual | ~MysqlResults () |
virtual unsigned int | getNRows () const |
Return number of rows in results. | |
virtual bool | getRow (std::vector< std::string > &fields, unsigned int i=0, bool clear=true) |
virtual bool | getRowPtrs (std::vector< std::string * > &fieldPtrs, unsigned int i=0, bool clear=true) |
virtual bool | getRowCon (char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true) |
Public Member Functions inherited from rdbModel::ResultHandle | |
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 |
Friends | |
class | MysqlConnection |
Additional Inherited Members | |
Static Public Member Functions inherited from rdbModel::ResultHandle | |
static void | cleanFieldPtrs (std::vector< std::string * > &fields) |
static void | cleanFieldPtrs (std::vector< std::string * > &fields) |
Concrete implementation of ResultHandle, to accompany MysqlConnection.
Definition at line 16 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Db/MysqlResults.h.
|
virtual |
Definition at line 17 of file MysqlResults.cxx.
|
virtual |
|
virtual |
Return number of rows in results.
Implements rdbModel::ResultHandle.
Definition at line 21 of file MysqlResults.cxx.
|
virtual |
Return number of rows in results.
Implements rdbModel::ResultHandle.
|
virtual |
Get array of field values for ith row of result set
Implements rdbModel::ResultHandle.
Definition at line 25 of file MysqlResults.cxx.
|
virtual |
Get array of field values for ith row of result set
Implements rdbModel::ResultHandle.
|
virtual |
Implements rdbModel::ResultHandle.
Definition at line 64 of file MysqlResults.cxx.
|
virtual |
Implements rdbModel::ResultHandle.
|
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 in base class ResultHandle.
Implements rdbModel::ResultHandle.
Definition at line 43 of file MysqlResults.cxx.
|
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 in base class ResultHandle.
Implements rdbModel::ResultHandle.
|
friend |
Definition at line 17 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Db/MysqlResults.h.