libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
icursor_iterator-icursorstream.hxx
1#include <pqxx/internal/callgate.hxx>
2
3namespace pqxx::internal::gate
4{
5class PQXX_PRIVATE icursor_iterator_icursorstream : callgate<icursor_iterator>
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
Base class for call gates.
Definition callgate.hxx:55
icursor_iterator & reference
Definition callgate.hxx:60
Definition icursor_iterator-icursorstream.hxx:6
Result set containing data returned by a query or command.
Definition result.hxx:73