libpqxx
The C++ client library for PostgreSQL
icursor_iterator-icursorstream.hxx
Go to the documentation of this file.
2 
3 namespace pqxx::internal::gate
4 {
6 {
7  friend class pqxx::icursorstream;
8 
10 
11  icursor_iterator::difference_type pos() const noexcept
12  {
13  return home().pos();
14  }
15 
16  icursor_iterator *get_prev() { return home().m_prev; }
17  void set_prev(icursor_iterator *i) { home().m_prev = i; }
18 
19  icursor_iterator *get_next() { return home().m_next; }
20  void set_next(icursor_iterator *i) { home().m_next = i; }
21 
22  void fill(result const &r) { home().fill(r); }
23 };
24 } // namespace pqxx::internal::gate
Approximate istream_iterator for icursorstream.
Definition: cursor.hxx:425
istream_type::difference_type difference_type
Definition: cursor.hxx:433
Simple read-only cursor represented as a stream of results.
Definition: cursor.hxx:279
Base class for call gates.
Definition: callgate.hxx:55
Definition: icursor_iterator-icursorstream.hxx:6
#define PQXX_PRIVATE
Definition: header-pre.hxx:158
Definition: connection.hxx:107