Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

pqxx::lazyconnection Class Reference

Lazy connection class; represents a deferred connection to a database. More...

#include <connection.h>

Inheritance diagram for pqxx::lazyconnection:

pqxx::connection_base List of all members.

Public Member Functions

 lazyconnection ()
 Constructor. Sets up lazy connection.

 lazyconnection (const PGSTD::string &ConnInfo)
 Constructor. Sets up lazy connection.

 lazyconnection (const char ConnInfo[])
 Constructor. Sets up lazy connection.

virtual ~lazyconnection ()

Detailed Description

Lazy connection class; represents a deferred connection to a database.

This is connection's lazy younger brother. Its constructor does not actually open a connection; the connection is only created when it is actually used.

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


Constructor & Destructor Documentation

pqxx::lazyconnection::lazyconnection  
 

Constructor. Sets up lazy connection.

pqxx::lazyconnection::lazyconnection const PGSTD::string &    ConnInfo [explicit]
 

Constructor. Sets up lazy connection.

Parameters:
ConnInfo a PostgreSQL connection string specifying any required parameters, such as server, port, database, and password.

pqxx::lazyconnection::lazyconnection const char    ConnInfo[] [explicit]
 

Constructor. Sets up lazy connection.

Parameters:
ConnInfo a PostgreSQL connection string specifying any required parameters, such as server, port, database, and password. As a special case, a null pointer is taken as the empty string.

pqxx::lazyconnection::~lazyconnection   [virtual]
 


The documentation for this class was generated from the following files:
Generated on Sat Jun 7 00:49:36 2003 for libpqxx by doxygen1.3-rc3