| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

LineIterator is a nested class of the class
IloCsvTableReader.
It allows you to step through all the lines of a table from a
csv data file (except blank lines and commented lines) on which the table
csv reader was created.
| Method Summary | |
|---|---|
public void | end() |
public | LineIterator() |
public | LineIterator(IloCsvTableReader csv) |
public IloBool | ok() const |
public IloCsvLine | operator*() const |
public LineIterator & | operator++() |
| Method Detail |
|---|
This constructor creates an empty LineIterator object.
This object must be assigned before it can be used.
This constructor creates an iterator to traverse all the lines in the
table csv data file on which the csv reader csv was created.
The iterator does not traverse blank lines and commented lines.
Method to be called after the use of the iterator such that all memory is freed
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.
This operator returns the current instance of IloCsvLine
(representing the current line in the csv file); the one to which the
invoking iterator points.
This left-increment operator shifts the current position of the iterator
to the next instance of IloCsvLine representing the next line
in the file.