libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
icursor_iterator-icursorstream.hxx
Go to the documentation of this file.
2
4{
5class PQXX_PRIVATE icursor_iterator_icursorstream : callgate<icursor_iterator>
6{
7 friend class pqxx::icursorstream;
8
9 icursor_iterator_icursorstream(reference x) : super(x) {}
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
icursor_iterator & reference
Definition callgate.hxx:60
callgate(reference x)
Definition callgate.hxx:62
callgate< icursor_iterator > super
Definition callgate.hxx:58
#define PQXX_PRIVATE
Definition header-pre.hxx:158
Definition connection.hxx:108