relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
relx::result::RowIterator< ResultSet, Types > Struct Template Reference

Iterator that yields RowAdapters. More...

#include <relx/results/result.hpp>

Public Member Functions

bool operator!= (const RowIterator &other) const
 
RowIteratoroperator++ ()
 
auto operator* () const
 

Public Attributes

const ResultSetresults
 
size_t index
 
std::array< size_t, sizeof...(Types)> column_indices
 

Detailed Description

template<typename ResultSet, typename... Types>
struct relx::result::RowIterator< ResultSet, Types >

Iterator that yields RowAdapters.

Definition at line 562 of file result.hpp.

Member Function Documentation

◆ operator!=()

template<typename ResultSet , typename... Types>
bool relx::result::RowIterator< ResultSet, Types >::operator!= ( const RowIterator< ResultSet, Types > &  other) const
inline

Definition at line 567 of file result.hpp.

◆ operator*()

template<typename ResultSet , typename... Types>
auto relx::result::RowIterator< ResultSet, Types >::operator* ( ) const
inline

Definition at line 574 of file result.hpp.

◆ operator++()

template<typename ResultSet , typename... Types>
RowIterator & relx::result::RowIterator< ResultSet, Types >::operator++ ( )
inline

Definition at line 569 of file result.hpp.

Member Data Documentation

◆ column_indices

template<typename ResultSet , typename... Types>
std::array<size_t, sizeof...(Types)> relx::result::RowIterator< ResultSet, Types >::column_indices

Definition at line 565 of file result.hpp.

◆ index

template<typename ResultSet , typename... Types>
size_t relx::result::RowIterator< ResultSet, Types >::index

Definition at line 564 of file result.hpp.

◆ results

template<typename ResultSet , typename... Types>
const ResultSet& relx::result::RowIterator< ResultSet, Types >::results

Definition at line 563 of file result.hpp.


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