#include <genesis/utils/formats/csv/input_iterator.hpp>
Definition at line 50 of file utils/formats/csv/input_iterator.hpp.
Public Member Functions | |
CsvInputIterator () | |
Create a default instance, with no input. More... | |
CsvInputIterator (CsvInputIterator &&)=default | |
CsvInputIterator (CsvInputIterator const &)=default | |
CsvInputIterator (std::shared_ptr< utils::BaseInputSource > source) | |
Create an instance that reads from an input source, using a default CsvReader. More... | |
CsvInputIterator (std::shared_ptr< utils::BaseInputSource > source, CsvReader const &settings) | |
Create an instance that reads from an input source, using the settings of a given CsvReader. More... | |
~CsvInputIterator ()=default | |
self_type & | begin () |
Beginning of the iterator. More... | |
value_type const & | dereference () const |
self_type | end () |
End of the iterator. More... | |
void | increment () |
operator bool () const | |
Return true iff dereferencing is valid, i.e., iff there is a Csv Line available. More... | |
bool | operator!= (self_type const &other) const |
value_type const & | operator* () const |
self_type & | operator++ () |
value_type const * | operator-> () const |
CsvInputIterator & | operator= (CsvInputIterator &&)=default |
CsvInputIterator & | operator= (CsvInputIterator const &)=default |
bool | operator== (self_type const &other) const |
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | pointer = value_type * |
using | reference = value_type & |
using | self_type = CsvInputIterator |
using | value_type = CsvReader::Line |
|
inline |
Create a default instance, with no input.
Definition at line 71 of file utils/formats/csv/input_iterator.hpp.
|
inlineexplicit |
Create an instance that reads from an input source, using a default CsvReader.
Definition at line 80 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Create an instance that reads from an input source, using the settings of a given CsvReader.
Definition at line 92 of file utils/formats/csv/input_iterator.hpp.
|
default |
|
default |
|
default |
|
inline |
Beginning of the iterator.
This is a bit uncommon, as the iterator provides its own begin() and end() functions. We do this to allow the easy use case of range-based for loops.
Definition at line 159 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 144 of file utils/formats/csv/input_iterator.hpp.
|
inline |
End of the iterator.
Beginning of the iterator. This is a bit uncommon, as the iterator provides its own begin() and end() functions. We do this to allow the easy use case of range-based for loops.
Definition at line 169 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 180 of file utils/formats/csv/input_iterator.hpp.
|
inlineexplicit |
Return true iff dereferencing is valid, i.e., iff there is a Csv Line available.
Definition at line 125 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 117 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 134 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 174 of file utils/formats/csv/input_iterator.hpp.
|
inline |
Definition at line 139 of file utils/formats/csv/input_iterator.hpp.
|
default |
|
default |
|
inline |
Definition at line 112 of file utils/formats/csv/input_iterator.hpp.
using iterator_category = std::input_iterator_tag |
Definition at line 62 of file utils/formats/csv/input_iterator.hpp.
using pointer = value_type* |
Definition at line 60 of file utils/formats/csv/input_iterator.hpp.
using reference = value_type& |
Definition at line 61 of file utils/formats/csv/input_iterator.hpp.
using self_type = CsvInputIterator |
Definition at line 58 of file utils/formats/csv/input_iterator.hpp.
using value_type = CsvReader::Line |
Definition at line 59 of file utils/formats/csv/input_iterator.hpp.