Loading...
Searching...
No Matches
icursor_iterator-icursorstream.hxx
#include <pqxx/internal/callgate.hxx>
namespace pqxx::internal::gate
{
class PQXX_PRIVATE icursor_iterator_icursorstream : callgate<icursor_iterator>
{
friend class pqxx::icursorstream;
icursor_iterator_icursorstream(reference x) : super(x) {}
icursor_iterator::difference_type pos() const noexcept
{
return home().pos();
}
icursor_iterator *get_prev() { return home().m_prev; }
void set_prev(icursor_iterator *i) { home().m_prev = i; }
icursor_iterator *get_next() { return home().m_next; }
void set_next(icursor_iterator *i) { home().m_next = i; }
void fill(result const &r) { home().fill(r); }
};
} // namespace pqxx::internal::gate
pqxx::internal::callgate
Base class for call gates.
Definition callgate.hxx:55
pqxx::internal::callgate< icursor_iterator >::reference
icursor_iterator & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
pqxx::internal::gate::icursor_iterator_icursorstream
Definition icursor_iterator-icursorstream.hxx:6
pqxx::result
Result set containing data returned by a query or command.
Definition result.hxx:92