2005/5/9

     
 

class LiteMemTableIterator

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

acdk::sql::sqlite::LiteMemTableIterator Class Reference

#include <LiteTable.h>

Inheritance diagram for acdk::sql::sqlite::LiteMemTableIterator:

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

Detailed Description

Iterator adapter for a LiteMemTable.


Public Member Functions

 LiteMemTableIterator (IN(RLiteMemTable) table)
RString getColumnName (int col)
RString getField (int col)
acdk::util::RIterator iterator ()
 returns an iterator to a string array containing the fields of current row

virtual bool hasNext ()
virtual acdk::lang::Object next ()
virtual acdk::lang::Object element ()
virtual void remove ()
 remove current element from the iterator.


Protected Attributes

RLiteMemTable _table
int _row


Constructor & Destructor Documentation

acdk::sql::sqlite::LiteMemTableIterator::LiteMemTableIterator IN(RLiteMemTable table  )  [inline]
 


Member Function Documentation

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

Implements acdk::util::Iterator.

RString acdk::sql::sqlite::LiteMemTableIterator::getColumnName int  col  )  [inline]
 

RString acdk::sql::sqlite::LiteMemTableIterator::getField int  col  )  [inline]
 

virtual bool acdk::sql::sqlite::LiteMemTableIterator::hasNext  )  [inline, virtual]
 

Implements acdk::util::Iterator.

acdk::util::RIterator acdk::sql::sqlite::LiteMemTableIterator::iterator  )  [inline]
 

returns an iterator to a string array containing the fields of current row

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

Returns:
this

Implements acdk::util::Iterator.

virtual void acdk::sql::sqlite::LiteMemTableIterator::remove  )  [inline, virtual]
 

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::Iterator.


Member Data Documentation

int acdk::sql::sqlite::LiteMemTableIterator::_row [protected]
 

RLiteMemTable acdk::sql::sqlite::LiteMemTableIterator::_table [protected]