Belle II Software  release-08-01-10
ObjectStatement< ObjectType, Columns >::iterator Class Reference

Iterator class to allow iterating over the rows. More...

#include <sqlite.h>

Inheritance diagram for ObjectStatement< ObjectType, Columns >::iterator:
Collaboration diagram for ObjectStatement< ObjectType, Columns >::iterator:

Public Member Functions

 iterator ()=default
 with a default constructor
 
 iterator (ObjectStatement *instance)
 and a real constructor to a statement
 
iteratoroperator++ ()
 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

ObjectStatementm_instance {nullptr}
 pointer to the statement
 
int64_t m_row { -1}
 current row index
 

Detailed Description

template<class ObjectType, class ... Columns>
class sqlite::ObjectStatement< ObjectType, Columns >::iterator

Iterator class to allow iterating over the rows.

Definition at line 200 of file sqlite.h.


The documentation for this class was generated from the following file: