1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MySQL++ Reference Manual</title>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="refman.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<b>mysqlpp</b>::<a class="el" href="classmysqlpp_1_1NoExceptions.html">NoExceptions</a></div>
<h1>mysqlpp::NoExceptions Class Reference</h1><!-- doxytag: class="mysqlpp::NoExceptions" -->Disable exceptions in an object derived from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a>.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="noexceptions_8h-source.html">noexceptions.h</a>></code>
<p>
Collaboration diagram for mysqlpp::NoExceptions:<p><center><img src="classmysqlpp_1_1NoExceptions__coll__graph.png" border="0" usemap="#mysqlpp_1_1NoExceptions__coll__map" alt="Collaboration graph"></center>
<map name="mysqlpp_1_1NoExceptions__coll__map">
<area href="classmysqlpp_1_1OptionalExceptions.html" shape="rect" coords="5,5,219,32" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classmysqlpp_1_1NoExceptions-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1NoExceptions.html#973bfe8078bf8502a301d2eb95645d37">NoExceptions</a> (const <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a> &a)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#973bfe8078bf8502a301d2eb95645d37"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1NoExceptions.html#aff5fcc1cd24040c594055773303209f">~NoExceptions</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aff5fcc1cd24040c594055773303209f"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Disable exceptions in an object derived from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a>.
<p>
This class was designed to be created on the stack, taking a reference to a subclass of <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a>. (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.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="973bfe8078bf8502a301d2eb95645d37"></a><!-- doxytag: member="mysqlpp::NoExceptions::NoExceptions" ref="973bfe8078bf8502a301d2eb95645d37" args="(const OptionalExceptions &a)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">mysqlpp::NoExceptions::NoExceptions </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a> & </td>
<td class="paramname"> <em>a</em> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor.
<p>
Takes a reference to an <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a> derivative, saves that object's current exception state, and disables exceptions.
</div>
</div><p>
<a class="anchor" name="aff5fcc1cd24040c594055773303209f"></a><!-- doxytag: member="mysqlpp::NoExceptions::~NoExceptions" ref="aff5fcc1cd24040c594055773303209f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">mysqlpp::NoExceptions::~NoExceptions </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
Restores our associate object's previous exception state.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="noexceptions_8h-source.html">noexceptions.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on 10 Dec 2013 for MySQL++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>
|