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 101 102 103
|
<!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 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_1BadIndex.html">BadIndex</a></div>
<h1>mysqlpp::BadIndex Class Reference</h1><!-- doxytag: class="mysqlpp::BadIndex" --><!-- doxytag: inherits="mysqlpp::Exception" --><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when an object with operator [] or an at() method gets called with a bad index.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="exceptions_8h-source.html">exceptions.h</a>></code>
<p>
Inheritance diagram for mysqlpp::BadIndex:<p><center><img src="classmysqlpp_1_1BadIndex__inherit__graph.png" border="0" usemap="#mysqlpp_1_1BadIndex__inherit__map" alt="Inheritance graph"></center>
<map name="mysqlpp_1_1BadIndex__inherit__map">
<area href="classmysqlpp_1_1Exception.html" shape="rect" coords="6,7,158,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for mysqlpp::BadIndex:<p><center><img src="classmysqlpp_1_1BadIndex__coll__graph.png" border="0" usemap="#mysqlpp_1_1BadIndex__coll__map" alt="Collaboration graph"></center>
<map name="mysqlpp_1_1BadIndex__coll__map">
<area href="classmysqlpp_1_1Exception.html" shape="rect" coords="6,97,158,121" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classmysqlpp_1_1BadIndex-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_1BadIndex.html#4067f2146bef7e0c309f9f832d46cbe1">BadIndex</a> (const char *what, int bad_index, int max_index)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create exception object. <a href="#4067f2146bef7e0c309f9f832d46cbe1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c50efa62247aa2010a3079d778a67a8e"></a><!-- doxytag: member="mysqlpp::BadIndex::~BadIndex" ref="c50efa62247aa2010a3079d778a67a8e" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadIndex.html#c50efa62247aa2010a3079d778a67a8e">~BadIndex</a> () throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy exception. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when an object with operator [] or an at() method gets called with a bad index.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="4067f2146bef7e0c309f9f832d46cbe1"></a><!-- doxytag: member="mysqlpp::BadIndex::BadIndex" ref="4067f2146bef7e0c309f9f832d46cbe1" args="(const char *what, int bad_index, int max_index)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">mysqlpp::BadIndex::BadIndex </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>what</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>bad_index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>max_index</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create exception object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>bad_index</em> </td><td>type of object bad index tried on </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bad_index</em> </td><td>index value the container didn't like </td></tr>
<tr><td valign="top"></td><td valign="top"><em>max_index</em> </td><td>largest legal index value for container </td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="exceptions_8h-source.html">exceptions.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Feb 4 14:43:05 2009 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>
|