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
|
<!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="structmysqlpp_1_1RefCountedPointerDestroyer_3_01MYSQL__RES_01_4.html">RefCountedPointerDestroyer< MYSQL_RES ></a></div>
<h1>mysqlpp::RefCountedPointerDestroyer< MYSQL_RES > Struct Template Reference</h1><!-- doxytag: class="mysqlpp::RefCountedPointerDestroyer< MYSQL_RES >" -->Functor to call mysql_free_result() on the pointer you pass to it.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="result_8h-source.html">result.h</a>></code>
<p>
<a href="structmysqlpp_1_1RefCountedPointerDestroyer_3_01MYSQL__RES_01_4-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"><a class="anchor" name="ca305bcd5b2aea92a91c6008627a4827"></a><!-- doxytag: member="mysqlpp::RefCountedPointerDestroyer< MYSQL_RES >::operator()" ref="ca305bcd5b2aea92a91c6008627a4827" args="(MYSQL_RES *doomed) const " -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="structmysqlpp_1_1RefCountedPointerDestroyer_3_01MYSQL__RES_01_4.html#ca305bcd5b2aea92a91c6008627a4827">operator()</a> (MYSQL_RES *doomed) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Functor implementation. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<><br>
struct mysqlpp::RefCountedPointerDestroyer< MYSQL_RES ></h3>
Functor to call mysql_free_result() on the pointer you pass to it.
<p>
This overrides RefCountedPointer's default destroyer, which uses operator delete; it annoys the C API when you nuke its data structures this way. :)
<p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="result_8h-source.html">result.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Feb 29 16:26:47 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>
|