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 Mon Jun 2 23:45:53 2003 for libpqxx by doxygen1.3-rc3