|
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 reference | operator* () const |
| CONSTEXPR_14 pointer | operator-> () |
| Return a pointer to the CSVRow the iterator has stopped at. | |
| CONSTEXPR_14 pointer | operator-> () const |
| iterator & | operator++ () |
| Pre-increment iterator. | |
| 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.
<algorithm> libraryDefinition at line 117 of file csv_reader.hpp.
|
inline |
Definition at line 128 of file csv_reader.hpp.
Definition at line 28 of file csv_reader_iterator.cpp.
Definition at line 149 of file csv_reader.hpp.
|
inline |
Access the CSVRow held by the iterator.
Definition at line 132 of file csv_reader.hpp.
|
inline |
Definition at line 133 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 40 of file csv_reader_iterator.cpp.
| CSVReader::iterator csv::CSVReader::iterator::operator++ | ( | int | ) |
Post-increment iterator.
Definition at line 49 of file csv_reader_iterator.cpp.
|
inline |
Return a pointer to the CSVRow the iterator has stopped at.
Definition at line 136 of file csv_reader.hpp.
|
inline |
Definition at line 137 of file csv_reader.hpp.
Returns true if iterators were constructed from the same CSVReader and point to the same row.
Definition at line 145 of file csv_reader.hpp.