Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

look::DbRow Class Reference

A class representing a row fetched from the database. More...

#include <dbrow.h>

List of all members.

Public Methods

 DbRow (long theRowNumber, LOOK_STMT theStmt)
 Constructor. More...

virtual ~DbRow ()
 Destructor.

const DbFieldGetColumn (int theColumnNumber) const
 Get theColumnNumberth column. More...


Detailed Description

A class representing a row fetched from the database.

DbRows are created by DbQuery::Fetch(), and contain DbFields.


Constructor & Destructor Documentation

look::DbRow::DbRow ( long theRowNumber,
LOOK_STMT theStmt )
 

Constructor.

This actually retrieves the data from the interface layer.

Parameters:
theRowNumber   Row number, stored, but not used.
theDescriptor   Interface layer descriptor.


Member Function Documentation

const DbField * look::DbRow::GetColumn ( int theColumnNumber ) const
 

Get theColumnNumberth column.

Parameters:
theColumnNumber   Column number, 0 based.
Returns:
Pointer to a DbField. This pointer is valid as long as the row is. (do not delete this pointer).

Return 0 if theColumnNumber does not exist.


The documentation for this class was generated from the following files:
Generated at Thu Jan 17 12:53:08 2002 for liblookdb by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001