|
libpqxx
The C++ client library for PostgreSQL
|
Iterator for rows in a result. Use as result::const_iterator. More...
#include <result_iterator.hxx>
Inheritance diagram for pqxx::const_result_iterator:Public Types | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = row_ref const |
| using | pointer = row_ref const * |
| using | reference = row_ref |
| using | size_type = result_size_type |
| using | difference_type = result_difference_type |
Arithmetic operators | |
| const_result_iterator | operator+ (difference_type) const |
| const_result_iterator | operator- (difference_type) const |
| difference_type | operator- (const_result_iterator const &) const |
| const_result_iterator | operator+ (difference_type, const_result_iterator const &) |
Iterator for rows in a result. Use as result::const_iterator.
A result, once obtained, cannot be modified. Therefore all iterators on a result are const iterators.
| using pqxx::const_result_iterator::iterator_category = std::random_access_iterator_tag |
| using pqxx::const_result_iterator::pointer = row_ref const * |
| using pqxx::const_result_iterator::value_type = row_ref const |
|
defaultnoexcept |
Create an iterator, but in an unusable state.
|
defaultnoexcept |
Copy an iterator.
|
defaultnoexcept |
Move an iterator.
|
inlinenoexcept |
Create an iterator pointing at a row.
|
inlineexplicitnoexcept |
Create an iterator pointing at a row.
|
default |
|
inline |
|
inlinenoexcept |
Dereference the iterator.
|
inline |
|
inline |
| pqxx::const_result_iterator pqxx::const_result_iterator::operator++ | ( | int | ) | & |
|
inline |
|
inline |
|
inline |
|
inline |
| pqxx::const_result_iterator pqxx::const_result_iterator::operator-- | ( | int | ) | & |
|
inline |
|
inlinenoexcept |
Dereference the iterator.
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
Interchange two iterators in an exception-safe manner.
|
friend |