lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::db::Result::Iterator Class Reference

#include <Result.h>

Inheritance diagram for lintel::db::Result::Iterator:

Public Member Functions

 Iterator (Result &result, bool end=false)
 
Iterator & operator++ ()
 
Iterator operator++ (int)
 
bool operator== (Iterator other) const
 
bool operator!= (Iterator other) const
 
reference operator* ()
 

Detailed Description

Mutable random-access iterator over result rows.

Constructor & Destructor Documentation

◆ Iterator()

lintel::db::Result::Iterator::Iterator ( Result &  result,
bool  end = false 
)
inlineexplicit

Constructs an iterator for the given Result.

Parameters
resultthe result to iterate over
endif true, positions at the end; otherwise at the beginning

Member Function Documentation

◆ operator!=()

bool lintel::db::Result::Iterator::operator!= ( Iterator  other) const
inline

◆ operator*()

reference lintel::db::Result::Iterator::operator* ( )
inline

◆ operator++() [1/2]

Iterator & lintel::db::Result::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

Iterator lintel::db::Result::Iterator::operator++ ( int  )
inline

◆ operator==()

bool lintel::db::Result::Iterator::operator== ( Iterator  other) const
inline

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