Main | License | Installation | FAQ | Screenshots | Contact | Links | Sf.net | Freshmeat.net | KDE-Apps.org
Requirements | Design | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

ResultRow Class Reference
[MySQL C++ Wrappers]

#include <resultRow.hpp>

Inheritance diagram for ResultRow:
Inheritance graph
[legend]

Public Member Functions

 ResultRow (void)
 Empty constructor.
virtual std::string operator[] (int i)=0 throw (Error)
virtual void invalidate (void)=0

Detailed Description

Class for accessing a single row of an SQL-query's result.

Date:
Thu Mar 03 2005
Author:
Jan Wedekind (wedesoft@users.sourceforge.net)

Definition at line 30 of file resultRow.hpp.


Constructor & Destructor Documentation

ResultRow::ResultRow ( void   )  [inline]

Empty constructor.

Definition at line 34 of file resultRow.hpp.

00034 {}


Member Function Documentation

virtual void ResultRow::invalidate ( void   )  [pure virtual]

Invalidate the row. This method is called by the destructor of Statement to prevent the ResultRow object from using an invalid SQL-query handle.

Implemented in MySQLResultRow, and ODBCResultRow.

virtual std::string ResultRow::operator[] ( int  i  )  throw (Error) [pure virtual]

Operator for retrieving columns.

Parameters:
i Number of column (starting from 0).
See also:
Statement::getNumCols

Implemented in MySQLResultRow, and ODBCResultRow.


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


anymeal 0.31 - recipe management software - Make the most of your food! - © Jan Wedekind Sun Dec 19 19:36:06 2010 - GNU Free Documentation License