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();
 
  134 #if __cplusplus >= 201103L 
  145                 assoc_.set_exceptions(exceptions_were_enabled_);
 
  150         bool exceptions_were_enabled_;
 
  152 #if __cplusplus < 201103L 
Disable exceptions in an object derived from OptionalExceptions.
Definition: noexceptions.h:120
NoExceptions(const OptionalExceptions &a)
Constructor.
Definition: noexceptions.h:127
~NoExceptions()
Destructor.
Definition: noexceptions.h:143
Interface allowing a class to have optional exceptions.
Definition: noexceptions.h:72
OptionalExceptions(bool e=true)
Default constructor.
Definition: noexceptions.h:77
void enable_exceptions() const
Enable exceptions from the object.
Definition: noexceptions.h:86
void disable_exceptions() const
Disable exceptions from the object.
Definition: noexceptions.h:89
void set_exceptions(bool e) const
Sets the exception state to a particular value.
Definition: noexceptions.h:99
bool throw_exceptions() const
Returns true if exceptions are enabled.
Definition: noexceptions.h:92
virtual ~OptionalExceptions()
Destroy object.
Definition: noexceptions.h:83
This file includes top-level definitions for use both internal to the library, and outside it....