Belle II Software light-2406-ragdoll
|
Iterator class to allow iterating over the rows. More...
#include <sqlite.h>
Public Member Functions | |
iterator ()=default | |
with a default constructor | |
iterator (ObjectStatement *instance) | |
and a real constructor to a statement | |
iterator & | operator++ () |
increment to next row, stop in case we are done | |
iterator | operator++ (int) |
also postfix increment | |
bool | operator== (const iterator &other) const |
and equality check | |
bool | operator!= (const iterator &other) const |
as well as unequality check | |
value_type | operator* () const |
and a dereference operator | |
Private Attributes | |
ObjectStatement * | m_instance {nullptr} |
pointer to the statement | |
int64_t | m_row { -1} |
current row index | |
Iterator class to allow iterating over the rows.
|
inlineexplicit |
and a real constructor to a statement
Definition at line 205 of file sqlite.h.
|
inline |
|
inline |
and a dereference operator
Definition at line 224 of file sqlite.h.
|
inline |
|
inline |
|
private |