libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
result-connection.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
result_connection :
callgate
<result const>
6
{
7
friend
class
pqxx::connection;
8
9
result_connection(
reference
x) :
super
(x) {}
10
11
operator
bool()
const
{
return
bool(home()); }
12
bool
operator!()
const
{
return
not home(); }
13
};
14
}
// namespace pqxx::internal::gate
callgate.hxx
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition
callgate.hxx:60
pqxx::internal::callgate::callgate
callgate(reference x)
Definition
callgate.hxx:62
pqxx::internal::callgate::super
callgate< HOME > super
This class, to keep constructors easy.
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
result-connection.hxx
Generated by
1.17.0