pqxx::connectionpolicy Class Reference
[Connection classes]

#include <connectionpolicy.hxx>

Inheritance diagram for pqxx::connectionpolicy:
pqxx::connect_async pqxx::connect_direct pqxx::connect_lazy pqxx::connect_null

List of all members.

Public Types

typedef internal::pq::PGconn * handle

Public Member Functions

 connectionpolicy (const std::string &opts)
virtual ~connectionpolicy () PQXX_NOEXCEPT
const std::string & options () const PQXX_NOEXCEPT
virtual handle do_startconnect (handle orig)
virtual handle do_completeconnect (handle orig)
virtual handle do_dropconnect (handle orig) PQXX_NOEXCEPT
virtual handle do_disconnect (handle orig) PQXX_NOEXCEPT
virtual bool is_ready (handle) const PQXX_NOEXCEPT

Protected Member Functions

handle normalconnect (handle)

Member Typedef Documentation

typedef internal::pq::PGconn* pqxx::connectionpolicy::handle

Constructor & Destructor Documentation

pqxx::connectionpolicy::connectionpolicy ( const std::string &  opts  )  [explicit]
pqxx::connectionpolicy::~connectionpolicy (  )  [virtual]

Member Function Documentation

pqxx::connectionpolicy::handle pqxx::connectionpolicy::do_completeconnect ( handle  orig  )  [virtual]
pqxx::connectionpolicy::handle pqxx::connectionpolicy::do_disconnect ( handle  orig  )  [virtual]
pqxx::connectionpolicy::handle pqxx::connectionpolicy::do_dropconnect ( handle  orig  )  [virtual]

Reimplemented in pqxx::connect_async.

pqxx::connectionpolicy::handle pqxx::connectionpolicy::do_startconnect ( handle  orig  )  [virtual]
bool pqxx::connectionpolicy::is_ready ( handle  h  )  const [virtual]

Reimplemented in pqxx::connect_async.

Referenced by pqxx::connection_base::init().

pqxx::connectionpolicy::handle pqxx::connectionpolicy::normalconnect ( handle  orig  )  [protected]
const std::string& pqxx::connectionpolicy::options (  )  const

The documentation for this class was generated from the following files:

Generated on 17 Mar 2017 for libpqxx by  doxygen 1.6.1