SourceForge.net Logo

ResultRowMySQL Class Reference

Inheritance diagram for ResultRowMySQL:

Inheritance graph
[legend]
Collaboration diagram for ResultRowMySQL:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool hasValueAt (const int index) const throw ()
bool getBooleanAt (const int index) const
double getDoubleAt (const int index) const
int getIntAt (const int index) const
std::string getStringAt (const int index) const

Friends

class ResultMySQL


Member Function Documentation

bool ResultRowMySQL::hasValueAt ( const int  index  )  const throw () [inline, virtual]

Determines if it's safe to call any of the get methods. It does not throw.

Returns:
true if the cell contains a value.

Implements dbfacade::ResultRow.

bool ResultRowMySQL::getBooleanAt ( const int  index  )  const [inline, virtual]

Returns:
The cell's content, converted to bool.
Exceptions:
EmptyResultSetException if hasValueAt() would have returned false for the index.

Implements dbfacade::ResultRow.

double ResultRowMySQL::getDoubleAt ( const int  index  )  const [inline, virtual]

Returns:
The cell's content, converted to double.
Exceptions:
EmptyResultSetException if hasValueAt() would have returned false for the index.

Implements dbfacade::ResultRow.

int ResultRowMySQL::getIntAt ( const int  index  )  const [inline, virtual]

Returns:
The cell's content, converted to int.
Exceptions:
EmptyResultSetException if hasValueAt() would have returned false for the index.

Implements dbfacade::ResultRow.

std::string ResultRowMySQL::getStringAt ( const int  index  )  const [inline, virtual]

Returns:
The cell's content, converted to std::string.
Exceptions:
EmptyResultSetException if hasValueAt() would have returned false for the index.

Implements dbfacade::ResultRow.


Friends And Related Function Documentation

friend class ResultMySQL [friend]


The documentation for this class was generated from the following file:

Generated on Mon Mar 16 20:04:33 2009 for libdbfacade.so by  doxygen 1.5.5