#include <dbfacade.h>
Public Member Functions | |
virtual | ~ResultRow () |
virtual bool | hasValueAt (const int index) const =0 throw () |
virtual bool | getBooleanAt (const int index) const =0 |
virtual double | getDoubleAt (const int index) const =0 |
virtual int | getIntAt (const int index) const =0 |
virtual std::string | getStringAt (const int index) const =0 |
ResultRow::~ResultRow | ( | ) | [virtual] |
virtual bool dbfacade::ResultRow::hasValueAt | ( | const int | index | ) | const throw () [pure virtual] |
Determines if it's safe to call any of the get methods. It does not throw.
true
if the cell contains a value. Implemented in ResultRowMySQL, ResultRowPostgreSQL, and ResultRowSQLite.
virtual bool dbfacade::ResultRow::getBooleanAt | ( | const int | index | ) | const [pure virtual] |
bool
. EmptyResultSetException | if hasValueAt() would have returned false for the index. |
Implemented in ResultRowMySQL, ResultRowPostgreSQL, and ResultRowSQLite.
virtual double dbfacade::ResultRow::getDoubleAt | ( | const int | index | ) | const [pure virtual] |
double
. EmptyResultSetException | if hasValueAt() would have returned false for the index. |
Implemented in ResultRowMySQL, ResultRowPostgreSQL, and ResultRowSQLite.
virtual int dbfacade::ResultRow::getIntAt | ( | const int | index | ) | const [pure virtual] |
int
. EmptyResultSetException | if hasValueAt() would have returned false for the index. |
Implemented in ResultRowMySQL, ResultRowPostgreSQL, and ResultRowSQLite.
virtual std::string dbfacade::ResultRow::getStringAt | ( | const int | index | ) | const [pure virtual] |
std::string
. EmptyResultSetException | if hasValueAt() would have returned false for the index. |
Implemented in ResultRowMySQL, ResultRowPostgreSQL, and ResultRowSQLite.