libpqxx
The C++ client library for PostgreSQL
field_ref-const_row_iterator.hxx
Go to the documentation of this file.
1 #ifndef PQXX_INTERNAL_GATES_FIELD_REF_CONST_ROW_ITERATOR_HXX
2 #define PQXX_INTERNAL_GATES_FIELD_REF_CONST_ROW_ITERATOR_HXX
3 
5 
6 namespace pqxx
7 {
8 class field_ref;
9 } // namespace pqxx
10 
11 
12 namespace pqxx::internal::gate
13 {
15 {
17 
18  explicit constexpr field_ref_const_row_iterator(reference x) noexcept :
19  super(x)
20  {}
21 
22  void offset(row_difference_type d) { home().offset(d); }
23 };
24 } // namespace pqxx::internal::gate
25 #endif
Iterator for fields in a row. Use as row::const_iterator.
Definition: row.hxx:748
Lightweight reference to a field in a result set.
Definition: field.hxx:52
Base class for call gates.
Definition: callgate.hxx:55
Definition: field_ref-const_row_iterator.hxx:15
#define PQXX_PRIVATE
Definition: header-pre.hxx:207
Definition: connection.hxx:94
The home of all libpqxx classes, functions, templates, etc.
Definition: array.cxx:26
int row_difference_type
Difference between row sizes.
Definition: types.hxx:86