Helps when iterating over rows in a "SELECT" statement. More...
#include <Statement.h>
Public Member Functions | |
| row_iterator () noexcept=default | |
| Default constructor. | |
| row_iterator (const statement &statement) noexcept | |
| Construct a row_iterator object from a statement object. More... | |
| row_iterator & | operator++ () noexcept |
| Increment iterator to the next row object of the statement. | |
| bool | operator!= (const row_iterator &other) const noexcept |
| Comparison operation. | |
| row | operator* () const noexcept |
| Dereference operation. More... | |
Helps when iterating over rows in a "SELECT" statement.
row_iterator is a InputIterator and can read data from the pointed to SQLite row.
Definition at line 592 of file Statement.h.
|
noexcept |
Construct a row_iterator object from a statement object.
A row_iterator should only be constructect on an statement object that is doing a SQL "SELECT" query.
| statement | the statement object to construct the iterator from. |
Definition at line 131 of file Statement.cpp.
|
noexcept |
Dereference operation.
Dereferencing a row_iterator object will return a row object.
Definition at line 154 of file Statement.cpp.
1.8.6