Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::connect_lazy Class Reference

Lazy connection policy; establishes a deferred connection to a database. More...

#include <connection.hxx>

Inheritance diagram for pqxx::connect_lazy:

pqxx::internal::connectionpolicy_base List of all members.

Public Member Functions

 connect_lazy (connection_base &c)
 Constructor. Sets up lazy connection.

Detailed Description

Lazy connection policy; establishes a deferred connection to a database.

This is connect_direct's lazy younger brother. It does not actually establish a connection immediately; the connection is only created when it is actually used.

This class is a trivial implementation of the connectionpolicy_base interface defined in connection_base.hxx. All features of any interest to client programmers are defined there.


Constructor & Destructor Documentation

pqxx::connect_lazy::connect_lazy connection_base c  )  [explicit]
 

Constructor. Sets up lazy connection.


The documentation for this class was generated from the following file:
Generated on Sun Dec 5 21:56:41 2004 for libpqxx by  doxygen 1.3.9.1