Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
cppgres::spi_executor::result_iterator< T > Struct Template Reference

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

constexpr result_iterator (::SPITupleTable *tuptable) noexcept
 
constexpr result_iterator (::SPITupleTable *tuptable, size_t n) noexcept
 
bool operator== (size_t end_index) const
 
bool operator!= (size_t end_index) const
 
constexpr T & operator* () const
 
constexpr result_iteratoroperator++ () noexcept
 
constexpr result_iterator operator++ (int) noexcept
 
constexpr result_iteratoroperator-- () noexcept
 
constexpr result_iterator operator-- (int) noexcept
 
constexpr result_iterator operator+ (const difference_type n) const noexcept
 
result_iteratoroperator+= (difference_type n) noexcept
 
constexpr result_iterator operator- (difference_type n) const noexcept
 
result_iteratoroperator-= (difference_type n) noexcept
 
constexpr difference_type operator- (const result_iterator &other) const noexcept
 
T & operator[] (difference_type n) const
 
constexpr bool operator== (const result_iterator &other) const noexcept
 
constexpr bool operator!= (const result_iterator &other) const noexcept
 
constexpr bool operator< (const result_iterator &other) const noexcept
 
constexpr bool operator> (const result_iterator &other) const noexcept
 
constexpr bool operator<= (const result_iterator &other) const noexcept
 
constexpr bool operator>= (const result_iterator &other) const noexcept
 

Public Attributes

::SPITupleTable * tuptable
 
size_t index
 
std::vector< std::optional< T > > tuples
 

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