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
|
<!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::DataOption< T > Class Template 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++
 <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&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&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_1DataOption.html">DataOption</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classmysqlpp_1_1DataOption-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mysqlpp::DataOption< T > Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Define abstract interface for all *Options that take a lone scalar as an argument.
<a href="classmysqlpp_1_1DataOption.html#details">More...</a></p>
<p><code>#include <<a class="el" href="options_8h_source.html">options.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for mysqlpp::DataOption< T >:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1DataOption__inherit__graph.png" border="0" usemap="#mysqlpp_1_1DataOption_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="mysqlpp_1_1DataOption_3_01T_01_4_inherit__map" id="mysqlpp_1_1DataOption_3_01T_01_4_inherit__map">
<area shape="rect" title="Define abstract interface for all *Options that take a lone scalar as an argument." alt="" coords="171,625,348,651"/>
<area shape="rect" href="classmysqlpp_1_1ConnectTimeoutOption.html" title="Change Connection::connect() default timeout." alt="" coords="398,5,613,44"/>
<area shape="rect" href="classmysqlpp_1_1FoundRowsOption.html" title="Make Query::affected_rows() return number of matched rows." alt="" coords="411,68,600,107"/>
<area shape="rect" href="classmysqlpp_1_1IgnoreSpaceOption.html" title="Allow spaces after function names in queries." alt="" coords="409,131,602,169"/>
<area shape="rect" href="classmysqlpp_1_1InitCommandOption.html" title="Give SQL executed on connect." alt="" coords="407,193,604,219"/>
<area shape="rect" href="classmysqlpp_1_1InteractiveOption.html" title="Assert that this is an interactive program." alt="" coords="416,243,595,281"/>
<area shape="rect" href="classmysqlpp_1_1LocalFilesOption.html" title="Enable LOAD DATA LOCAL statement." alt="" coords="417,305,594,344"/>
<area shape="rect" href="classmysqlpp_1_1LocalInfileOption.html" title="Enable LOAD LOCAL INFILE statement." alt="" coords="417,368,594,407"/>
<area shape="rect" href="classmysqlpp_1_1MultiResultsOption.html" title="Enable multiple result sets in a reply." alt="" coords="410,431,601,469"/>
<area shape="rect" href="classmysqlpp_1_1MultiStatementsOption.html" title="Enable multiple queries in a request to the server." alt="" coords="418,493,592,532"/>
<area shape="rect" href="classmysqlpp_1_1NoSchemaOption.html" title="Disable db.tbl.col syntax in queries." alt="" coords="414,556,597,595"/>
<area shape="rect" href="classmysqlpp_1_1ReadDefaultFileOption.html" title="Override use of my.cnf." alt="" coords="418,619,592,657"/>
<area shape="rect" href="classmysqlpp_1_1ReadDefaultGroupOption.html" title="Override use of my.cnf." alt="" coords="411,681,600,720"/>
<area shape="rect" href="classmysqlpp_1_1ReadTimeoutOption.html" title="Set timeout for IPC data reads." alt="" coords="407,744,604,783"/>
<area shape="rect" href="classmysqlpp_1_1ReconnectOption.html" title="Enable automatic reconnection to server." alt="" coords="415,807,596,845"/>
<area shape="rect" href="classmysqlpp_1_1ReportDataTruncationOption.html" title="Set reporting of data truncation errors." alt="" coords="401,869,610,908"/>
<area shape="rect" href="classmysqlpp_1_1SecureAuthOption.html" title="Enforce use of secure authentication, refusing connection if not available." alt="" coords="412,932,599,971"/>
<area shape="rect" href="classmysqlpp_1_1SetCharsetDirOption.html" title="Give path to charset definition files." alt="" coords="405,995,606,1020"/>
<area shape="rect" href="classmysqlpp_1_1SetCharsetNameOption.html" title="Give name of default charset." alt="" coords="396,1044,615,1069"/>
<area shape="rect" href="classmysqlpp_1_1SetClientIpOption.html" title="Fake client IP address when connecting to embedded server." alt="" coords="414,1093,597,1119"/>
<area shape="rect" href="classmysqlpp_1_1SharedMemoryBaseNameOption.html" title="Set name of shmem segment for IPC." alt="" coords="406,1143,605,1181"/>
<area shape="rect" href="classmysqlpp_1_1WriteTimeoutOption.html" title="Set timeout for IPC data reads." alt="" coords="407,1205,604,1244"/>
<area shape="rect" href="classmysqlpp_1_1Option.html" title="Define abstract interface for all *Option subclasses." alt="" coords="5,625,123,651"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mysqlpp::DataOption< T >:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1DataOption__coll__graph.png" border="0" usemap="#mysqlpp_1_1DataOption_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="mysqlpp_1_1DataOption_3_01T_01_4_coll__map" id="mysqlpp_1_1DataOption_3_01T_01_4_coll__map">
<area shape="rect" title="Define abstract interface for all *Options that take a lone scalar as an argument." alt="" coords="5,79,182,104"/>
<area shape="rect" href="classmysqlpp_1_1Option.html" title="Define abstract interface for all *Option subclasses." alt="" coords="35,5,152,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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1a713f6354ef275a9b5ea2ac79e9f23d"><td class="memItemLeft" align="right" valign="top"><a id="a1a713f6354ef275a9b5ea2ac79e9f23d"></a>
typedef T </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1DataOption.html#a1a713f6354ef275a9b5ea2ac79e9f23d">ArgType</a></td></tr>
<tr class="memdesc:a1a713f6354ef275a9b5ea2ac79e9f23d"><td class="mdescLeft"> </td><td class="mdescRight">Alias for template param. <br /></td></tr>
<tr class="separator:a1a713f6354ef275a9b5ea2ac79e9f23d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classmysqlpp_1_1Option"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classmysqlpp_1_1Option')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classmysqlpp_1_1Option.html">mysqlpp::Option</a></td></tr>
<tr class="memitem:af0c0e22b32d2ee489bc77d360ce74c8c inherit pub_types_classmysqlpp_1_1Option"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8c">Error</a> { <br />
  <a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8ca428c375eef3714cefac2c2c10396c14c">err_NONE</a>,
<a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8ca8006fc8212a2393a084f26d7980b8707">err_api_limit</a>,
<a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8ca3b6c862bd1548d5f4c28b62df8e600c6">err_api_reject</a>,
<a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8cab6ee57a202c62afb4f66912137174973">err_connected</a>,
<br />
  <a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8ca6d200a37429e238707384de5826cd270">err_disconnected</a>
<br />
}</td></tr>
<tr class="memdesc:af0c0e22b32d2ee489bc77d360ce74c8c"><td class="mdescLeft"> </td><td class="mdescRight">Types of option setting errors we can diagnose. <a href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8c">More...</a><br /></td></tr>
<tr class="separator:af0c0e22b32d2ee489bc77d360ce74c8c inherit pub_types_classmysqlpp_1_1Option"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7147eab7b5fbd88b8e4e94958d744f8e"><td class="memItemLeft" align="right" valign="top"><a id="a7147eab7b5fbd88b8e4e94958d744f8e"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1DataOption.html#a7147eab7b5fbd88b8e4e94958d744f8e">DataOption</a> (const T &arg)</td></tr>
<tr class="memdesc:a7147eab7b5fbd88b8e4e94958d744f8e"><td class="mdescLeft"> </td><td class="mdescRight">Construct object. <br /></td></tr>
<tr class="separator:a7147eab7b5fbd88b8e4e94958d744f8e"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a80fc5b75a6ba6f5caf74caabb8f679f6"><td class="memItemLeft" align="right" valign="top"><a id="a80fc5b75a6ba6f5caf74caabb8f679f6"></a>
T </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1DataOption.html#a80fc5b75a6ba6f5caf74caabb8f679f6">arg_</a></td></tr>
<tr class="memdesc:a80fc5b75a6ba6f5caf74caabb8f679f6"><td class="mdescLeft"> </td><td class="mdescRight">The argument value. <br /></td></tr>
<tr class="separator:a80fc5b75a6ba6f5caf74caabb8f679f6"><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 pub_methods_classmysqlpp_1_1Option"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1Option')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1Option.html">mysqlpp::Option</a></td></tr>
<tr class="memitem:acf6f7585df2f41324516e45ad4856899 inherit pub_methods_classmysqlpp_1_1Option"><td class="memItemLeft" align="right" valign="top"><a id="acf6f7585df2f41324516e45ad4856899"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Option.html#acf6f7585df2f41324516e45ad4856899">~Option</a> ()</td></tr>
<tr class="memdesc:acf6f7585df2f41324516e45ad4856899 inherit pub_methods_classmysqlpp_1_1Option"><td class="mdescLeft"> </td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:acf6f7585df2f41324516e45ad4856899 inherit pub_methods_classmysqlpp_1_1Option"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab783846ebf48b7c7319cc045cb0b1828 inherit pub_methods_classmysqlpp_1_1Option"><td class="memItemLeft" align="right" valign="top"><a id="ab783846ebf48b7c7319cc045cb0b1828"></a>
virtual <a class="el" href="classmysqlpp_1_1Option.html#af0c0e22b32d2ee489bc77d360ce74c8c">Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Option.html#ab783846ebf48b7c7319cc045cb0b1828">set</a> (<a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *dbd)=0</td></tr>
<tr class="memdesc:ab783846ebf48b7c7319cc045cb0b1828 inherit pub_methods_classmysqlpp_1_1Option"><td class="mdescLeft"> </td><td class="mdescRight">Apply option. <br /></td></tr>
<tr class="separator:ab783846ebf48b7c7319cc045cb0b1828 inherit pub_methods_classmysqlpp_1_1Option"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<typename T><br />
class mysqlpp::DataOption< T ></h3>
<p>Define abstract interface for all *Options that take a lone scalar as an argument. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="options_8h_source.html">options.h</a></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  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
|