libpqxx
The C++ client library for PostgreSQL
icursorstream-icursor_iterator.hxx
Go to the documentation of this file.
2 
3 namespace pqxx::internal::gate
4 {
6 {
7  friend class pqxx::icursor_iterator;
8 
10 
11  void insert_iterator(icursor_iterator *i) noexcept
12  {
13  home().insert_iterator(i);
14  }
15 
16  void remove_iterator(icursor_iterator *i) const noexcept
17  {
18  home().remove_iterator(i);
19  }
20 
21  icursorstream::size_type forward() { return home().forward(); }
23  {
24  return home().forward(n);
25  }
26 
27  void service_iterators(icursorstream::difference_type p)
28  {
29  home().service_iterators(p);
30  }
31 };
32 } // namespace pqxx::internal::gate
Approximate istream_iterator for icursorstream.
Definition: cursor.hxx:425
Simple read-only cursor represented as a stream of results.
Definition: cursor.hxx:279
cursor_base::size_type size_type
Definition: cursor.hxx:281
cursor_base::difference_type difference_type
Definition: cursor.hxx:282
Base class for call gates.
Definition: callgate.hxx:55
Definition: icursorstream-icursor_iterator.hxx:6
#define PQXX_PRIVATE
Definition: header-pre.hxx:158
Definition: connection.hxx:107