libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-largeobject.hxx
1
#include <string>
2
3
#include <pqxx/internal/callgate.hxx>
4
#include <pqxx/internal/libpq-forward.hxx>
5
6
namespace
pqxx
7
{
8
class
blob;
9
class
largeobject;
10
}
// namespace pqxx
11
12
13
namespace
pqxx::internal::gate
14
{
15
class
PQXX_PRIVATE
connection_largeobject
:
callgate
<connection>
16
{
17
friend
class
pqxx::blob;
18
friend
class
pqxx::largeobject;
19
20
connection_largeobject
(
reference
x) :
super
(x) {}
21
22
pq::PGconn *raw_connection()
const
{
return
home().raw_connection(); }
23
};
24
25
26
class
PQXX_PRIVATE
const_connection_largeobject
:
callgate
<connection const>
27
{
28
friend
class
pqxx::blob;
29
friend
class
pqxx::largeobject;
30
31
const_connection_largeobject
(
reference
x) :
super
(x) {}
32
33
std::string error_message()
const
{
return
home().err_msg(); }
34
};
35
}
// namespace pqxx::internal::gate
pqxx::internal::callgate
Base class for call gates.
Definition
callgate.hxx:55
pqxx::internal::callgate< connection >::reference
connection & reference
Definition
callgate.hxx:60
pqxx::internal::gate::connection_largeobject
Definition
connection-largeobject.hxx:16
pqxx::internal::gate::const_connection_largeobject
Definition
connection-largeobject.hxx:27
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition
array.cxx:27
include
pqxx
internal
gates
connection-largeobject.hxx
Generated by
1.12.0