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: