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

pqxx::internal::scoped_noticer Class Reference

Temporarily set different noticer for connection. More...

#include <connection_base.hxx>

Inheritance diagram for pqxx::internal::scoped_noticer:

Inheritance graph
[legend]
Collaboration diagram for pqxx::internal::scoped_noticer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 scoped_noticer (connection_base &c, PGSTD::auto_ptr< noticer > t) throw ()
 Start period of different noticer.
 ~scoped_noticer ()

Detailed Description

Temporarily set different noticer for connection.

Set different noticer in given connection for the duration of the scoped_noticer's lifetime. After that, the original noticer is restored.

No effort is made to respect any new noticer that may have been set in the meantime, so don't do that.


Constructor & Destructor Documentation

pqxx::internal::scoped_noticer::scoped_noticer connection_base c,
PGSTD::auto_ptr< noticer t
throw ()
 

Start period of different noticer.

Parameters:
c connection object whose noticer should be temporarily changed
t temporary noticer object to use; will be destroyed on completion

pqxx::internal::scoped_noticer::~scoped_noticer  ) 
 


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:11:34 2005 for libpqxx by  doxygen 1.4.2