File: classmysqlpp_1_1NoExceptions.html

package info (click to toggle)
mysql%2B%2B 3.2.1%2Bpristine-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,624 kB
  • ctags: 11,252
  • sloc: cpp: 35,659; sh: 3,034; makefile: 951; perl: 786
file content (100 lines) | stat: -rw-r--r-- 5,542 bytes parent folder | download
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&nbsp;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&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;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 &lt;<a class="el" href="noexceptions_8h-source.html">noexceptions.h</a>&gt;</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">&nbsp;</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> &amp;a)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#973bfe8078bf8502a301d2eb95645d37"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1NoExceptions.html#aff5fcc1cd24040c594055773303209f">~NoExceptions</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &amp; Destructor Documentation</h2>
<a class="anchor" name="973bfe8078bf8502a301d2eb95645d37"></a><!-- doxytag: member="mysqlpp::NoExceptions::NoExceptions" ref="973bfe8078bf8502a301d2eb95645d37" args="(const OptionalExceptions &amp;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> &amp;&nbsp;</td>
          <td class="paramname"> <em>a</em>          </td>
          <td>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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&nbsp;
<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>