NO FRAMES

Class IloCsvReader::TableIterator

Definition file: ilconcert/ilocsvreader.h

TableIterator is a nested class of the class IloCsvReader. It is to be used only for multitable files.

IloCsvReader::TableIterator allows you to step through all the tables of the multitable csv data file on which the csv reader was created.

Constructor and Destructor Summary
public TableIterator(IloCsvReader)
Method Summary
public IloBoolok()
public IloCsvTableReaderoperator *()
public TableIterator &operator++()
Constructor and Destructor Detail

TableIterator

public TableIterator(IloCsvReader csv)

This constructor creates an iterator to traverse all the tables in the csv data file on which the csv reader csv was created.


Method Detail

ok

public IloBool ok()

This member function returns IloTrue if the current position of the iterator is a valid one.

It returns IloFalse if the iterator reaches the end of the table.


operator *

public IloCsvTableReader operator *()

This operator returns the current instance of IloCsvTable (representing the current table in the csv file); the one to which the invoking iterator points.


operator++

public TableIterator & operator++()

This left-increment operator shifts the current position of the iterator to the next instance of IloCsvTableReader representing the next line in the file.