38 #ifndef MYSQLPP_NOEXCEPTIONS_H    39 #define MYSQLPP_NOEXCEPTIONS_H    45 #if !defined(DOXYGEN_IGNORE)    47 class MYSQLPP_EXPORT NoExceptions;
   106         mutable bool exceptions_;
   129         exceptions_were_enabled_(a.throw_exceptions())
   131                 assoc_.disable_exceptions();
   139                 assoc_.set_exceptions(exceptions_were_enabled_);
   144         bool exceptions_were_enabled_;
   154 #endif // MYSQLPP_NOEXCEPTIONS_H void disable_exceptions() const
Disable exceptions from the object. 
Definition: noexceptions.h:89
Definition: autoflag.h:31
bool throw_exceptions() const
Returns true if exceptions are enabled. 
Definition: noexceptions.h:92
Disable exceptions in an object derived from OptionalExceptions. 
Definition: noexceptions.h:119
OptionalExceptions(bool e=true)
Default constructor. 
Definition: noexceptions.h:77
Interface allowing a class to have optional exceptions. 
Definition: noexceptions.h:71
~NoExceptions()
Destructor. 
Definition: noexceptions.h:137
virtual ~OptionalExceptions()
Destroy object. 
Definition: noexceptions.h:83
This file includes top-level definitions for use both internal to the library, and outside it...
NoExceptions(const OptionalExceptions &a)
Constructor. 
Definition: noexceptions.h:127
void set_exceptions(bool e) const
Sets the exception state to a particular value. 
Definition: noexceptions.h:99
void enable_exceptions() const
Enable exceptions from the object. 
Definition: noexceptions.h:86