class ResultSetIterator

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::ResultSetIterator Class Reference

#include <ResultSet.h>

Inheritance diagram for acdk::sql::ResultSetIterator:

acdk::lang::Object acdk::util::Iterator acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Iterator wrapper for a ResultSet.

Public Member Functions

 ResultSetIterator (IN(RResultSet) rset)
virtual bool hasNext ()
virtual acdk::lang::Object next ()
 return the ResultSet

virtual acdk::lang::Object element ()
 return the ResultSet

virtual void remove ()
 remove current element from the iterator.

Protected Attributes

RResultSet _rset

Constructor & Destructor Documentation

acdk::sql::ResultSetIterator::ResultSetIterator IN(RResultSet rset  )  [inline]

Member Function Documentation

virtual acdk::lang::Object acdk::sql::ResultSetIterator::element  )  [inline, virtual]

return the ResultSet

Implements acdk::util::Iterator.

virtual bool acdk::sql::ResultSetIterator::hasNext  )  [inline, virtual]

Implements acdk::util::Iterator.

virtual acdk::lang::Object acdk::sql::ResultSetIterator::next  )  [inline, virtual]

return the ResultSet

Implements acdk::util::Iterator.

virtual void acdk::sql::ResultSetIterator::remove  )  [inline, virtual]

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::Iterator.

Member Data Documentation

RResultSet acdk::sql::ResultSetIterator::_rset [protected]