libpqxx  7.2.0
pqxx::const_reverse_result_iterator Class Reference

Reverse iterator for result. Use as result::const_reverse_iterator. More...

#include <result_iterator.hxx>

Inheritance diagram for pqxx::const_reverse_result_iterator:

Public Types

using super = const_result_iterator
 
using iterator_type = const_result_iterator
 
using value_type = iterator_type::value_type
 
using reference = iterator_type::reference
 
using difference_type = result_difference_type
 
using iterator_category = std::random_access_iterator_tag
 
using pointer = row const *
 

Public Member Functions

 const_reverse_result_iterator ()=default
 
 const_reverse_result_iterator (const_reverse_result_iterator const &rhs)=default
 
 const_reverse_result_iterator (const_result_iterator const &rhs)
 
 const_reverse_result_iterator (const_result_iterator const &&rhs)
 
PQXX_PURE const_result_iterator base () const noexcept
 
Manipulations
const_reverse_result_iteratoroperator= (const_reverse_result_iterator const &r)
 
const_reverse_result_iteratoroperator= (const_reverse_result_iterator &&r)
 
const_reverse_result_iteratoroperator++ ()
 
const_reverse_result_iterator operator++ (int)
 
const_reverse_result_iteratoroperator-- ()
 
const_reverse_result_iterator operator-- (int)
 
const_reverse_result_iteratoroperator+= (difference_type i)
 
const_reverse_result_iteratoroperator-= (difference_type i)
 
void swap (const_reverse_result_iterator &other) noexcept
 
Arithmetic operators
const_reverse_result_iterator operator+ (difference_type i) const
 
const_reverse_result_iterator operator- (difference_type i)
 
difference_type operator- (const_reverse_result_iterator const &rhs) const
 
Comparisons
bool operator== (const_reverse_result_iterator const &rhs) const noexcept
 
bool operator!= (const_reverse_result_iterator const &rhs) const noexcept
 
bool operator< (const_reverse_result_iterator const &rhs) const
 
bool operator<= (const_reverse_result_iterator const &rhs) const
 
bool operator> (const_reverse_result_iterator const &rhs) const
 
bool operator>= (const_reverse_result_iterator const &rhs) const
 

Detailed Description

Reverse iterator for result. Use as result::const_reverse_iterator.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using pqxx::const_result_iterator::iterator_category = std::random_access_iterator_tag

◆ iterator_type

◆ pointer

◆ reference

◆ super

◆ value_type

Constructor & Destructor Documentation

◆ const_reverse_result_iterator() [1/4]

pqxx::const_reverse_result_iterator::const_reverse_result_iterator ( )
default

◆ const_reverse_result_iterator() [2/4]

pqxx::const_reverse_result_iterator::const_reverse_result_iterator ( const_reverse_result_iterator const &  rhs)
default

◆ const_reverse_result_iterator() [3/4]

pqxx::const_reverse_result_iterator::const_reverse_result_iterator ( const_result_iterator const &  rhs)
explicit

◆ const_reverse_result_iterator() [4/4]

pqxx::const_reverse_result_iterator::const_reverse_result_iterator ( const_result_iterator const &&  rhs)
explicit

Member Function Documentation

◆ base()

pqxx::result::const_iterator pqxx::result::const_reverse_iterator::base ( ) const
noexcept

Referenced by pqxx::operator+().

◆ operator!=()

bool pqxx::const_reverse_result_iterator::operator!= ( const_reverse_result_iterator const &  rhs) const
noexcept

◆ operator+()

const_reverse_result_iterator pqxx::const_reverse_result_iterator::operator+ ( difference_type  i) const

◆ operator++() [1/2]

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator++ ( )

◆ operator++() [2/2]

pqxx::const_reverse_result_iterator pqxx::const_reverse_result_iterator::operator++ ( int  )

◆ operator+=()

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator+= ( difference_type  i)

◆ operator-() [1/2]

const_reverse_result_iterator pqxx::const_reverse_result_iterator::operator- ( difference_type  i)

◆ operator-() [2/2]

difference_type pqxx::const_reverse_result_iterator::operator- ( const_reverse_result_iterator const &  rhs) const

◆ operator--() [1/2]

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator-- ( )

◆ operator--() [2/2]

pqxx::const_reverse_result_iterator pqxx::const_reverse_result_iterator::operator-- ( int  )

◆ operator-=()

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator-= ( difference_type  i)

◆ operator<()

bool pqxx::const_reverse_result_iterator::operator< ( const_reverse_result_iterator const &  rhs) const

◆ operator<=()

bool pqxx::const_reverse_result_iterator::operator<= ( const_reverse_result_iterator const &  rhs) const

◆ operator=() [1/2]

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator= ( const_reverse_result_iterator const &  r)

◆ operator=() [2/2]

const_reverse_result_iterator& pqxx::const_reverse_result_iterator::operator= ( const_reverse_result_iterator &&  r)

◆ operator==()

bool pqxx::const_reverse_result_iterator::operator== ( const_reverse_result_iterator const &  rhs) const
noexcept

◆ operator>()

bool pqxx::const_reverse_result_iterator::operator> ( const_reverse_result_iterator const &  rhs) const

◆ operator>=()

bool pqxx::const_reverse_result_iterator::operator>= ( const_reverse_result_iterator const &  rhs) const

◆ swap()

void pqxx::const_reverse_result_iterator::swap ( const_reverse_result_iterator other)
noexcept

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