libpqxx: pqxx::internal::unique< GUEST > Class Template Reference

libpqxx 4.0.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
pqxx::internal::unique< GUEST > Class Template Reference

Ensure proper opening/closing of GUEST objects related to a "host" object. More...

`#include <util.hxx>`

## Public Member Functions
| unique ()
GUEST * | get () const throw ()
void | Register (GUEST *G)
void | Unregister (GUEST *G)

## Detailed Description

### template<typename GUEST>
class pqxx::internal::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. GUEST must be derived from namedclass.

## Constructor & Destructor Documentation

template<typename GUEST>

pqxx::internal::unique< GUEST >::unique | ( |  | ) |

## Member Function Documentation

template<typename GUEST>

GUEST* pqxx::internal::unique< GUEST >::get | ( |  | ) | const throw ()

template<typename GUEST>

void pqxx::internal::unique< GUEST >::Register | ( | GUEST * | G | ) |

template<typename GUEST>

void pqxx::internal::unique< GUEST >::Unregister | ( | GUEST * | G | ) |

The documentation for this class was generated from the following file:

- util.hxx