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

#include <Result.h>

Inheritance diagram for lintel::db::Result::ConstIterator:

Public Member Functions

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

Detailed Description

Const random-access iterator over result rows.

Constructor & Destructor Documentation

◆ ConstIterator()

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

Constructs a const 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::ConstIterator::operator!= ( ConstIterator  other) const
inline

◆ operator*()

reference lintel::db::Result::ConstIterator::operator* ( ) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator==()

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

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