![]() |
Belle II Software
release-08-02-04
|
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.