|
lintel 0.2.0
|
#include <Cursor.h>
Public Types | |
| using | iterator_category = std::input_iterator_tag |
| using | value_type = Arguments |
| using | difference_type = std::ptrdiff_t |
| using | pointer = const Arguments * |
| using | reference = const Arguments & |
Public Member Functions | |
| Iterator (Cursor &cursor, bool end=false) | |
| Iterator & | operator++ () |
| const Iterator | operator++ (int) |
| bool | operator== (const Iterator &other) const |
| bool | operator!= (const Iterator &other) const |
| reference | operator* () const |
Mutable forward iterator over streamed rows. Single-pass input-iterator semantics: copies share the stream position, so only one iterator should be advanced at a time and comparison is only meaningful against end().
| using lintel::db::Cursor::Iterator::difference_type = std::ptrdiff_t |
| using lintel::db::Cursor::Iterator::iterator_category = std::input_iterator_tag |
Constructs an iterator for the given cursor.
| cursor | the cursor to iterate over |
| end | if true, positions at the logical end; otherwise at the cursor's current row |
| reference lintel::db::Cursor::Iterator::operator* | ( | ) | const |
| Iterator & lintel::db::Cursor::Iterator::operator++ | ( | ) |