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

pqxx::Unique< GUEST > Class Template Reference

#include <util.h>

List of all members.

Public Member Functions

 Unique ()
const GUEST * get () const throw ()
void Register (const GUEST *G)
void Unregister (const GUEST *G)


Detailed Description

template<typename GUEST>
class pqxx::Unique< GUEST >

Ensure proper opening/closing of GUEST objects related to a "host" object, where 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.


Constructor & Destructor Documentation

template<typename GUEST>
pqxx::Unique< GUEST >::Unique  
 


Member Function Documentation

template<typename GUEST>
const GUEST* pqxx::Unique< GUEST >::get   const throw ()
 

template<typename GUEST>
void pqxx::Unique< GUEST >::Register const GUEST *    G
 

template<typename GUEST>
void pqxx::Unique< GUEST >::Unregister const GUEST *    G
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 28 19:23:33 2003 for libpqxx by doxygen1.3-rc3