|
<!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>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>WORM: WSql::WMysqlResult Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<script type="text/javascript"><!--
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
--></script>
|
|
<script type="text/javascript">
|
|
function hasClass(ele,cls) {
|
|
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
|
|
}
|
|
|
|
function addClass(ele,cls) {
|
|
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
|
|
}
|
|
|
|
function removeClass(ele,cls) {
|
|
if (hasClass(ele,cls)) {
|
|
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
|
|
ele.className=ele.className.replace(reg,' ');
|
|
}
|
|
}
|
|
|
|
function toggleVisibility(linkObj) {
|
|
var base = linkObj.getAttribute('id');
|
|
var summary = document.getElementById(base + '-summary');
|
|
var content = document.getElementById(base + '-content');
|
|
var trigger = document.getElementById(base + '-trigger');
|
|
if ( hasClass(linkObj,'closed') ) {
|
|
summary.style.display = 'none';
|
|
content.style.display = 'block';
|
|
trigger.src = 'open.png';
|
|
removeClass(linkObj,'closed');
|
|
addClass(linkObj,'opened');
|
|
} else if ( hasClass(linkObj,'opened') ) {
|
|
summary.style.display = 'block';
|
|
content.style.display = 'none';
|
|
trigger.src = 'closed.png';
|
|
removeClass(linkObj,'opened');
|
|
addClass(linkObj,'closed');
|
|
}
|
|
return false;
|
|
}
|
|
</script>
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="worm_sm.png"></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">WORM <span id="projectnumber">0.2</span></div>
|
|
<div id="projectbrief">A C++ DAL/ORM code generation framework</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</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>
|
|
<li id="searchli">
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</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="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.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"><a class="el" href="namespace_w_sql.html">WSql</a> </li>
|
|
<li class="navelem"><a class="el" href="class_w_sql_1_1_w_mysql_result.html">WMysqlResult</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#friends">Friends</a> </div>
|
|
<div class="headertitle">
|
|
<h1>WSql::WMysqlResult Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="WSql::WMysqlResult" --><!-- doxytag: inherits="WSql::WSqlResult" -->
|
|
<p><a class="el" href="class_w_sql_1_1_w_mysql_result.html" title="WMysqlResult is the type of result set used by the MySQL driver.">WMysqlResult</a> is the type of result set used by the MySQL driver.
|
|
<a href="#_details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>></code></p>
|
|
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
|
<img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for WSql::WMysqlResult:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center">
|
|
<img src="class_w_sql_1_1_w_mysql_result.png" usemap="#WSql::WMysqlResult_map" alt=""/>
|
|
<map id="WSql::WMysqlResult_map" name="WSql::WMysqlResult_map">
|
|
<area href="class_w_sql_1_1_w_sql_result.html" alt="WSql::WSqlResult" shape="rect" coords="0,0,124,24"/>
|
|
</map>
|
|
</div></div>
|
|
|
|
<p><a href="class_w_sql_1_1_w_mysql_result-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a50819110ac6eb61a483e9c02da446c40">WMysqlResult</a> (const <a class="el" href="class_w_sql_1_1_w_sql_driver.html">WSql::WSqlDriver</a> *driver)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#af0e35fb6c3832c1b213b8729243728b7">~WMysqlResult</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ad91ebf6e86efb036c2b89c7e2d9ddd1a">addRecord</a> (<a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> &r)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a1927c0982530fb9650a53f9e6bf6922b">setIsCached</a> (bool b)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ae1328bfd5511e5014c9463ad76582bf5">isCached</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a4ca94061dd5335a133616456375ad1ae">size</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a640b459e1f1f7ce41ce8253a5444f6dc">count</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a8d2b5e4696e0f67879af0163084d20ea">empty</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ac1576697c668c7a9d7337a713a1e2e20">hasOutValues</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a7c7050b54b185efc1865eef100e26e50">clear</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a14de39aa126582637d65c552886d3ba1">current</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ab104356c08e57d9d2e1ffc42be68c3e9">fetch</a> (int i=-1)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a93a6b8a5fe6bfbff2167f7f76c8dd055">fetchFirst</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#af69abe39ea3070c1a783f7770f7577e8">fetchLast</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a943ce4c49b571273b10383160b266042">fetchNext</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#aabc47f4795a71800a641b7bcadeb9a2f">fetchPrevious</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#abb55d02a0c4afca5e43e55f5fed7f330">seek</a> (int i, bool relative=false)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a9f316c9663216d0d47f517c6c20ae325">next</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a5e41321acb206f2b3fc008e9a514047d">previous</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a6a81af38dfc9df846ec1afe1a1ec5a0f">first</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a14301801bf390797a1a4bd55353c47b5">last</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2><a name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_w_sql_1_1_w_mysql_result.html#a1cc3d6f1837c9d43abb38b07c26467d8">WMysqlDriver</a></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p><a class="el" href="class_w_sql_1_1_w_mysql_result.html" title="WMysqlResult is the type of result set used by the MySQL driver.">WMysqlResult</a> is the type of result set used by the MySQL driver. </p>
|
|
<p>result set object for MySQL </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>Results from mysql are _always_ cached at the moment so this class is mostly a stub - no methods have been implemented.</dd></dl>
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000013">Todo:</a></b></dt><dd>uncached results if possible.</dd></dl>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_w_sql_1_1_w_sql_result.html" title="The WSqlResult class provides a representation of the result set from a query.">WSqlResult</a> </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00029">29</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
</div><hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a50819110ac6eb61a483e9c02da446c40"></a><!-- doxytag: member="WSql::WMysqlResult::WMysqlResult" ref="a50819110ac6eb61a483e9c02da446c40" args="(const WSql::WSqlDriver *driver)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">WSql::WMysqlResult::WMysqlResult </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_w_sql_1_1_w_sql_driver.html">WSql::WSqlDriver</a> * </td>
|
|
<td class="paramname"><em>driver</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00035">35</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af0e35fb6c3832c1b213b8729243728b7"></a><!-- doxytag: member="WSql::WMysqlResult::~WMysqlResult" ref="af0e35fb6c3832c1b213b8729243728b7" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">WSql::WMysqlResult::~WMysqlResult </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00045">45</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="ad91ebf6e86efb036c2b89c7e2d9ddd1a"></a><!-- doxytag: member="WSql::WMysqlResult::addRecord" ref="ad91ebf6e86efb036c2b89c7e2d9ddd1a" args="(WSqlRecord &r)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WSql::WMysqlResult::addRecord </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> & </td>
|
|
<td class="paramname"><em>r</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000042">Todo:</a></b></dt><dd>virtual bool operator==(const WSqlResult& other) const; </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#ac2dd0ab98c7d237618cdd799050133c3">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00039">39</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7c7050b54b185efc1865eef100e26e50"></a><!-- doxytag: member="WSql::WMysqlResult::clear" ref="a7c7050b54b185efc1865eef100e26e50" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WSql::WMysqlResult::clear </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a89d7e219bc2454c802fb00b0f2c5afb5">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00048">48</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a640b459e1f1f7ce41ce8253a5444f6dc"></a><!-- doxytag: member="WSql::WMysqlResult::count" ref="a640b459e1f1f7ce41ce8253a5444f6dc" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int WSql::WMysqlResult::count </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a26323f5329d85f2115a28fbff41679ef">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00044">44</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a14de39aa126582637d65c552886d3ba1"></a><!-- doxytag: member="WSql::WMysqlResult::current" ref="a14de39aa126582637d65c552886d3ba1" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::current </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a3d5b17315cfcb11334e51d9e9a482376">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00066">66</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d2b5e4696e0f67879af0163084d20ea"></a><!-- doxytag: member="WSql::WMysqlResult::empty" ref="a8d2b5e4696e0f67879af0163084d20ea" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::empty </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a1a6857609c1bcd2817f846f5c7a65c85">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00045">45</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab104356c08e57d9d2e1ffc42be68c3e9"></a><!-- doxytag: member="WSql::WMysqlResult::fetch" ref="ab104356c08e57d9d2e1ffc42be68c3e9" args="(int i=-1)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::fetch </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> = <code>-1</code></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the record from an arbitrary (zero-based) row <em>index</em>.</p>
|
|
<p>If the index is not in valid range an empty record is returned.</p>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd>isActive(), <a class="el" href="class_w_sql_1_1_w_mysql_result.html#a93a6b8a5fe6bfbff2167f7f76c8dd055">fetchFirst()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#af69abe39ea3070c1a783f7770f7577e8">fetchLast()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#a943ce4c49b571273b10383160b266042">fetchNext()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#aabc47f4795a71800a641b7bcadeb9a2f">fetchPrevious()</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a48916b12682b6ae38592ec316410be48">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00072">72</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a93a6b8a5fe6bfbff2167f7f76c8dd055"></a><!-- doxytag: member="WSql::WMysqlResult::fetchFirst" ref="a93a6b8a5fe6bfbff2167f7f76c8dd055" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::fetchFirst </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the record from the first record (row 0) in the result.</p>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ab104356c08e57d9d2e1ffc42be68c3e9">fetch()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#af69abe39ea3070c1a783f7770f7577e8">fetchLast()</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a85cc6e2cb40f959c2ff2f725356ef5c6">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00078">78</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af69abe39ea3070c1a783f7770f7577e8"></a><!-- doxytag: member="WSql::WMysqlResult::fetchLast" ref="af69abe39ea3070c1a783f7770f7577e8" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::fetchLast </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the record from the last record (last row) in the result.</p>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ab104356c08e57d9d2e1ffc42be68c3e9">fetch()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#a93a6b8a5fe6bfbff2167f7f76c8dd055">fetchFirst()</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a4e1fafc5d56111d8df6d7294f41b3786">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00084">84</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a943ce4c49b571273b10383160b266042"></a><!-- doxytag: member="WSql::WMysqlResult::fetchNext" ref="a943ce4c49b571273b10383160b266042" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::fetchNext </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the record from the next available record (row) in the result.</p>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_w_sql_1_1_w_mysql_result.html#ab104356c08e57d9d2e1ffc42be68c3e9">fetch()</a>, <a class="el" href="class_w_sql_1_1_w_mysql_result.html#aabc47f4795a71800a641b7bcadeb9a2f">fetchPrevious()</a> </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a0c775e8f12c31e876d30d77aeeeeb898">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00090">90</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aabc47f4795a71800a641b7bcadeb9a2f"></a><!-- doxytag: member="WSql::WMysqlResult::fetchPrevious" ref="aabc47f4795a71800a641b7bcadeb9a2f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_w_sql_1_1_w_sql_record.html">WSqlRecord</a> WSql::WMysqlResult::fetchPrevious </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the record from the previous record (row) in the result. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a176ef9f17eafe103343373eed8da76d4">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00096">96</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6a81af38dfc9df846ec1afe1a1ec5a0f"></a><!-- doxytag: member="WSql::WMysqlResult::first" ref="a6a81af38dfc9df846ec1afe1a1ec5a0f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::first </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [protected, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a8184270fb1e2c46da91a531cc2f7ae4c">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00102">102</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac1576697c668c7a9d7337a713a1e2e20"></a><!-- doxytag: member="WSql::WMysqlResult::hasOutValues" ref="ac1576697c668c7a9d7337a713a1e2e20" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::hasOutValues </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#aeb79e8ac7c8e60cea20e73c8f263c490">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00046">46</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae1328bfd5511e5014c9463ad76582bf5"></a><!-- doxytag: member="WSql::WMysqlResult::isCached" ref="ae1328bfd5511e5014c9463ad76582bf5" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::isCached </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00042">42</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a14301801bf390797a1a4bd55353c47b5"></a><!-- doxytag: member="WSql::WMysqlResult::last" ref="a14301801bf390797a1a4bd55353c47b5" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::last </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [protected, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a9fb1770479bf8cb74271c48ca201ae01">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00108">108</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9f316c9663216d0d47f517c6c20ae325"></a><!-- doxytag: member="WSql::WMysqlResult::next" ref="a9f316c9663216d0d47f517c6c20ae325" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::next </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [protected, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#aa514001519eee422e58a0fa9f08b4496">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00114">114</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5e41321acb206f2b3fc008e9a514047d"></a><!-- doxytag: member="WSql::WMysqlResult::previous" ref="a5e41321acb206f2b3fc008e9a514047d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::previous </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [protected, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#af5607fd996fcc0d750730a0777b0a8dc">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00120">120</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abb55d02a0c4afca5e43e55f5fed7f330"></a><!-- doxytag: member="WSql::WMysqlResult::seek" ref="abb55d02a0c4afca5e43e55f5fed7f330" args="(int i, bool relative=false)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool WSql::WMysqlResult::seek </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>pos</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>relative</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [protected, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000041">Todo:</a></b></dt><dd>test this </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a072ee774635213477bbf28e7f8e1b8ae">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8cpp_source.html#l00126">126</a> of file <a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1927c0982530fb9650a53f9e6bf6922b"></a><!-- doxytag: member="WSql::WMysqlResult::setIsCached" ref="a1927c0982530fb9650a53f9e6bf6922b" args="(bool b)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void WSql::WMysqlResult::setIsCached </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>b</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#aa759513aa147ca8cc8bf88611925d78b">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00040">40</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4ca94061dd5335a133616456375ad1ae"></a><!-- doxytag: member="WSql::WMysqlResult::size" ref="a4ca94061dd5335a133616456375ad1ae" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int WSql::WMysqlResult::size </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Returns the number of records in the result returned from a <code>SELECT</code> statement. Note that this will be 0 if no results were returned..</p>
|
|
<dl class="see"><dt><b>See also:</b></dt><dd>numRowsAffected() </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_w_sql_1_1_w_sql_result.html#a2f34ccad684262a1860022a2d07cc024">WSql::WSqlResult</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00043">43</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Friends And Related Function Documentation</h2>
|
|
<a class="anchor" id="a1cc3d6f1837c9d43abb38b07c26467d8"></a><!-- doxytag: member="WSql::WMysqlResult::WMysqlDriver" ref="a1cc3d6f1837c9d43abb38b07c26467d8" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">friend class <a class="el" href="class_w_sql_1_1_w_mysql_driver.html">WMysqlDriver</a><code> [friend]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="wmysqlresult_8h_source.html#l00067">67</a> of file <a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/sql/drivers/<a class="el" href="wmysqlresult_8h_source.html">wmysqlresult.h</a></li>
|
|
<li>src/sql/drivers/<a class="el" href="wmysqlresult_8cpp_source.html">wmysqlresult.cpp</a></li>
|
|
</ul>
|
|
</div>
|
|
<!--- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Defines</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<hr class="footer"/><address class="footer"><small>Generated on Fri Nov 18 2011 21:01:46 for WORM by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
|
</body>
|
|
</html>
|