libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-stream_from.hxx
Go to the documentation of this file.
1
#if !defined(PQXX_H_CONNECTION_STREAM_FROM)
2
# define PQXX_H_CONNECTION_STREAM_FROM
3
4
# include <
pqxx/internal/callgate.hxx
>
5
6
# include "
pqxx/connection.hxx
"
7
8
namespace
pqxx::internal::gate
9
{
10
// Not publicising this call gate to specific classes. We also use it in
11
// stream_query, which is a template.
12
struct
PQXX_PRIVATE
connection_stream_from : callgate<connection>
13
{
14
connection_stream_from(reference x) : super{x} {}
15
16
auto
read_copy_line() {
return
home().read_copy_line(); }
17
};
18
}
// namespace pqxx::internal::gate
19
#endif
callgate.hxx
connection.hxx
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
include
pqxx
internal
gates
connection-stream_from.hxx
Generated by
1.15.0