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

pqxx::lazyconnection Class Reference

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

#include <connection.hxx>

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 () throw ()

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.hxx. 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.
The README file for libpqxx gives a quick overview of how connection strings work; see the PostgreSQL documentation (particularly for libpq, the C-level interface) for a complete list.

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.
The README file for libpqxx gives a quick overview of how connection strings work; see the PostgreSQL documentation (particularly for libpq, the C-level interface) for a complete list.

pqxx::lazyconnection::~lazyconnection  )  throw () [virtual]
 


The documentation for this class was generated from the following files:
Generated on Mon Nov 15 11:28:02 2004 for libpqxx by  doxygen 1.3.9.1