libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
transaction-transaction_focus.hxx
Go to the documentation of this file.
1
#include <
pqxx/internal/callgate.hxx
>
2
3
#include "
pqxx/transaction_base.hxx
"
4
5
namespace
pqxx::internal::gate
6
{
7
class
PQXX_PRIVATE
transaction_transaction_focus : callgate<transaction_base>
8
{
9
friend
class
pqxx::transaction_focus;
10
11
transaction_transaction_focus(reference x) : super(x) {}
12
13
void
register_focus(transaction_focus *focus)
14
{
15
home().register_focus(focus);
16
}
17
void
unregister_focus(transaction_focus *focus)
noexcept
18
{
19
home().unregister_focus(focus);
20
}
21
void
register_pending_error(zview error)
22
{
23
home().register_pending_error(error);
24
}
25
void
register_pending_error(std::string &&error)
26
{
27
home().register_pending_error(std::move(error));
28
}
29
};
30
}
// namespace pqxx::internal::gate
callgate.hxx
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
transaction_base.hxx
include
pqxx
internal
gates
transaction-transaction_focus.hxx
Generated by
1.17.0