File: mysql%2B%2B_8h.html

package info (click to toggle)
mysql%2B%2B 3.0.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,328 kB
  • ctags: 9,487
  • sloc: cpp: 33,486; sh: 3,091; perl: 809; makefile: 683
file content (123 lines) | stat: -rw-r--r-- 7,196 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!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="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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;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 &quot;<a class="el" href="connection_8h-source.html">connection.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="cpool_8h-source.html">cpool.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="query_8h-source.html">query.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="sql__types_8h-source.html">sql_types.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="transaction_8h-source.html">transaction.h</a>&quot;</code><br>

<p>
Include dependency graph for mysql++.h:<p><center><img src="mysql++_8h__incl.png" border="0" usemap="#mysql++.h_map" alt=""></center>
<map name="mysql++.h_map">
<area href="connection_8h.html" shape="rect" coords="456,200,563,224" alt="">
<area href="cpool_8h.html" shape="rect" coords="169,101,239,125" alt="">
<area href="query_8h.html" shape="rect" coords="169,520,239,544" alt="">
<area href="sql__types_8h.html" shape="rect" coords="633,449,729,473" alt="">
<area href="transaction_8h.html" shape="rect" coords="151,741,257,765" alt="">
<area href="common_8h.html" shape="rect" coords="801,648,892,672" alt="">
<area href="noexceptions_8h.html" shape="rect" coords="621,697,741,721" alt="">
<area href="options_8h.html" shape="rect" coords="640,300,723,324" alt="">
<area href="tcp__connection_8h.html" shape="rect" coords="615,105,748,129" alt="">
<area href="uds__connection_8h.html" shape="rect" coords="613,153,749,177" alt="">
<area href="wnp__connection_8h.html" shape="rect" coords="611,252,752,276" alt="">
<area href="beemutex_8h.html" shape="rect" coords="308,53,407,77" alt="">
<area href="qparms_8h.html" shape="rect" coords="316,400,399,424" alt="">
<area href="stadapter_8h.html" shape="rect" coords="461,400,557,424" alt="">
<area href="result_8h.html" shape="rect" coords="321,696,393,720" alt="">
<area href="row_8h.html" shape="rect" coords="481,597,537,621" alt="">
</map>

<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 &nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mysql++_8h.html#9e2bea148cfa102c37bad4ec0d79bb3c">MYSQLPP_VERSION</a>(major, minor, bugfix)&nbsp;&nbsp;&nbsp;(((major) &lt;&lt; 16) | ((minor) &lt;&lt; 8) | (bugfix))</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="mysql++_8h.html#a5519915a48d82e2f6958f059ed41079">MYSQLPP_HEADER_VERSION</a>&nbsp;&nbsp;&nbsp;MYSQLPP_VERSION(3, 0, 0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemysqlpp.html#fabd9abe95c067bca33601a61b45ee10">mysqlpp::get_library_version</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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 <a class="el" href="custom_8h.html">custom.h</a> 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&nbsp;&nbsp;&nbsp;MYSQLPP_VERSION(3, 0, 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&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;(((major) &lt;&lt; 16) | ((minor) &lt;&lt; 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 Fri Feb 29 16:26:08 2008 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>