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 104
|
<!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><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>mysql++.h File Reference</h1>The main MySQL++ header file. <a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br>
<code>#include "<a class="el" href="cpool_8h-source.html">cpool.h</a>"</code><br>
<code>#include "<a class="el" href="query_8h-source.html">query.h</a>"</code><br>
<code>#include "<a class="el" href="scopedconnection_8h-source.html">scopedconnection.h</a>"</code><br>
<code>#include "<a class="el" href="sql__types_8h-source.html">sql_types.h</a>"</code><br>
<code>#include "<a class="el" href="transaction_8h-source.html">transaction.h</a>"</code><br>
<p>
<a href="mysql++_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>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mysql++_8h.html#9e2bea148cfa102c37bad4ec0d79bb3c">MYSQLPP_VERSION</a>(major, minor, bugfix) (((major) << 16) | ((minor) << 8) | (bugfix))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Encode MySQL++ library version number. <a href="#9e2bea148cfa102c37bad4ec0d79bb3c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="mysql++_8h.html#a5519915a48d82e2f6958f059ed41079">MYSQLPP_HEADER_VERSION</a> MYSQLPP_VERSION(3, 1, 0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the library version number that mysql++.h comes from. <a href="#a5519915a48d82e2f6958f059ed41079"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#fabd9abe95c067bca33601a61b45ee10">mysqlpp::get_library_version</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the current MySQL++ library version number. <a href="#fabd9abe95c067bca33601a61b45ee10"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The main MySQL++ header file.
<p>
This file brings in all MySQL++ headers except for custom.h and custom-macros.h which are a strictly optional feature of MySQL++.<p>
There is no point in trying to optimize which headers you include, because the MySQL++ headers are so intertwined. You can only get trivial compile time benefits, at the expense of clarity. <hr><h2>Define Documentation</h2>
<a class="anchor" name="a5519915a48d82e2f6958f059ed41079"></a><!-- doxytag: member="mysql++.h::MYSQLPP_HEADER_VERSION" ref="a5519915a48d82e2f6958f059ed41079" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(3, 1, 0) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the library version number that mysql++.h comes from.
<p>
MySQL++ Version number that the mysql++.h header file comes from, encoded by MYSQLPP_VERSION macro. Compare this value to what mysqlpp_lib_version() returns in order to ensure that your program is using header files from the same version of MySQL++ as the actual library you're linking to.
</div>
</div><p>
<a class="anchor" name="9e2bea148cfa102c37bad4ec0d79bb3c"></a><!-- doxytag: member="mysql++.h::MYSQLPP_VERSION" ref="9e2bea148cfa102c37bad4ec0d79bb3c" args="(major, minor, bugfix)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MYSQLPP_VERSION </td>
<td>(</td>
<td class="paramtype">major, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">minor, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bugfix </td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> (((major) << 16) | ((minor) << 8) | (bugfix))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Encode MySQL++ library version number.
<p>
This macro takes major, minor and bugfix numbers (e.g. 1, 2, and 3) and encodes them like 0x010203.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 3 11:59:12 2010 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>
|