CGEM BOSS 6.6.5.h
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) |
Public Member Functions inherited from rdbModel::ResultHandle | |
ResultHandle () | |
virtual | ~ResultHandle () |
Friends | |
class | MysqlConnection |
Additional Inherited Members | |
Static Public Member Functions inherited from rdbModel::ResultHandle | |
static void | cleanFieldPtrs (std::vector< std::string * > &fields) |
Concrete implementation of ResultHandle, to accompany MysqlConnection.
Definition at line 16 of file MysqlResults.h.
|
virtual |
Definition at line 17 of file MysqlResults.cxx.
|
virtual |
Return number of rows in results.
Implements rdbModel::ResultHandle.
Definition at line 21 of file MysqlResults.cxx.
|
virtual |
Get array of field values for ith row of result set
Implements rdbModel::ResultHandle.
Definition at line 25 of file MysqlResults.cxx.
|
virtual |
Implements rdbModel::ResultHandle.
Definition at line 64 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.
Definition at line 43 of file MysqlResults.cxx.
|
friend |
Definition at line 17 of file MysqlResults.h.