libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-errorhandler.hxx
Go to the documentation of this file.
1
#include <
pqxx/internal/callgate.hxx
>
2
3
namespace
pqxx
4
{
5
class
connection;
6
class
errorhandler
;
7
}
// namespace pqxx
8
9
namespace
pqxx::internal::gate
10
{
11
class
PQXX_PRIVATE
connection_errorhandler :
callgate
<connection>
12
{
13
friend
class
pqxx::errorhandler
;
14
15
connection_errorhandler(
reference
x) :
super
(x) {}
16
17
void
register_errorhandler(
errorhandler
*h)
18
{
19
home().register_errorhandler(h);
20
}
21
void
unregister_errorhandler(
errorhandler
*h)
22
{
23
home().unregister_errorhandler(h);
24
}
25
};
26
}
// namespace pqxx::internal::gate
callgate.hxx
pqxx::errorhandler
Definition
errorhandler.hxx:46
pqxx::internal::callgate< connection >::reference
connection & reference
Definition
callgate.hxx:60
pqxx::internal::callgate< connection >::callgate
callgate(reference x)
Definition
callgate.hxx:62
pqxx::internal::callgate< connection >::super
callgate< connection > super
Definition
callgate.hxx:58
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition
array.cxx:27
include
pqxx
internal
gates
connection-errorhandler.hxx
Generated by
1.15.0