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
|
<!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="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul></div>
<h1>noexceptions.h File Reference</h1>Declares interface that allows exceptions to be optional. <a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="common_8h-source.html">common.h</a>"</code><br>
<p>
Include dependency graph for noexceptions.h:<p><center><img src="noexceptions_8h__incl.png" border="0" usemap="#noexceptions.h_map" alt=""></center>
<map name="noexceptions.h_map">
<area href="common_8h.html" shape="rect" coords="177,5,268,29" alt="">
</map>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="noexceptions_8h__dep__incl.png" border="0" usemap="#noexceptions.hdep_map" alt=""></center>
<map name="noexceptions.hdep_map">
<area href="connection_8h.html" shape="rect" coords="176,77,283,101" alt="">
<area href="query_8h.html" shape="rect" coords="521,227,591,251" alt="">
<area href="result_8h.html" shape="rect" coords="365,252,437,276" alt="">
<area href="row_8h.html" shape="rect" coords="201,301,257,325" alt="">
<area href="tcp__connection_8h.html" shape="rect" coords="335,5,468,29" alt="">
<area href="uds__connection_8h.html" shape="rect" coords="333,53,469,77" alt="">
<area href="wnp__connection_8h.html" shape="rect" coords="331,101,472,125" alt="">
<area href="mysql++_8h.html" shape="rect" coords="640,176,736,200" alt="">
</map>
<p>
<a href="noexceptions_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>mysqlpp</b></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Interface allowing a class to have optional exceptions. <a href="classmysqlpp_1_1OptionalExceptions.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1NoExceptions.html">mysqlpp::NoExceptions</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disable exceptions in an object derived from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">OptionalExceptions</a>. <a href="classmysqlpp_1_1NoExceptions.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Declares interface that allows exceptions to be optional.
<p>
A class may inherit from OptionalExceptions, which will add to it a mechanism by which a user can tell objects of that class to suppress exceptions. (They are enabled by default.) This module also declares a NoExceptions class, objects of which take a reference to any class derived from OptionalExceptions. The NoExceptions constructor calls the method that disables exceptions, and the destructor reverts them to the previous state. One uses the NoExceptions object within a scope to suppress exceptions in that block, without having to worry about reverting the setting when the block exits. <hr size="1"><address style="align: right;"><small>Generated on Fri Feb 29 16:26:09 2008 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>
|