creativity
v1.3.0
Agent-based model of creativity and piracy
|
Iterator class that allows iterating through the file. More...
#include <creativity/data/CSVParser.hpp>
Public Member Functions | |
reference | operator* () |
Dereferences the iterator, returning the current CSVParser row. | |
pointer | operator-> () |
Dereferences the iterator, returning the current CSVParser row pointer. | |
iterator & | operator++ () |
Increments the iterator, reading the next row of the file. More... | |
bool | operator== (const iterator &other) |
Return true if the given object is a reference to the current object, or if the current object is at the end of file and the given object is a special end iterator for the same CSVParser object. | |
bool | operator!= (const iterator &other) |
Returns the negation of the == operator. More... | |
Friends | |
class | CSVParser |
Iterator class that allows iterating through the file.
The iterator satisfies the requirements of a ForwardIterator.
|
inline |
Returns the negation of the == operator.
|
inline |
Increments the iterator, reading the next row of the file.
Previous iterators are invalidated.