pqxx::unique< GUEST > Class Template Reference
Ensure proper opening/closing of GUEST objects related to a "host" object.
More...
#include <util.hxx>
List of all members.
Detailed Description
template<typename GUEST>
class pqxx::unique< GUEST >
Ensure proper opening/closing of GUEST objects related to a "host" object.
Only a single GUEST may exist for a single host at any given time. The template assumes that Classname<GUEST>() returns a user-readable name for the guest type, and that GUEST::name() returns a user-readable name for the GUEST object.
This template used to be called Unique.
Constructor & Destructor Documentation
Member Function Documentation
template<typename GUEST> |
GUEST* pqxx::unique< GUEST >::get |
( |
|
) |
const throw () |
|
template<typename GUEST> |
void pqxx::unique< GUEST >::Register |
( |
GUEST * |
G |
) |
|
|
template<typename GUEST> |
void pqxx::unique< GUEST >::Unregister |
( |
GUEST * |
G |
) |
|
|
The documentation for this class was generated from the following file:
Generated on Fri Nov 14 19:37:20 2003 for libpqxx by
1.3.4