BOSS 7.0.8
BESIII Offline Software System
|
#include <ResultHandle.h>
Public Member Functions | |
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 |
Static Public Member Functions | |
static void | cleanFieldPtrs (std::vector< std::string * > &fields) |
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 ResultHandle.h.
|
inline |
Definition at line 17 of file ResultHandle.h.
|
inlinevirtual |
Definition at line 18 of file ResultHandle.h.
|
static |
Definition at line 7 of file ResultHandle.cxx.
Referenced by rdbModel::Table::supersedeRow().
|
pure virtual |
Return number of rows in results.
Implemented in rdbModel::MysqlResults.
Referenced by Coverage::checkType(), calibUtil::Metadata::getReadInfo(), rdbModel::Table::insertLatest(), and main().
|
pure virtual |
Get array of field values for ith row of result set
Implemented in rdbModel::MysqlResults.
Referenced by Coverage::checkType(), and calibUtil::Metadata::getReadInfo().
|
pure virtual |
Implemented in rdbModel::MysqlResults.
|
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.
Referenced by rdbModel::Table::supersedeRow().