Reverse iterator for a row. Use as row::const_reverse_iterator. More...
#include <row.hxx>
Reverse iterator for a row. Use as row::const_reverse_iterator.
pqxx::const_reverse_row_iterator::const_reverse_row_iterator | ( | const const_reverse_row_iterator & | r | ) |
pqxx::const_reverse_row_iterator::const_reverse_row_iterator | ( | const super & | rhs | ) | [explicit] |
pqxx::const_row_iterator pqxx::const_reverse_row_iterator::base | ( | ) | const |
bool pqxx::const_reverse_row_iterator::operator!= | ( | const const_reverse_row_iterator & | rhs | ) | const |
Byte-by-byte comparison (all nulls are considered equal).
Reimplemented from pqxx::const_row_iterator.
const_reverse_row_iterator pqxx::const_reverse_row_iterator::operator+ | ( | difference_type | i | ) | const |
Reimplemented from pqxx::const_row_iterator.
pqxx::const_reverse_row_iterator pqxx::const_reverse_row_iterator::operator++ | ( | int | ) |
Reimplemented from pqxx::const_row_iterator.
References operator++().
const_reverse_row_iterator pqxx::const_reverse_row_iterator::operator++ | ( | ) |
Reimplemented from pqxx::const_row_iterator.
Referenced by operator++().
const_reverse_row_iterator& pqxx::const_reverse_row_iterator::operator+= | ( | difference_type | i | ) |
Reimplemented from pqxx::const_row_iterator.
difference_type pqxx::const_reverse_row_iterator::operator- | ( | const const_reverse_row_iterator & | rhs | ) | const |
const_reverse_row_iterator pqxx::const_reverse_row_iterator::operator- | ( | difference_type | i | ) |
pqxx::const_reverse_row_iterator pqxx::const_reverse_row_iterator::operator-- | ( | int | ) |
Reimplemented from pqxx::const_row_iterator.
References operator--().
const_reverse_row_iterator& pqxx::const_reverse_row_iterator::operator-- | ( | ) |
Reimplemented from pqxx::const_row_iterator.
Referenced by operator--().
const_reverse_row_iterator& pqxx::const_reverse_row_iterator::operator-= | ( | difference_type | i | ) |
Reimplemented from pqxx::const_row_iterator.
bool pqxx::const_reverse_row_iterator::operator< | ( | const const_reverse_row_iterator & | rhs | ) | const |
Reimplemented from pqxx::const_row_iterator.
bool pqxx::const_reverse_row_iterator::operator<= | ( | const const_reverse_row_iterator & | rhs | ) | const |
Reimplemented from pqxx::const_row_iterator.
const_reverse_row_iterator& pqxx::const_reverse_row_iterator::operator= | ( | const const_reverse_row_iterator & | r | ) |
bool pqxx::const_reverse_row_iterator::operator== | ( | const const_reverse_row_iterator & | rhs | ) | const |
Byte-by-byte comparison of two fields (all nulls are considered equal).
Handling of null values differs from that in SQL where a comparison involving a null value yields null, so nulls are never considered equal to one another or even to themselves.
Null handling also probably differs from the closest equivalent in C++, which is the NaN (Not-a-Number) value, a singularity comparable to SQL's null. This is because the builtin == operator demands that a == a.
The usefulness of this operator is questionable. No interpretation whatsoever is imposed on the data; 0 and 0.0 are considered different, as are null vs. the empty string, or even different (but possibly equivalent and equally valid) encodings of the same Unicode character etc.
Reimplemented from pqxx::const_row_iterator.
bool pqxx::const_reverse_row_iterator::operator> | ( | const const_reverse_row_iterator & | rhs | ) | const |
Reimplemented from pqxx::const_row_iterator.
bool pqxx::const_reverse_row_iterator::operator>= | ( | const const_reverse_row_iterator & | rhs | ) | const |
Reimplemented from pqxx::const_row_iterator.