Loading...
Searching...
No Matches
connection-largeobject.hxx
#include <string>
#include <pqxx/internal/callgate.hxx>
#include <pqxx/internal/libpq-forward.hxx>
namespace pqxx
{
class blob;
class largeobject;
} // namespace pqxx
namespace pqxx::internal::gate
{
class PQXX_PRIVATE connection_largeobject : callgate<connection>
{
friend class pqxx::blob;
friend class pqxx::largeobject;
connection_largeobject(reference x) : super(x) {}
pq::PGconn *raw_connection() const { return home().raw_connection(); }
};
class PQXX_PRIVATE const_connection_largeobject : callgate<connection const>
{
friend class pqxx::blob;
friend class pqxx::largeobject;
const_connection_largeobject(reference x) : super(x) {}
std::string error_message() const { return home().err_msg(); }
};
} // namespace pqxx::internal::gate
pqxx::blob
Definition blob.hxx:55
pqxx::connection
Connection to a database.
Definition connection.hxx:279
pqxx::internal::callgate
Base class for call gates.
Definition callgate.hxx:55
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
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::largeobject
Identity of a large object.
Definition largeobject.hxx:34
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27