struct IO2GTableIterator

Brief

The class iterates through rows of a table.

Details

O2GTableIterator is used in getNextRow and getNextRowByColumnValue function of IO2GAccountsTable, IO2GOffersTable, IO2GOrdersTable, IO2GTradesTable, IO2GClosedTradesTable, IO2GSummaryTable, and IO2GMessagesTable.

IO2GTableIterator [hide]

 IO2GTableIterator iterator;
 IO2GTradeTableRow * tradeTableRow;
 while (tradesTable->getNextRow(iterator, tradeTableRow) == true)
 {
     const char * szTradeID = tradeTableRow->getTradeID();
     //...
     tradeTableRow->release();
 }

Public Constructors

IO2GTableIterator

Constructor. It places the iterator in the beginning.

Public Methods

reset

Reset the iterator in the beginning.

back