|
RcuDb::Result Class Reference |
Public Member Functions | |
virtual | ~Result () |
virtual void | Close ()=0 |
virtual int | NFields ()=0 |
virtual const char * | FieldName (int i)=0 |
virtual int | NRows () const |
virtual Row * | Next ()=0 |
virtual void | Print () |
Protected Member Functions | |
Result () | |
Protected Attributes | |
int | fNRows |
virtual RcuDb::Result::~Result | ( | ) | [inline, virtual] |
RcuDb::Result::Result | ( | ) | [inline, protected] |
virtual void RcuDb::Result::Close | ( | ) | [pure virtual] |
virtual int RcuDb::Result::NFields | ( | ) | [pure virtual] |
Get the number of fields in this result set.
Implemented in RcuDb::Mysql::Result, and RcuDb::Oracle::Result.
Referenced by Print().
virtual const char* RcuDb::Result::FieldName | ( | int | i | ) | [pure virtual] |
Get the name of the field i.
Implemented in RcuDb::Mysql::Result, and RcuDb::Oracle::Result.
Referenced by Print().
virtual int RcuDb::Result::NRows | ( | ) | const [inline, virtual] |
virtual Row* RcuDb::Result::Next | ( | ) | [pure virtual] |
Get the next row in the result set.
This can be used to iterate over the result set.
Implemented in RcuDb::Mysql::Result, and RcuDb::Oracle::Result.
Referenced by Print().
void RcuDb::Result::Print | ( | ) | [virtual] |
Utility function to print result of query.
Definition at line 34 of file Result.cxx.
References RcuDb::Row::FieldLen(), FieldName(), Next(), NFields(), and NRows().
Here is the call graph for this function:
int RcuDb::Result::fNRows [protected] |
Number of rows in the result set.
Definition at line 61 of file Result.h.
Referenced by RcuDb::Mysql::Result::Close(), and NRows().
Top of page | Last update Wed Jul 11 16:56:54 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.5.2 |