Hyper API for C++ 0.0.20027
Hyper client library for C++ applications
|
Iterates over a hyperapi::Result
in rows (hyperapi::Row
).
More...
#include <Result.hpp>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = Row |
using | difference_type = std::ptrdiff_t |
using | pointer = const Row * |
using | reference = const Row & |
Public Member Functions | |
ResultIterator (Result &result, IteratorBeginTag) | |
Constructs the begin-iterator. | |
ResultIterator (Result &result, IteratorEndTag) noexcept | |
Constructs the end-iterator. | |
reference | operator* () const noexcept |
Returns a reference to the current value. | |
pointer | operator-> () const noexcept |
Returns a pointer to the current value. | |
ResultIterator & | operator++ () |
Advances the iterator. | |
Iterates over a hyperapi::Result
in rows (hyperapi::Row
).
ResultIterator
is a single-pass input iterator. It reads successive rows of type hyperapi::Row
from the hyperapi::Result
from which it was constructed.
Definition at line 551 of file Result.hpp.
using hyperapi::ResultIterator::difference_type = std::ptrdiff_t |
Definition at line 555 of file Result.hpp.
using hyperapi::ResultIterator::iterator_category = std::input_iterator_tag |
Definition at line 553 of file Result.hpp.
using hyperapi::ResultIterator::pointer = const Row* |
Definition at line 556 of file Result.hpp.
using hyperapi::ResultIterator::reference = const Row& |
Definition at line 557 of file Result.hpp.
Definition at line 554 of file Result.hpp.
|
inlinenoexcept |
Constructs the end-iterator.
Definition at line 562 of file Result.hpp.
|
inlinenoexcept |
Returns a reference to the current value.
Definition at line 567 of file Result.hpp.
|
inlinenoexcept |
Returns a pointer to the current value.
Definition at line 570 of file Result.hpp.