RcuDb::Mysql::Result Class Reference
[MySQL interface classes]

#include <MysqlResult.h>

Inheritance diagram for RcuDb::Mysql::Result:

Inheritance graph
[legend]
Collaboration diagram for RcuDb::Mysql::Result:

Collaboration graph
[legend]

Detailed Description

Specialisation of result result for MySQL.

Definition at line 48 of file MysqlResult.h.

Public Member Functions

virtual ~Result ()
virtual void Close ()
virtual int NFields ()
virtual const char * FieldName (int i)
virtual RcuDb::RowNext ()

Friends

class Server


Constructor & Destructor Documentation

virtual RcuDb::Mysql::Result::~Result (  )  [inline, virtual]

Destructor.

Reimplemented from RcuDb::Result.

Definition at line 52 of file MysqlResult.h.

References Close().

Here is the call graph for this function:


Member Function Documentation

void RcuDb::Mysql::Result::Close (  )  [virtual]

Close the result.

Implements RcuDb::Result.

Definition at line 39 of file MysqlResult.cxx.

References RcuDb::Result::fNRows.

Referenced by ~Result().

int RcuDb::Mysql::Result::NFields (  )  [virtual]

Get the number of fields in this result set.

Implements RcuDb::Result.

Definition at line 60 of file MysqlResult.cxx.

const char * RcuDb::Mysql::Result::FieldName ( int  i  )  [virtual]

Get the name of the field i.

Implements RcuDb::Result.

Definition at line 50 of file MysqlResult.cxx.

RcuDb::Row * RcuDb::Mysql::Result::Next (  )  [virtual]

Get the next row in the result set.

This can be used to iterate over the result set.

Returns:
next row, or 0 if there's no more rows left

Implements RcuDb::Result.

Definition at line 68 of file MysqlResult.cxx.


Friends And Related Function Documentation

friend class Server [friend]

Declare server to be a friend.

Definition at line 69 of file MysqlResult.h.


The documentation for this class was generated from the following files:
Top of page Last update Wed Jul 11 16:56:54 2007
Copyright © 2004 Christian Holm Created by DoxyGen 1.5.2