Overview | Group | Tree | Graph | 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.
Constructor and Destructor Summary | |
---|---|
public | LineIterator() |
public | LineIterator(IloCsvTableReader) |
Method Summary | |
---|---|
public IloBool | ok() |
public IloCsvLine | operator *() |
public LineIterator & | operator++() |
Constructor and Destructor 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 Detail |
---|
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.