libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
icursor_iterator-icursorstream.hxx
Go to the documentation of this file.
1
#include <
pqxx/internal/callgate.hxx
>
2
3
namespace
pqxx::internal::gate
4
{
5
class
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
callgate.hxx
pqxx::internal::callgate< icursor_iterator >::reference
icursor_iterator & reference
Definition
callgate.hxx:60
pqxx::internal::callgate< icursor_iterator >::callgate
callgate(reference x)
Definition
callgate.hxx:62
pqxx::internal::callgate< icursor_iterator >::super
callgate< icursor_iterator > super
Definition
callgate.hxx:58
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
include
pqxx
internal
gates
icursor_iterator-icursorstream.hxx
Generated by
1.17.0