Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SLPluginFeature::DBAccess::Results Class Reference
[Plugins system]

#include <SLPluginFeature.hpp>

List of all members.

Public Member Functions

virtual unsigned int getCount ()=0
virtual bool next ()=0
virtual unsigned int getRowCount ()=0
virtual const char * getColumn (unsigned int i)=0


Detailed Description

See also:
SLPluginFeature::DBAccess This abstract class holds results from DBAccess::Connection::ExecSQL().
code examples are in SLPluginFeature::DBAccess


Member Function Documentation

virtual const char* SLPluginFeature::DBAccess::Results::getColumn unsigned int  i  )  [pure virtual]
 

The returned values, including integers, are all treated as "char *"

Parameters:
i is the column index (starts from 0)
Returns:
the element from the current column.
Exceptions:
SLPluginFeature::DBAccess::Exception 

virtual unsigned int SLPluginFeature::DBAccess::Results::getCount  )  [pure virtual]
 

Throw an exception if this value is not accessible.

Returns:
the number of rows (if posssible)
Exceptions:
SLPluginFeature::DBAccess::Exception 

virtual unsigned int SLPluginFeature::DBAccess::Results::getRowCount  )  [pure virtual]
 

Returns:
the number of columns in a result row.
Exceptions:
SLPluginFeature::DBAccess::Exception 

virtual bool SLPluginFeature::DBAccess::Results::next  )  [pure virtual]
 

Has to be called before accessing the first row. Then each further call will make the next row of results available.

Returns:
true if there is another row of results.
Exceptions:
SLPluginFeature::DBAccess::Exception 


The documentation for this class was generated from the following file:
Generated on Mon Apr 19 01:03:38 2004 for segusoLand by doxygen 1.3.6-20040222