IResults Class Reference

Exposes an iterator to the results of an execution to the ODBC layer. More...

Inherited by DSIResults.

List of all members.

Public Member Functions

virtual Simba::DSI::IResultGetCurrentResult ()=0
 Gets the current result.
virtual simba_uint16 GetResultsCount ()=0
 Returns the number of results associated with the executed query.
virtual bool Next ()=0
 Moves to the next result in the iterator.
virtual void Reset ()=0
 Resets the iterator such that it points to the first result.
virtual ~IResults ()
 Destructor.

Protected Member Functions

 IResults ()
 Constructor.

Detailed Description

Exposes an iterator to the results of an execution to the ODBC layer.

Initially the iterator is to start at the first result provided from the query.


Constructor & Destructor Documentation

virtual ~IResults (  )  [inline, virtual]

Destructor.

IResults (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual Simba::DSI::IResult* GetCurrentResult (  )  [pure virtual]

Gets the current result.

Returns:
The current result, or NULL in the event that there is no current result. (NOT OWN)

Implemented in DSIResults.

virtual simba_uint16 GetResultsCount (  )  [pure virtual]

Returns the number of results associated with the executed query.

Returns:
Number of results associated with the executed query.

Implemented in DSIResults.

virtual bool Next (  )  [pure virtual]

Moves to the next result in the iterator.

Returns:
True if there was a result to move to; false if there are no further results.

Implemented in DSIResults.

virtual void Reset (  )  [pure virtual]

Resets the iterator such that it points to the first result.

Implemented in DSIResults.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba