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
|
<!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">
</head>
<body>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>mysqlpp</b></li><li class="navelem"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html">StoreQueryResult</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="classmysqlpp_1_1StoreQueryResult-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mysqlpp::StoreQueryResult Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries. ">StoreQueryResult</a> set type for "store" queries.
<a href="classmysqlpp_1_1StoreQueryResult.html#details">More...</a></p>
<p><code>#include <<a class="el" href="result_8h_source.html">result.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for mysqlpp::StoreQueryResult:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1StoreQueryResult__inherit__graph.png" border="0" usemap="#mysqlpp_1_1StoreQueryResult_inherit__map" alt="Inheritance graph"/></div>
<map name="mysqlpp_1_1StoreQueryResult_inherit__map" id="mysqlpp_1_1StoreQueryResult_inherit__map">
<area shape="rect" id="node2" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult. " alt="" coords="28,80,175,107"/><area shape="rect" id="node3" href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions. " alt="" coords="5,5,197,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mysqlpp::StoreQueryResult:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1StoreQueryResult__coll__graph.png" border="0" usemap="#mysqlpp_1_1StoreQueryResult_coll__map" alt="Collaboration graph"/></div>
<map name="mysqlpp_1_1StoreQueryResult_coll__map" id="mysqlpp_1_1StoreQueryResult_coll__map">
<area shape="rect" id="node2" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult. " alt="" coords="693,92,840,119"/><area shape="rect" id="node3" href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions. " alt="" coords="403,5,595,32"/><area shape="rect" id="node4" href="classmysqlpp_1_1RefCountedPointer.html" title="mysqlpp::RefCountedPointer\l\< mysqlpp::FieldNames \>" alt="" coords="403,57,594,98"/><area shape="rect" id="node5" href="classmysqlpp_1_1RefCountedPointer.html" title="Creates an object that acts as a reference-counted pointer to another object. " alt="" coords="6,87,197,129"/><area shape="rect" id="node6" href="classmysqlpp_1_1RefCountedPointer.html" title="mysqlpp::RefCountedPointer\l\< mysqlpp::FieldTypes \>" alt="" coords="403,122,594,163"/><area shape="rect" id="node7" href="classmysqlpp_1_1DBDriver.html" title="Provides a thin abstraction layer over the underlying database client library. " alt="" coords="432,188,565,215"/></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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac5a4eb33883201e9e8d21d41fecd80d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5a4eb33883201e9e8d21d41fecd80d0"></a>
typedef std::vector< <a class="el" href="classmysqlpp_1_1Row.html">Row</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#ac5a4eb33883201e9e8d21d41fecd80d0">list_type</a></td></tr>
<tr class="memdesc:ac5a4eb33883201e9e8d21d41fecd80d0"><td class="mdescLeft"> </td><td class="mdescRight">type of vector base class <br/></td></tr>
<tr class="separator:ac5a4eb33883201e9e8d21d41fecd80d0"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a0db61dd318b1e02d8c72bbce1fd12f2a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0db61dd318b1e02d8c72bbce1fd12f2a"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a0db61dd318b1e02d8c72bbce1fd12f2a">StoreQueryResult</a> ()</td></tr>
<tr class="memdesc:a0db61dd318b1e02d8c72bbce1fd12f2a"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr>
<tr class="separator:a0db61dd318b1e02d8c72bbce1fd12f2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80f379be1da2a5d35f248bd9f4423c2a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80f379be1da2a5d35f248bd9f4423c2a"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a80f379be1da2a5d35f248bd9f4423c2a">StoreQueryResult</a> (MYSQL_RES *result, <a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *dbd, bool te=true)</td></tr>
<tr class="memdesc:a80f379be1da2a5d35f248bd9f4423c2a"><td class="mdescLeft"> </td><td class="mdescRight">Fully initialize object. <br/></td></tr>
<tr class="separator:a80f379be1da2a5d35f248bd9f4423c2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3754c274c83f045bc3772e821c97629b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3754c274c83f045bc3772e821c97629b"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a3754c274c83f045bc3772e821c97629b">StoreQueryResult</a> (const <a class="el" href="classmysqlpp_1_1StoreQueryResult.html">StoreQueryResult</a> &other)</td></tr>
<tr class="memdesc:a3754c274c83f045bc3772e821c97629b"><td class="mdescLeft"> </td><td class="mdescRight">Initialize object as a copy of another <a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries. ">StoreQueryResult</a> object. <br/></td></tr>
<tr class="separator:a3754c274c83f045bc3772e821c97629b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4577436a49e8ccae60125daeec43d94"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4577436a49e8ccae60125daeec43d94"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#aa4577436a49e8ccae60125daeec43d94">~StoreQueryResult</a> ()</td></tr>
<tr class="memdesc:aa4577436a49e8ccae60125daeec43d94"><td class="mdescLeft"> </td><td class="mdescRight">Destroy result set. <br/></td></tr>
<tr class="separator:aa4577436a49e8ccae60125daeec43d94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c7a6d4af07f469abea5c8354b371a89"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c7a6d4af07f469abea5c8354b371a89"></a>
list_type::size_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a8c7a6d4af07f469abea5c8354b371a89">num_rows</a> () const </td></tr>
<tr class="memdesc:a8c7a6d4af07f469abea5c8354b371a89"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of rows in this result set. <br/></td></tr>
<tr class="separator:a8c7a6d4af07f469abea5c8354b371a89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a832e623301e516f7f31714bc7ed471b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a832e623301e516f7f31714bc7ed471b9"></a>
<a class="el" href="classmysqlpp_1_1StoreQueryResult.html">StoreQueryResult</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a832e623301e516f7f31714bc7ed471b9">operator=</a> (const <a class="el" href="classmysqlpp_1_1StoreQueryResult.html">StoreQueryResult</a> &rhs)</td></tr>
<tr class="memdesc:a832e623301e516f7f31714bc7ed471b9"><td class="mdescLeft"> </td><td class="mdescRight">Copy another <a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries. ">StoreQueryResult</a> object's data into this object. <br/></td></tr>
<tr class="separator:a832e623301e516f7f31714bc7ed471b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18032e96aff8a48636cda4e89062b706"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1StoreQueryResult.html#a18032e96aff8a48636cda4e89062b706">operator private_bool_type</a> () const </td></tr>
<tr class="memdesc:a18032e96aff8a48636cda4e89062b706"><td class="mdescLeft"> </td><td class="mdescRight">Test whether the query that created this result succeeded. <a href="#a18032e96aff8a48636cda4e89062b706">More...</a><br/></td></tr>
<tr class="separator:a18032e96aff8a48636cda4e89062b706"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classmysqlpp_1_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a792b7694b013dee563349544058bec8f"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a792b7694b013dee563349544058bec8f">~ResultBase</a> ()</td></tr>
<tr class="memdesc:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Destroy object. <br/></td></tr>
<tr class="separator:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a952749f63082ac42601672f2bc72a413 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a952749f63082ac42601672f2bc72a413"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a952749f63082ac42601672f2bc72a413">fetch_field</a> () const </td></tr>
<tr class="memdesc:a952749f63082ac42601672f2bc72a413 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next field in this result set. <br/></td></tr>
<tr class="separator:a952749f63082ac42601672f2bc72a413 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af578643af7eaa6b7e1737baa29def4a2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af578643af7eaa6b7e1737baa29def4a2"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#af578643af7eaa6b7e1737baa29def4a2">fetch_field</a> (Fields::size_type i) const </td></tr>
<tr class="memdesc:af578643af7eaa6b7e1737baa29def4a2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the given field in this result set. <br/></td></tr>
<tr class="separator:af578643af7eaa6b7e1737baa29def4a2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4aa339365fdf64a8176f72e44c809215 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4aa339365fdf64a8176f72e44c809215"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a4aa339365fdf64a8176f72e44c809215">field</a> (unsigned int i) const </td></tr>
<tr class="memdesc:a4aa339365fdf64a8176f72e44c809215 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying <a class="el" href="classmysqlpp_1_1Field.html" title="Class to hold information about a SQL field. ">Field</a> structure given its index. <br/></td></tr>
<tr class="separator:a4aa339365fdf64a8176f72e44c809215 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accbb443c021c344615c3aa8088aa1a5a inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="accbb443c021c344615c3aa8088aa1a5a"></a>
const Fields & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#accbb443c021c344615c3aa8088aa1a5a">fields</a> () const </td></tr>
<tr class="memdesc:accbb443c021c344615c3aa8088aa1a5a inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying Fields structure. <br/></td></tr>
<tr class="separator:accbb443c021c344615c3aa8088aa1a5a inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a301684e7f6e06efb2fe3ddd89b3ac44e inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a301684e7f6e06efb2fe3ddd89b3ac44e"></a>
const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a301684e7f6e06efb2fe3ddd89b3ac44e">field_name</a> (int i) const </td></tr>
<tr class="memdesc:a301684e7f6e06efb2fe3ddd89b3ac44e inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the field at the given index. <br/></td></tr>
<tr class="separator:a301684e7f6e06efb2fe3ddd89b3ac44e inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6af0ace6eaa98fd0040ff3bb74b6c74f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6af0ace6eaa98fd0040ff3bb74b6c74f"></a>
const <a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a><br class="typebreak"/>
< <a class="el" href="classmysqlpp_1_1FieldNames.html">FieldNames</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a6af0ace6eaa98fd0040ff3bb74b6c74f">field_names</a> () const </td></tr>
<tr class="memdesc:a6af0ace6eaa98fd0040ff3bb74b6c74f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the names of the fields within this result set. <br/></td></tr>
<tr class="separator:a6af0ace6eaa98fd0040ff3bb74b6c74f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a726cf1f92a52b122d4603af796f90ec7 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a726cf1f92a52b122d4603af796f90ec7">field_num</a> (const std::string &) const </td></tr>
<tr class="memdesc:a726cf1f92a52b122d4603af796f90ec7 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the index of the named field. <a href="#a726cf1f92a52b122d4603af796f90ec7">More...</a><br/></td></tr>
<tr class="separator:a726cf1f92a52b122d4603af796f90ec7 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a12044424a8b5e87a73a1381fe32f80 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a12044424a8b5e87a73a1381fe32f80"></a>
const FieldTypes::value_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a4a12044424a8b5e87a73a1381fe32f80">field_type</a> (int i) const </td></tr>
<tr class="memdesc:a4a12044424a8b5e87a73a1381fe32f80 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the type of a particular field within this result set. <br/></td></tr>
<tr class="separator:a4a12044424a8b5e87a73a1381fe32f80 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00f78b0daeb4b47e954448e53df3a216 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00f78b0daeb4b47e954448e53df3a216"></a>
const <a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a><br class="typebreak"/>
< <a class="el" href="classmysqlpp_1_1FieldTypes.html">FieldTypes</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a00f78b0daeb4b47e954448e53df3a216">field_types</a> () const </td></tr>
<tr class="memdesc:a00f78b0daeb4b47e954448e53df3a216 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of the types of the fields within this result set. <br/></td></tr>
<tr class="separator:a00f78b0daeb4b47e954448e53df3a216 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e8fe6bc8a1c6129af9b244e32422482 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e8fe6bc8a1c6129af9b244e32422482"></a>
size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a4e8fe6bc8a1c6129af9b244e32422482">num_fields</a> () const </td></tr>
<tr class="memdesc:a4e8fe6bc8a1c6129af9b244e32422482 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of fields in this result set. <br/></td></tr>
<tr class="separator:a4e8fe6bc8a1c6129af9b244e32422482 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1463ba275c27423198376796e0e70fa2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1463ba275c27423198376796e0e70fa2"></a>
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a1463ba275c27423198376796e0e70fa2">table</a> () const </td></tr>
<tr class="memdesc:a1463ba275c27423198376796e0e70fa2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the table the result set comes from. <br/></td></tr>
<tr class="separator:a1463ba275c27423198376796e0e70fa2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </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="-"/> 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"> </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"> </td><td class="mdescRight">Default constructor. <a href="#a45a3e93f56716abf10704419b5ba4f31">More...</a><br/></td></tr>
<tr class="separator:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae97334b7e5f89c1927c5d277b770db0a"></a>
virtual </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"> </td><td class="mdescRight">Destroy object. <br/></td></tr>
<tr class="separator:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada38946e3352da3fa90ba57e9b6a9c18 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada38946e3352da3fa90ba57e9b6a9c18"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#ada38946e3352da3fa90ba57e9b6a9c18">enable_exceptions</a> () const </td></tr>
<tr class="memdesc:ada38946e3352da3fa90ba57e9b6a9c18 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Enable exceptions from the object. <br/></td></tr>
<tr class="separator:ada38946e3352da3fa90ba57e9b6a9c18 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c18f4a1da49f55652fbd8840cd67d82 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c18f4a1da49f55652fbd8840cd67d82"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a5c18f4a1da49f55652fbd8840cd67d82">disable_exceptions</a> () const </td></tr>
<tr class="memdesc:a5c18f4a1da49f55652fbd8840cd67d82 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Disable exceptions from the object. <br/></td></tr>
<tr class="separator:a5c18f4a1da49f55652fbd8840cd67d82 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6231a5e3fd15fd5ecc4c74785b8c4514 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6231a5e3fd15fd5ecc4c74785b8c4514"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a6231a5e3fd15fd5ecc4c74785b8c4514">throw_exceptions</a> () const </td></tr>
<tr class="memdesc:a6231a5e3fd15fd5ecc4c74785b8c4514 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if exceptions are enabled. <br/></td></tr>
<tr class="separator:a6231a5e3fd15fd5ecc4c74785b8c4514 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </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_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a13f306c66abb2a9793b02e5db0105093"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a13f306c66abb2a9793b02e5db0105093">ResultBase</a> ()</td></tr>
<tr class="memdesc:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create empty object. <br/></td></tr>
<tr class="separator:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade911ef2b108a18ebbcfaf43fdc7e7d8"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ade911ef2b108a18ebbcfaf43fdc7e7d8">ResultBase</a> (MYSQL_RES *result, <a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *dbd, bool te=true)</td></tr>
<tr class="memdesc:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create the object, fully initialized. <br/></td></tr>
<tr class="separator:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1e56ed72be6dc439eab03fccec9ce70"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ab1e56ed72be6dc439eab03fccec9ce70">ResultBase</a> (const <a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> &other)</td></tr>
<tr class="memdesc:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create object as a copy of another <a class="el" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult. ">ResultBase</a>. <br/></td></tr>
<tr class="separator:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3649538671f94a215c72ad03ff9025aa"></a>
<a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a3649538671f94a215c72ad03ff9025aa">copy</a> (const <a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> &other)</td></tr>
<tr class="memdesc:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Copy another <a class="el" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult. ">ResultBase</a> object's contents into this one. <br/></td></tr>
<tr class="separator:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </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="-"/> Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr class="memitem:a0273012228b9e6889908a6a93aa47973 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a0273012228b9e6889908a6a93aa47973">set_exceptions</a> (bool e) const </td></tr>
<tr class="memdesc:a0273012228b9e6889908a6a93aa47973 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Sets the exception state to a particular value. <a href="#a0273012228b9e6889908a6a93aa47973">More...</a><br/></td></tr>
<tr class="separator:a0273012228b9e6889908a6a93aa47973 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classmysqlpp_1_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac0265838557fd0f63b7abae4927a835f"></a>
<a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ac0265838557fd0f63b7abae4927a835f">driver_</a></td></tr>
<tr class="memdesc:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Access to DB driver; fully initted if nonzero. <br/></td></tr>
<tr class="separator:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77840415ae9c611506e39e3f42f6ce1f"></a>
Fields </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a77840415ae9c611506e39e3f42f6ce1f">fields_</a></td></tr>
<tr class="memdesc:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of fields in result <br/></td></tr>
<tr class="separator:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a3645ffe00fcd51838317fc40f0194a"></a>
<a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldNames.html">FieldNames</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a5a3645ffe00fcd51838317fc40f0194a">names_</a></td></tr>
<tr class="memdesc:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of field names in result <br/></td></tr>
<tr class="separator:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60823bb0a547046e1efc68083802194c"></a>
<a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldTypes.html">FieldTypes</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a60823bb0a547046e1efc68083802194c">types_</a></td></tr>
<tr class="memdesc:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of field types in result <br/></td></tr>
<tr class="separator:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top">Fields::size_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a4e3b9892adbd9ad6d86c80e17af9bc5a">current_field_</a></td></tr>
<tr class="memdesc:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Default field index used by <a class="el" href="classmysqlpp_1_1ResultBase.html#a952749f63082ac42601672f2bc72a413" title="Returns the next field in this result set. ">fetch_field()</a> <a href="#a4e3b9892adbd9ad6d86c80e17af9bc5a">More...</a><br/></td></tr>
<tr class="separator:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries. ">StoreQueryResult</a> set type for "store" queries. </p>
<p>This is the obvious C++ implementation of a class to hold results from a SQL query that returns rows: a specialization of std::vector holding <a class="el" href="classmysqlpp_1_1Row.html" title="Manages rows from a result set. ">Row</a> objects in memory so you get random-access semantics. MySQL++ also supports <a class="el" href="classmysqlpp_1_1UseQueryResult.html" title="StoreQueryResult set type for "use" queries. ">UseQueryResult</a> which is less friendly, but has better memory performance. See the user manual for more details on the distinction and the usage patterns required. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a18032e96aff8a48636cda4e89062b706"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">mysqlpp::StoreQueryResult::operator private_bool_type </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Test whether the query that created this result succeeded. </p>
<p>If you test this object in bool context and it's false, it's a signal that the query this was created from failed in some way. Call <a class="el" href="classmysqlpp_1_1Query.html#a24ddaff8ae037c56c1a5aceda34e89c8" title="Get the last error message that was set. ">Query::error()</a> or <a class="el" href="classmysqlpp_1_1Query.html#a3acf442e091bdfb5344cbe9990f05f3b" title="Get the last error number that was set. ">Query::errnum()</a> to find out what exactly happened. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="result_8h_source.html">result.h</a></li>
<li>result.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 18 2015 18:55:03 for MySQL++ by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
|