SourceForge.net Logo

ResultRowPostgreSQL Class Reference

Inheritance diagram for ResultRowPostgreSQL:

Inheritance graph
[legend]
Collaboration diagram for ResultRowPostgreSQL:

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 ResultPostgreSQL


Member Function Documentation

bool ResultRowPostgreSQL::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 ResultRowPostgreSQL::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 ResultRowPostgreSQL::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 ResultRowPostgreSQL::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 ResultRowPostgreSQL::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 ResultPostgreSQL [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