~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qxmlresultitems.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/xmlpatterns/api/qxmlresultitems.cpp -->
 
5
<!-- qxmlresultitems.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: QXmlResultItems Class Reference</title>
 
7
  <title>Qt 4.6: QXmlResultItems Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QXmlResultItems" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QXmlResultItems Class Reference<br /><span class="small-subtitle">[<a href="qtxmlpatterns.html">QtXmlPatterns</a> module]</span>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QXmlResultItems Class Reference<br /><span class="small-subtitle">[<a href="qtxmlpatterns.html">QtXmlPatterns</a> module]</span>
16
17
</h1>
17
18
<p>The QXmlResultItems class iterates through the results of evaluating an XQuery in <a href="qxmlquery.html">QXmlQuery</a>. <a href="#details">More...</a></p>
18
 
<pre> #include &lt;QXmlResultItems&gt;</pre><p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
 
19
<pre> #include &lt;QXmlResultItems&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
 
20
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
19
21
<p>This class was introduced in Qt 4.4.</p>
20
22
<ul>
21
23
<li><a href="qxmlresultitems-members.html">List of all members, including inherited members</a></li>
22
24
</ul>
 
25
<hr />
23
26
<a name="public-functions"></a>
24
 
<h3>Public Functions</h3>
25
 
<ul>
26
 
<li><div class="fn"></div><b><a href="qxmlresultitems.html#QXmlResultItems">QXmlResultItems</a></b> ()</li>
27
 
<li><div class="fn"></div>virtual <b><a href="qxmlresultitems.html#dtor.QXmlResultItems">~QXmlResultItems</a></b> ()</li>
28
 
<li><div class="fn"></div>QXmlItem <b><a href="qxmlresultitems.html#current">current</a></b> () const</li>
29
 
<li><div class="fn"></div>bool <b><a href="qxmlresultitems.html#hasError">hasError</a></b> () const</li>
30
 
<li><div class="fn"></div>QXmlItem <b><a href="qxmlresultitems.html#next">next</a></b> ()</li>
31
 
</ul>
 
27
<h2>Public Functions</h2>
 
28
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
29
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qxmlresultitems.html#QXmlResultItems">QXmlResultItems</a></b> ()</td></tr>
 
30
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b><a href="qxmlresultitems.html#dtor.QXmlResultItems">~QXmlResultItems</a></b> ()</td></tr>
 
31
<tr><td class="memItemLeft" align="right" valign="top">QXmlItem </td><td class="memItemRight" valign="bottom"><b><a href="qxmlresultitems.html#current">current</a></b> () const</td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qxmlresultitems.html#hasError">hasError</a></b> () const</td></tr>
 
33
<tr><td class="memItemLeft" align="right" valign="top">QXmlItem </td><td class="memItemRight" valign="bottom"><b><a href="qxmlresultitems.html#next">next</a></b> ()</td></tr>
 
34
</table>
32
35
<a name="details"></a>
33
36
<hr />
34
37
<h2>Detailed Description</h2>
53
56
<p>See also <a href="qxmlitem.html#isNode">QXmlItem::isNode</a>(), <a href="qxmlitem.html#isAtomicValue">QXmlItem::isAtomicValue</a>(), and <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>.</p>
54
57
<hr />
55
58
<h2>Member Function Documentation</h2>
 
59
<a name="//apple_ref/cpp/instm/QXmlResultItems/QXmlResultItems" />
56
60
<h3 class="fn"><a name="QXmlResultItems"></a>QXmlResultItems::QXmlResultItems ()</h3>
57
61
<p>Constructs an instance of <a href="qxmlresultitems.html">QXmlResultItems</a>.</p>
 
62
<a name="//apple_ref/cpp/instm/QXmlResultItems/~QXmlResultItems" />
58
63
<h3 class="fn"><a name="dtor.QXmlResultItems"></a>QXmlResultItems::~QXmlResultItems ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
59
64
<p>Destroys this instance of <a href="qxmlresultitems.html">QXmlResultItems</a>.</p>
 
65
<a name="//apple_ref/cpp/instm/QXmlResultItems/current" />
60
66
<h3 class="fn"><a name="current"></a><a href="qxmlitem.html">QXmlItem</a> QXmlResultItems::current () const</h3>
61
67
<p>Returns the current item. The current item is the last item that was produced and returned by <a href="qxmlresultitems.html#next">next</a>().</p>
62
68
<p>Returns a null <a href="qxmlitem.html">QXmlItem</a> if there is no associated <a href="qxmlquery.html">QXmlQuery</a>.</p>
 
69
<a name="//apple_ref/cpp/instm/QXmlResultItems/hasError" />
63
70
<h3 class="fn"><a name="hasError"></a>bool QXmlResultItems::hasError () const</h3>
64
71
<p>If an error occurred during evaluation of the query, true is returned.</p>
65
72
<p>Returns false if query evaluation has been done.</p>
 
73
<a name="//apple_ref/cpp/instm/QXmlResultItems/next" />
66
74
<h3 class="fn"><a name="next"></a><a href="qxmlitem.html">QXmlItem</a> QXmlResultItems::next ()</h3>
67
75
<p>Returns the next result in the sequence produced by lazy evaluation of the associated query. When the returned <a href="qxmlitem.html">QXmlItem</a> is null, either the evaluation terminated normally without producing another result, or an error occurred. Call <a href="qxmlresultitems.html#hasError">hasError</a>() to determine whether the null item was caused by normal termination or by an error.</p>
68
76
<p>Returns a null <a href="qxmlitem.html">QXmlItem</a> if there is no associated <a href="qxmlquery.html">QXmlQuery</a>.</p>
69
77
<p /><address><hr /><div align="center">
70
78
<table width="100%" cellspacing="0" border="0"><tr class="address">
71
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
72
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
73
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
74
 
</tr></table></div></address></body>
 
79
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
80
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
81
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
82
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
75
83
</html>