Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

mysqlpp::NoExceptions Class Reference

Disable exceptions in an object derived from OptionalExceptions. More...

#include <noexceptions.h>

Collaboration diagram for mysqlpp::NoExceptions:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NoExceptions (OptionalExceptions &a)
 Constructor.

 ~NoExceptions ()
 Destructor.


Detailed Description

Disable exceptions in an object derived from OptionalExceptions.

This class was designed to be created on the stack, taking a reference to a subclass of OptionalExceptions. (We call that our "associate" object.) On creation, we save that object's current exception state, and disable exceptions. On destruction, we restore our associate's previous state.


Constructor & Destructor Documentation

mysqlpp::NoExceptions::NoExceptions OptionalExceptions a  )  [inline]
 

Constructor.

Takes a reference to an OptionalExceptions derivative, saves that object's current exception state, and disables exceptions.

mysqlpp::NoExceptions::~NoExceptions  )  [inline]
 

Destructor.

Restores our associate object's previous exception state.


The documentation for this class was generated from the following file:
Generated on Wed Jul 11 15:35:25 2007 for MySQL++ by doxygen 1.3.5