File: classmysqlpp_1_1TCPConnection.html

package info (click to toggle)
mysql%2B%2B 3.2.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 18,360 kB
  • sloc: cpp: 35,788; sh: 3,693; perl: 789; makefile: 730
file content (497 lines) | stat: -rwxr-xr-x 53,953 bytes parent folder | download | duplicates (3)
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>MySQL++ Reference Manual</title>
  <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  <meta name="generator" content="Doxygen 1.8.15"/>
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <title>MySQL++: mysqlpp::TCPConnection Class Reference</title>
  <link href="tabs.css" rel="stylesheet" type="text/css"/>
  <link href="doxygen.css" rel="stylesheet" type="text/css">
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="dynsections.js"></script>
  <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
    <div id="titlearea">
    <table cellspacing="0" cellpadding="0">
     <tbody>
     <tr style="height: 56px;">
      <td id="projectalign" style="padding-left: 0.5em;">
       <div id="projectname">MySQL++
       &#160;<span id="projectnumber">3.2.5</span>
       </div>
      </td>
     </tr>
     </tbody>
    </table>
    </div>
    <!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>mysqlpp</b></li><li class="navelem"><a class="el" href="classmysqlpp_1_1TCPConnection.html">TCPConnection</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classmysqlpp_1_1TCPConnection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">mysqlpp::TCPConnection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Specialization of <code><a class="el" href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server.">Connection</a></code> for TCP/IP.  
 <a href="classmysqlpp_1_1TCPConnection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="tcp__connection_8h_source.html">tcp_connection.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mysqlpp::TCPConnection:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1TCPConnection__inherit__graph.png" border="0" usemap="#mysqlpp_1_1TCPConnection_inherit__map" alt="Inheritance graph"/></div>
<map name="mysqlpp_1_1TCPConnection_inherit__map" id="mysqlpp_1_1TCPConnection_inherit__map">
<area shape="rect"  title="Specialization of Connection for TCP/IP." alt="" coords="16,152,188,177"/>
<area shape="rect"  href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server." alt="" coords="29,79,175,104"/>
<area shape="rect"  href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions." alt="" coords="5,5,199,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mysqlpp::TCPConnection:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1TCPConnection__coll__graph.png" border="0" usemap="#mysqlpp_1_1TCPConnection_coll__map" alt="Collaboration graph"/></div>
<map name="mysqlpp_1_1TCPConnection_coll__map" id="mysqlpp_1_1TCPConnection_coll__map">
<area shape="rect"  title="Specialization of Connection for TCP/IP." alt="" coords="89,167,262,192"/>
<area shape="rect"  href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server." alt="" coords="102,92,248,117"/>
<area shape="rect"  href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions." alt="" coords="5,5,199,31"/>
<area shape="rect"  title=" " alt="" coords="223,5,277,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a75cbc21607ac3f1998e11ea58faad534"><td class="memItemLeft" align="right" valign="top"><a id="a75cbc21607ac3f1998e11ea58faad534"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#a75cbc21607ac3f1998e11ea58faad534">TCPConnection</a> ()</td></tr>
<tr class="memdesc:a75cbc21607ac3f1998e11ea58faad534"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create object without connecting it to the MySQL server. <br /></td></tr>
<tr class="separator:a75cbc21607ac3f1998e11ea58faad534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3712f8d8ee8f4521f733d410fb2ab6c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#a3712f8d8ee8f4521f733d410fb2ab6c8">TCPConnection</a> (const char *addr, const char *db=0, const char *user=0, const char *password=0)</td></tr>
<tr class="memdesc:a3712f8d8ee8f4521f733d410fb2ab6c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create object and connect to database server over TCP/IP in one step.  <a href="#a3712f8d8ee8f4521f733d410fb2ab6c8">More...</a><br /></td></tr>
<tr class="separator:a3712f8d8ee8f4521f733d410fb2ab6c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19b05063295b93feae5de92caad693c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#af19b05063295b93feae5de92caad693c">TCPConnection</a> (const <a class="el" href="classmysqlpp_1_1TCPConnection.html">TCPConnection</a> &amp;other)</td></tr>
<tr class="memdesc:af19b05063295b93feae5de92caad693c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Establish a new connection using the same parameters as an existing connection.  <a href="#af19b05063295b93feae5de92caad693c">More...</a><br /></td></tr>
<tr class="separator:af19b05063295b93feae5de92caad693c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb3ac928977f621b89c14d6690c0d28c"><td class="memItemLeft" align="right" valign="top"><a id="acb3ac928977f621b89c14d6690c0d28c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#acb3ac928977f621b89c14d6690c0d28c">~TCPConnection</a> ()</td></tr>
<tr class="memdesc:acb3ac928977f621b89c14d6690c0d28c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:acb3ac928977f621b89c14d6690c0d28c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad111bd8e49a43b3ab4972d67459efaa5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#ad111bd8e49a43b3ab4972d67459efaa5">connect</a> (const char *addr=0, const char *db=0, const char *user=0, const char *password=0)</td></tr>
<tr class="memdesc:ad111bd8e49a43b3ab4972d67459efaa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connect to database after object is created.  <a href="#ad111bd8e49a43b3ab4972d67459efaa5">More...</a><br /></td></tr>
<tr class="separator:ad111bd8e49a43b3ab4972d67459efaa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classmysqlpp_1_1Connection"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1Connection')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1Connection.html">mysqlpp::Connection</a></td></tr>
<tr class="memitem:a0053ef79210079a5579e55a12fe5f10a inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a0053ef79210079a5579e55a12fe5f10a">Connection</a> (bool te=true)</td></tr>
<tr class="memdesc:a0053ef79210079a5579e55a12fe5f10a inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create object without connecting to the database server.  <a href="classmysqlpp_1_1Connection.html#a0053ef79210079a5579e55a12fe5f10a">More...</a><br /></td></tr>
<tr class="separator:a0053ef79210079a5579e55a12fe5f10a inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382ec4947dbb1998833ad0fc6f93d1c9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a382ec4947dbb1998833ad0fc6f93d1c9">Connection</a> (const char *db, const char *server=0, const char *user=0, const char *password=0, unsigned int port=0)</td></tr>
<tr class="memdesc:a382ec4947dbb1998833ad0fc6f93d1c9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create object and connect to database server in one step.  <a href="classmysqlpp_1_1Connection.html#a382ec4947dbb1998833ad0fc6f93d1c9">More...</a><br /></td></tr>
<tr class="separator:a382ec4947dbb1998833ad0fc6f93d1c9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e80d1b3fee58e8771b2a6dd3c9ac3f inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a23e80d1b3fee58e8771b2a6dd3c9ac3f">Connection</a> (const <a class="el" href="classmysqlpp_1_1Connection.html">Connection</a> &amp;other)</td></tr>
<tr class="memdesc:a23e80d1b3fee58e8771b2a6dd3c9ac3f inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Establish a new connection using the same parameters as an existing connection.  <a href="classmysqlpp_1_1Connection.html#a23e80d1b3fee58e8771b2a6dd3c9ac3f">More...</a><br /></td></tr>
<tr class="separator:a23e80d1b3fee58e8771b2a6dd3c9ac3f inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eda1910b116f1ccdc1a86711ca6f660 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a8eda1910b116f1ccdc1a86711ca6f660"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a8eda1910b116f1ccdc1a86711ca6f660">~Connection</a> ()</td></tr>
<tr class="memdesc:a8eda1910b116f1ccdc1a86711ca6f660 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:a8eda1910b116f1ccdc1a86711ca6f660 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8923972d5b75e0cd194b556ca3c11dd9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a8923972d5b75e0cd194b556ca3c11dd9"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a8923972d5b75e0cd194b556ca3c11dd9">client_version</a> () const</td></tr>
<tr class="memdesc:a8923972d5b75e0cd194b556ca3c11dd9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get version of library underpinning the current database driver. <br /></td></tr>
<tr class="separator:a8923972d5b75e0cd194b556ca3c11dd9 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9e310f5c544a7aec143c02f4618ff69 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ac9e310f5c544a7aec143c02f4618ff69">connected</a> () const</td></tr>
<tr class="memdesc:ac9e310f5c544a7aec143c02f4618ff69 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if connection was established successfully.  <a href="classmysqlpp_1_1Connection.html#ac9e310f5c544a7aec143c02f4618ff69">More...</a><br /></td></tr>
<tr class="separator:ac9e310f5c544a7aec143c02f4618ff69 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71356d1ca53c988bf9f1e1946e4a7f48 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">ulonglong&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a71356d1ca53c988bf9f1e1946e4a7f48">count_rows</a> (const std::string &amp;table)</td></tr>
<tr class="memdesc:a71356d1ca53c988bf9f1e1946e4a7f48 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of rows in a table.  <a href="classmysqlpp_1_1Connection.html#a71356d1ca53c988bf9f1e1946e4a7f48">More...</a><br /></td></tr>
<tr class="separator:a71356d1ca53c988bf9f1e1946e4a7f48 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9852fb87572c6f10c6de051bacf6b8d inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ac9852fb87572c6f10c6de051bacf6b8d">create_db</a> (const std::string &amp;db)</td></tr>
<tr class="memdesc:ac9852fb87572c6f10c6de051bacf6b8d inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the database server to create a database.  <a href="classmysqlpp_1_1Connection.html#ac9852fb87572c6f10c6de051bacf6b8d">More...</a><br /></td></tr>
<tr class="separator:ac9852fb87572c6f10c6de051bacf6b8d inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61e571ee724d79c455555f62472880ef inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a61e571ee724d79c455555f62472880ef"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a61e571ee724d79c455555f62472880ef">disconnect</a> ()</td></tr>
<tr class="memdesc:a61e571ee724d79c455555f62472880ef inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drop the connection to the database server. <br /></td></tr>
<tr class="separator:a61e571ee724d79c455555f62472880ef inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d118df40a7bd4bb63e7286b221f7680 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a0d118df40a7bd4bb63e7286b221f7680"></a>
<a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a0d118df40a7bd4bb63e7286b221f7680">driver</a> ()</td></tr>
<tr class="memdesc:a0d118df40a7bd4bb63e7286b221f7680 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the current database driver. <br /></td></tr>
<tr class="separator:a0d118df40a7bd4bb63e7286b221f7680 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa073e784a16a9d4b357740a626a6b2e1 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#aa073e784a16a9d4b357740a626a6b2e1">drop_db</a> (const std::string &amp;db)</td></tr>
<tr class="memdesc:aa073e784a16a9d4b357740a626a6b2e1 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Asks the database server to drop (destroy) a database.  <a href="classmysqlpp_1_1Connection.html#aa073e784a16a9d4b357740a626a6b2e1">More...</a><br /></td></tr>
<tr class="separator:aa073e784a16a9d4b357740a626a6b2e1 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb1bf601b19dbb87b36bed4590f4214 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a3cb1bf601b19dbb87b36bed4590f4214"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a3cb1bf601b19dbb87b36bed4590f4214">errnum</a> ()</td></tr>
<tr class="memdesc:a3cb1bf601b19dbb87b36bed4590f4214 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return last error number associated with this connection. <br /></td></tr>
<tr class="separator:a3cb1bf601b19dbb87b36bed4590f4214 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe12a159a0a05fbd6c9ade18cea39246 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#abe12a159a0a05fbd6c9ade18cea39246">error</a> () const</td></tr>
<tr class="memdesc:abe12a159a0a05fbd6c9ade18cea39246 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return error message for last error associated with this connection.  <a href="classmysqlpp_1_1Connection.html#abe12a159a0a05fbd6c9ade18cea39246">More...</a><br /></td></tr>
<tr class="separator:abe12a159a0a05fbd6c9ade18cea39246 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdd753570fdc8239f0aa1f3160673272 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#acdd753570fdc8239f0aa1f3160673272">ipc_info</a> () const</td></tr>
<tr class="memdesc:acdd753570fdc8239f0aa1f3160673272 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get information about the IPC connection to the database server.  <a href="classmysqlpp_1_1Connection.html#acdd753570fdc8239f0aa1f3160673272">More...</a><br /></td></tr>
<tr class="separator:acdd753570fdc8239f0aa1f3160673272 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d934ece7ac0fdc7341022f7af75225f inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a8d934ece7ac0fdc7341022f7af75225f">kill</a> (unsigned long tid) const</td></tr>
<tr class="memdesc:a8d934ece7ac0fdc7341022f7af75225f inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kill a database server thread.  <a href="classmysqlpp_1_1Connection.html#a8d934ece7ac0fdc7341022f7af75225f">More...</a><br /></td></tr>
<tr class="separator:a8d934ece7ac0fdc7341022f7af75225f inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac566c5ccf8cf92d3b80969bd09bea184 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ac566c5ccf8cf92d3b80969bd09bea184">operator private_bool_type</a> () const</td></tr>
<tr class="memdesc:ac566c5ccf8cf92d3b80969bd09bea184 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether any error has occurred within the object.  <a href="classmysqlpp_1_1Connection.html#ac566c5ccf8cf92d3b80969bd09bea184">More...</a><br /></td></tr>
<tr class="separator:ac566c5ccf8cf92d3b80969bd09bea184 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf58375723c00a4ac494c83ab384596e inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="aaf58375723c00a4ac494c83ab384596e"></a>
<a class="el" href="classmysqlpp_1_1Connection.html">Connection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#aaf58375723c00a4ac494c83ab384596e">operator=</a> (const <a class="el" href="classmysqlpp_1_1Connection.html">Connection</a> &amp;rhs)</td></tr>
<tr class="memdesc:aaf58375723c00a4ac494c83ab384596e inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy an existing <a class="el" href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server.">Connection</a> object's state into this object. <br /></td></tr>
<tr class="separator:aaf58375723c00a4ac494c83ab384596e inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1dbc411f7ab1debbabe241561fe4091 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ac1dbc411f7ab1debbabe241561fe4091">ping</a> ()</td></tr>
<tr class="memdesc:ac1dbc411f7ab1debbabe241561fe4091 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Pings" the database server  <a href="classmysqlpp_1_1Connection.html#ac1dbc411f7ab1debbabe241561fe4091">More...</a><br /></td></tr>
<tr class="separator:ac1dbc411f7ab1debbabe241561fe4091 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f5e8249ddaeeaeb94e01ae71f4181f0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a4f5e8249ddaeeaeb94e01ae71f4181f0"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a4f5e8249ddaeeaeb94e01ae71f4181f0">protocol_version</a> () const</td></tr>
<tr class="memdesc:a4f5e8249ddaeeaeb94e01ae71f4181f0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns version number of the protocol the database driver uses to communicate with the server. <br /></td></tr>
<tr class="separator:a4f5e8249ddaeeaeb94e01ae71f4181f0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6954d437d52004915fbc96a0be79ab37 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmysqlpp_1_1Query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a6954d437d52004915fbc96a0be79ab37">query</a> (const char *qstr=0)</td></tr>
<tr class="memdesc:a6954d437d52004915fbc96a0be79ab37 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a new query object.  <a href="classmysqlpp_1_1Connection.html#a6954d437d52004915fbc96a0be79ab37">More...</a><br /></td></tr>
<tr class="separator:a6954d437d52004915fbc96a0be79ab37 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7aaad10bb2f08cae4384f5c227c0f19 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmysqlpp_1_1Query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#af7aaad10bb2f08cae4384f5c227c0f19">query</a> (const std::string &amp;qstr)</td></tr>
<tr class="memdesc:af7aaad10bb2f08cae4384f5c227c0f19 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a new query object.  <a href="classmysqlpp_1_1Connection.html#af7aaad10bb2f08cae4384f5c227c0f19">More...</a><br /></td></tr>
<tr class="separator:af7aaad10bb2f08cae4384f5c227c0f19 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bd6c380dea4cf157e4de7295550a0c inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#af1bd6c380dea4cf157e4de7295550a0c">select_db</a> (const std::string &amp;db)</td></tr>
<tr class="memdesc:af1bd6c380dea4cf157e4de7295550a0c inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change to a different database managed by the database server we are connected to.  <a href="classmysqlpp_1_1Connection.html#af1bd6c380dea4cf157e4de7295550a0c">More...</a><br /></td></tr>
<tr class="separator:af1bd6c380dea4cf157e4de7295550a0c inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac437af32250e56136373c3d9e38413d6 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="ac437af32250e56136373c3d9e38413d6"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ac437af32250e56136373c3d9e38413d6">server_version</a> () const</td></tr>
<tr class="memdesc:ac437af32250e56136373c3d9e38413d6 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the database server's version string. <br /></td></tr>
<tr class="separator:ac437af32250e56136373c3d9e38413d6 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a266f69b0e8d9d588e8cc6c5a2a897b87 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a266f69b0e8d9d588e8cc6c5a2a897b87">set_option</a> (<a class="el" href="classmysqlpp_1_1Option.html">Option</a> *o)</td></tr>
<tr class="memdesc:a266f69b0e8d9d588e8cc6c5a2a897b87 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a connection option.  <a href="classmysqlpp_1_1Connection.html#a266f69b0e8d9d588e8cc6c5a2a897b87">More...</a><br /></td></tr>
<tr class="separator:a266f69b0e8d9d588e8cc6c5a2a897b87 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fed0ebc10f72fe591941dc6f64b6f20 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a8fed0ebc10f72fe591941dc6f64b6f20"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a8fed0ebc10f72fe591941dc6f64b6f20">shutdown</a> ()</td></tr>
<tr class="memdesc:a8fed0ebc10f72fe591941dc6f64b6f20 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask database server to shut down. <br /></td></tr>
<tr class="separator:a8fed0ebc10f72fe591941dc6f64b6f20 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c741b003f7bd9d51434a25290e65c0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a63c741b003f7bd9d51434a25290e65c0"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a63c741b003f7bd9d51434a25290e65c0">server_status</a> () const</td></tr>
<tr class="memdesc:a63c741b003f7bd9d51434a25290e65c0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns information about database server's status. <br /></td></tr>
<tr class="separator:a63c741b003f7bd9d51434a25290e65c0 inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60c43e10eb9db82c075443add56785ce inherit pub_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a60c43e10eb9db82c075443add56785ce">thread_id</a> ()</td></tr>
<tr class="memdesc:a60c43e10eb9db82c075443add56785ce inherit pub_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the database server's thread ID for this connection.  <a href="classmysqlpp_1_1Connection.html#a60c43e10eb9db82c075443add56785ce">More...</a><br /></td></tr>
<tr class="separator:a60c43e10eb9db82c075443add56785ce inherit pub_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classmysqlpp_1_1OptionalExceptions"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1OptionalExceptions')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr class="memitem:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a45a3e93f56716abf10704419b5ba4f31">OptionalExceptions</a> (bool e=true)</td></tr>
<tr class="memdesc:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="classmysqlpp_1_1OptionalExceptions.html#a45a3e93f56716abf10704419b5ba4f31">More...</a><br /></td></tr>
<tr class="separator:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="ae97334b7e5f89c1927c5d277b770db0a"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#ae97334b7e5f89c1927c5d277b770db0a">~OptionalExceptions</a> ()</td></tr>
<tr class="memdesc:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="a46ce5ac667513bac88c0bd459115f236"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a46ce5ac667513bac88c0bd459115f236">enable_exceptions</a> () const</td></tr>
<tr class="memdesc:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable exceptions from the object. <br /></td></tr>
<tr class="separator:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="a4e1a95b8d3c97338c66f21c5d5a4be20"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a4e1a95b8d3c97338c66f21c5d5a4be20">disable_exceptions</a> () const</td></tr>
<tr class="memdesc:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable exceptions from the object. <br /></td></tr>
<tr class="separator:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="acac3ee271ab36b9f65e6c2110a04ffff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#acac3ee271ab36b9f65e6c2110a04ffff">throw_exceptions</a> () const</td></tr>
<tr class="memdesc:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if exceptions are enabled. <br /></td></tr>
<tr class="separator:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5726d3cf9dbd843686dcee1fe0899595"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TCPConnection.html#a5726d3cf9dbd843686dcee1fe0899595">parse_address</a> (std::string &amp;addr, unsigned int &amp;port, std::string &amp;<a class="el" href="classmysqlpp_1_1Connection.html#abe12a159a0a05fbd6c9ade18cea39246">error</a>)</td></tr>
<tr class="memdesc:a5726d3cf9dbd843686dcee1fe0899595"><td class="mdescLeft">&#160;</td><td class="mdescRight">Break the given TCP/IP address up into a separate address and port form.  <a href="#a5726d3cf9dbd843686dcee1fe0899595">More...</a><br /></td></tr>
<tr class="separator:a5726d3cf9dbd843686dcee1fe0899595"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classmysqlpp_1_1Connection"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classmysqlpp_1_1Connection')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1Connection.html">mysqlpp::Connection</a></td></tr>
<tr class="memitem:a3c2442a1e8f9210b23eb10d3c024d6df inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a3c2442a1e8f9210b23eb10d3c024d6df"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a3c2442a1e8f9210b23eb10d3c024d6df">thread_aware</a> ()</td></tr>
<tr class="memdesc:a3c2442a1e8f9210b23eb10d3c024d6df inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if both MySQL++ and database driver we're using were compiled with thread awareness. <br /></td></tr>
<tr class="separator:a3c2442a1e8f9210b23eb10d3c024d6df inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d89963e63c74fe0dcb0eb00a5a8cbd inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a63d89963e63c74fe0dcb0eb00a5a8cbd"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a63d89963e63c74fe0dcb0eb00a5a8cbd">thread_end</a> ()</td></tr>
<tr class="memdesc:a63d89963e63c74fe0dcb0eb00a5a8cbd inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells the underlying database driver that this thread is done using the library. <br /></td></tr>
<tr class="separator:a63d89963e63c74fe0dcb0eb00a5a8cbd inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aade1534fea22a5d1e2f315515f23f880 inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#aade1534fea22a5d1e2f315515f23f880">thread_start</a> ()</td></tr>
<tr class="memdesc:aade1534fea22a5d1e2f315515f23f880 inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells the underlying database driver that the current thread is now using its services.  <a href="classmysqlpp_1_1Connection.html#aade1534fea22a5d1e2f315515f23f880">More...</a><br /></td></tr>
<tr class="separator:aade1534fea22a5d1e2f315515f23f880 inherit pub_static_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classmysqlpp_1_1Connection"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmysqlpp_1_1Connection')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1Connection.html">mysqlpp::Connection</a></td></tr>
<tr class="memitem:a3dcec3b1e9a1aa6efb287bc9ec11f7d5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="a3dcec3b1e9a1aa6efb287bc9ec11f7d5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a3dcec3b1e9a1aa6efb287bc9ec11f7d5">build_error_message</a> (const char *core)</td></tr>
<tr class="memdesc:a3dcec3b1e9a1aa6efb287bc9ec11f7d5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build an error message in the standard form used whenever one of the methods can't succeed because we're not connected to the database server. <br /></td></tr>
<tr class="separator:a3dcec3b1e9a1aa6efb287bc9ec11f7d5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44070d9f1bee49126320ad815a854ed3 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#a44070d9f1bee49126320ad815a854ed3">copy</a> (const <a class="el" href="classmysqlpp_1_1Connection.html">Connection</a> &amp;other)</td></tr>
<tr class="memdesc:a44070d9f1bee49126320ad815a854ed3 inherit pro_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Establish a new connection as a copy of an existing one.  <a href="classmysqlpp_1_1Connection.html#a44070d9f1bee49126320ad815a854ed3">More...</a><br /></td></tr>
<tr class="separator:a44070d9f1bee49126320ad815a854ed3 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9724a5edab5db2c7a71fdccfe124cb5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="ad9724a5edab5db2c7a71fdccfe124cb5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#ad9724a5edab5db2c7a71fdccfe124cb5">parse_ipc_method</a> (const char *server, std::string &amp;host, unsigned int &amp;port, std::string &amp;socket_name)</td></tr>
<tr class="memdesc:ad9724a5edab5db2c7a71fdccfe124cb5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract elements from the server parameter in formats suitable for passing to <a class="el" href="classmysqlpp_1_1DBDriver.html#adbd9ba43e74fca9c46dbe85ea8657c0f" title="Establish a new connection using the same parameters as an existing connection.">DBDriver::connect()</a>. <br /></td></tr>
<tr class="separator:ad9724a5edab5db2c7a71fdccfe124cb5 inherit pro_methods_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classmysqlpp_1_1OptionalExceptions"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmysqlpp_1_1OptionalExceptions')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr class="memitem:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a5e4f4a7a1526ceaef3308a385bd28a10">set_exceptions</a> (bool e) const</td></tr>
<tr class="memdesc:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the exception state to a particular value.  <a href="classmysqlpp_1_1OptionalExceptions.html#a5e4f4a7a1526ceaef3308a385bd28a10">More...</a><br /></td></tr>
<tr class="separator:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classmysqlpp_1_1Connection"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classmysqlpp_1_1Connection')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classmysqlpp_1_1Connection.html">mysqlpp::Connection</a></td></tr>
<tr class="memitem:affbdf4dd97aa66cfa592fc85938faf41 inherit pro_attribs_classmysqlpp_1_1Connection"><td class="memItemLeft" align="right" valign="top"><a id="affbdf4dd97aa66cfa592fc85938faf41"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Connection.html#affbdf4dd97aa66cfa592fc85938faf41">error_message_</a></td></tr>
<tr class="memdesc:affbdf4dd97aa66cfa592fc85938faf41 inherit pro_attribs_classmysqlpp_1_1Connection"><td class="mdescLeft">&#160;</td><td class="mdescRight">MySQL++ specific error, if any. <br /></td></tr>
<tr class="separator:affbdf4dd97aa66cfa592fc85938faf41 inherit pro_attribs_classmysqlpp_1_1Connection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Specialization of <code><a class="el" href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server.">Connection</a></code> for TCP/IP. </p>
<p>This class just simplifies the connection creation interface of <code><a class="el" href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server.">Connection</a></code>. It does not add new functionality. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3712f8d8ee8f4521f733d410fb2ab6c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3712f8d8ee8f4521f733d410fb2ab6c8">&#9670;&nbsp;</a></span>TCPConnection() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mysqlpp::TCPConnection::TCPConnection </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>db</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>user</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>password</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create object and connect to database server over TCP/IP in one step. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">addr</td><td>TCP/IP address of server, in either dotted quad form or as a host or domain name; may be followed by a colon and a port number or service name to override default port </td></tr>
    <tr><td class="paramname">db</td><td>name of database to use </td></tr>
    <tr><td class="paramname">user</td><td>user name to log in under, or 0 to use the user name the program is running under </td></tr>
    <tr><td class="paramname">password</td><td>password to use when logging in</td></tr>
  </table>
  </dd>
</dl>
<p><b>BEWARE:</b> These parameters are not in the same order as those in the corresponding constructor for <a class="el" href="classmysqlpp_1_1Connection.html" title="Manages the connection to the database server.">Connection</a>. This is a feature, not a bug. :) </p>

</div>
</div>
<a id="af19b05063295b93feae5de92caad693c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af19b05063295b93feae5de92caad693c">&#9670;&nbsp;</a></span>TCPConnection() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mysqlpp::TCPConnection::TCPConnection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmysqlpp_1_1TCPConnection.html">TCPConnection</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Establish a new connection using the same parameters as an existing connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>pre-existing connection to clone </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad111bd8e49a43b3ab4972d67459efaa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad111bd8e49a43b3ab4972d67459efaa5">&#9670;&nbsp;</a></span>connect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mysqlpp::TCPConnection::connect </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>addr</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>db</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>user</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>password</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connect to database after object is created. </p>
<p>It's better to use the connect-on-create constructor if you can. See its documentation for the meaning of these parameters.</p>
<p>If you call this method on an object that is already connected to a database server, the previous connection is dropped and a new connection is established. </p>

</div>
</div>
<a id="a5726d3cf9dbd843686dcee1fe0899595"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5726d3cf9dbd843686dcee1fe0899595">&#9670;&nbsp;</a></span>parse_address()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool mysqlpp::TCPConnection::parse_address </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Break the given TCP/IP address up into a separate address and port form. </p>
<p>Does some sanity checking on the address. Only intended to try and prevent library misuse, not ensure that the address can actually be used to contact a server.</p>
<p>It understands the following forms: </p><pre class="fragment">- 1.2.3.4
</pre><ul>
<li>a.b.com:89</li>
<li>d.e.fr:mysvcname</li>
</ul>
<p>It also understands IPv6 addresses, but to avoid confusion between the colons they use and the colon separating the address part from the service/port part, they must be in RFC 2732 form. Example: <code></code>[2010:836B:4179::836B:4179]:1234</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">addr</td><td>the address and optional port/service combo to check on input, and the verified address on successful return </td></tr>
    <tr><td class="paramname">port</td><td>the port number (resolved from the service name if necessary) on successful return </td></tr>
    <tr><td class="paramname">error</td><td>on false return, reason for failure is placed here</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>false if address fails to pass sanity checks </dd></dl>

<p class="reference">Referenced by <a class="el" href="classmysqlpp_1_1Connection.html#ad9724a5edab5db2c7a71fdccfe124cb5">mysqlpp::Connection::parse_ipc_method()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="tcp__connection_8h_source.html">tcp_connection.h</a></li>
<li>tcp_connection.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jul 21 2019 05:32:21 for MySQL++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>