Vince's CSV Parser
|
An input iterator capable of handling large files. More...
#include <csv_reader.hpp>
Public Member Functions | |
iterator (CSVReader *reader) | |
iterator (CSVReader *, CSVRow &&) | |
CONSTEXPR_14 reference | operator* () |
Access the CSVRow held by the iterator. | |
CONSTEXPR_14 pointer | operator-> () |
Return a pointer to the CSVRow the iterator has stopped at. | |
iterator & | operator++ () |
Pre-increment iterator. More... | |
iterator | operator++ (int) |
Post-increment iterator. | |
CONSTEXPR bool | operator== (const iterator &other) const noexcept |
Returns true if iterators were constructed from the same CSVReader and point to the same row. | |
CONSTEXPR bool | operator!= (const iterator &other) const noexcept |
An input iterator capable of handling large files.
Definition at line 69 of file csv_reader.hpp.
CSVReader::iterator & csv::CSVReader::iterator::operator++ | ( | ) |
Pre-increment iterator.
Advance the iterator by one row.
If this CSVReader has an associated file, then the iterator will lazily pull more data from that file until the end of file is reached.
Definition at line 46 of file csv_reader_iterator.cpp.