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

ResultSet Class Reference

#include <ResultSet.h>

Inheritance diagram for ResultSet

Inheritance graph

[legend]
List of all members.

Public Methods

virtual ~ResultSet ()
virtual bool next ()
virtual void close ()
virtual bool wasNull ()
virtual void getString (int columnIndex, nsAWritableString& output)
virtual bool getBoolean (int columnIndex)
virtual unsigned char getByte (int columnIndex)
virtual short getShort (int columnIndex)
virtual int getInt (int columnIndex)
virtual long getLong (int columnIndex)
virtual float getFloat (int columnIndex)
virtual double getDouble (int columnIndex)
virtual BigDecimal* getBigDecimal (int columnIndex, int scale)
virtual unsigned char* getBytes (int columnIndex)
virtual Date* getDate (int columnIndex)
virtual Time* getTime (int columnIndex)
virtual Timestamp* getTimestamp (int columnIndex)
virtual InputStream* getAsciiStream (int columnIndex)
virtual InputStream* getUnicodeStream (int columnIndex)
virtual InputStream* getBinaryStream (int columnIndex)
virtual const nsAReadableString& getString (const nsAReadableString& columnName)
virtual bool getBooleab (const nsAReadableString& columnName)
virtual unsigned char getByte (const nsAReadableString& columnName)
virtual short getShort (const nsAReadableString& columnName)
virtual int getInt (const nsAReadableString& columnName)
virtual long getLong (const nsAReadableString& columnName)
virtual float getFloat (const nsAReadableString& columnName)
virtual double getDouble (const nsAReadableString& columnName)
virtual BigDecimal* getBigDecimal (const nsAReadableString& columnName, int scale)
virtual unsigned char* getBytes (const nsAReadableString& columnName)
virtual Date* getDate (const nsAReadableString& columnName)
virtual Time* getTime (const nsAReadableString& columnName)
virtual Timestamp* getTimestamp (const nsAReadableString& columnName)
virtual InputStream* getAsciiStream (const nsAReadableString& columnName)
virtual InputStream* getUnicodeStream (const nsAReadableString& columnName)
virtual InputStream* getBinaryStream (const nsAReadableString& columnName)
virtual SQLWarning* getWarnings ()
virtual void clearWarnings ()
virtual const nsAReadableString& getCursorName ()
virtual ResultSetMetaData* getMetaData ()
virtual Object* getObject (int columnIndex)
virtual Object* getObject (const nsAReadableString& columnName)
virtual int findColumn (const nsAReadableString& columnName)

Constructor & Destructor Documentation

ResultSet::~ResultSet ( ) [inline, virtual]
 

Definition at line 24 of file ResultSet.h.


Member Function Documentation

void ResultSet::clearWarnings ( ) [inline, virtual]
 

Definition at line 61 of file ResultSet.h.

void ResultSet::close ( ) [inline, virtual]
 

Reimplemented in ResultSetODBC.

Definition at line 26 of file ResultSet.h.

Referenced by Transaction::aDelete(), Transaction::aSeek(), Transaction::aSelect(), Report::aSelect(), Transaction::aUpdate(), Transaction::buildXML(), Report::buildXML(), Transaction::copyRecord(), Report::copyRecord(), and Transaction::doInsert().

int ResultSet::findColumn ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 66 of file ResultSet.h.

InputStream * ResultSet::getAsciiStream ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 57 of file ResultSet.h.

InputStream * ResultSet::getAsciiStream ( int columnIndex ) [inline, virtual]
 

Definition at line 41 of file ResultSet.h.

BigDecimal * ResultSet::getBigDecimal ( const nsAReadableString & columnName,
int scale ) [inline, virtual]
 

Definition at line 52 of file ResultSet.h.

BigDecimal * ResultSet::getBigDecimal ( int columnIndex,
int scale ) [inline, virtual]
 

Definition at line 36 of file ResultSet.h.

InputStream * ResultSet::getBinaryStream ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 59 of file ResultSet.h.

InputStream * ResultSet::getBinaryStream ( int columnIndex ) [inline, virtual]
 

Definition at line 43 of file ResultSet.h.

bool ResultSet::getBooleab ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 45 of file ResultSet.h.

bool ResultSet::getBoolean ( int columnIndex ) [inline, virtual]
 

Definition at line 29 of file ResultSet.h.

unsigned char ResultSet::getByte ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 46 of file ResultSet.h.

unsigned char ResultSet::getByte ( int columnIndex ) [inline, virtual]
 

Definition at line 30 of file ResultSet.h.

unsigned char * ResultSet::getBytes ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 53 of file ResultSet.h.

unsigned char * ResultSet::getBytes ( int columnIndex ) [inline, virtual]
 

Definition at line 37 of file ResultSet.h.

const nsAReadableString & ResultSet::getCursorName ( ) [virtual]
 

Definition at line 194 of file Connection.cpp.

Date * ResultSet::getDate ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 54 of file ResultSet.h.

Date * ResultSet::getDate ( int columnIndex ) [inline, virtual]
 

Definition at line 38 of file ResultSet.h.

double ResultSet::getDouble ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 51 of file ResultSet.h.

double ResultSet::getDouble ( int columnIndex ) [inline, virtual]
 

Definition at line 35 of file ResultSet.h.

float ResultSet::getFloat ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 50 of file ResultSet.h.

float ResultSet::getFloat ( int columnIndex ) [inline, virtual]
 

Definition at line 34 of file ResultSet.h.

int ResultSet::getInt ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 48 of file ResultSet.h.

int ResultSet::getInt ( int columnIndex ) [inline, virtual]
 

Definition at line 32 of file ResultSet.h.

long ResultSet::getLong ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 49 of file ResultSet.h.

long ResultSet::getLong ( int columnIndex ) [inline, virtual]
 

Definition at line 33 of file ResultSet.h.

ResultSetMetaData * ResultSet::getMetaData ( ) [inline, virtual]
 

Definition at line 63 of file ResultSet.h.

Object * ResultSet::getObject ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 65 of file ResultSet.h.

Object * ResultSet::getObject ( int columnIndex ) [inline, virtual]
 

Definition at line 64 of file ResultSet.h.

short ResultSet::getShort ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 47 of file ResultSet.h.

short ResultSet::getShort ( int columnIndex ) [inline, virtual]
 

Definition at line 31 of file ResultSet.h.

const nsAReadableString & ResultSet::getString ( const nsAReadableString & columnName ) [virtual]
 

Definition at line 189 of file Connection.cpp.

void ResultSet::getString ( int columnIndex,
nsAWritableString & output ) [virtual]
 

Reimplemented in ResultSetODBC.

Definition at line 184 of file Connection.cpp.

Referenced by Transaction::aSeek(), Transaction::copyRecord(), Report::copyRecord(), Transaction::doInsert(), Transaction::doSelect(), and Report::doSelect().

Time * ResultSet::getTime ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 55 of file ResultSet.h.

Time * ResultSet::getTime ( int columnIndex ) [inline, virtual]
 

Definition at line 39 of file ResultSet.h.

Timestamp * ResultSet::getTimestamp ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 56 of file ResultSet.h.

Timestamp * ResultSet::getTimestamp ( int columnIndex ) [inline, virtual]
 

Definition at line 40 of file ResultSet.h.

InputStream * ResultSet::getUnicodeStream ( const nsAReadableString & columnName ) [inline, virtual]
 

Definition at line 58 of file ResultSet.h.

InputStream * ResultSet::getUnicodeStream ( int columnIndex ) [inline, virtual]
 

Definition at line 42 of file ResultSet.h.

SQLWarning * ResultSet::getWarnings ( ) [inline, virtual]
 

Definition at line 60 of file ResultSet.h.

bool ResultSet::next ( ) [inline, virtual]
 

Reimplemented in ResultSetODBC.

Definition at line 25 of file ResultSet.h.

Referenced by Transaction::aDelete(), Transaction::aSeek(), Transaction::aUpdate(), Transaction::buildXML(), Report::buildXML(), Transaction::copyRecord(), Report::copyRecord(), and Transaction::doInsert().

bool ResultSet::wasNull ( ) [inline, virtual]
 

Definition at line 27 of file ResultSet.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:56 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000