Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 5456

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwebelement.cpp -->
<head>
  <title>Qt 4.6: const_iterator Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl/QWebElementCollection/const_iterator"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<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>
<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></tr></table><h1 class="title">const_iterator Class Reference<br /><span class="small-subtitle">(QWebElementCollection::const_iterator)<br />[<a href="qtwebkit.html">QtWebKit</a> module]</span>
</h1>
<p>The QWebElementCollection::const_iterator class provides an STL-style const iterator for <a href="qwebelementcollection.html">QWebElementCollection</a>. <a href="#details">More...</a></p>
<pre> #include &lt;<a href="qwebelementcollection.html">QWebElementCollection</a>&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p>This class was introduced in Qt 4.6.</p>
<ul>
<li><a href="qwebelementcollection-const-iterator-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#const_iterator">const_iterator</a></b> ( const const_iterator &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-not-eq">operator!=</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QWebElement </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-2a">operator*</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-2b">operator+</a></b> ( int <i>j</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-2b-2b">operator++</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-2b-2b-2">operator++</a></b> ( int )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-2b-eq">operator+=</a></b> ( int <i>j</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-">operator-</a></b> ( int <i>j</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator--2">operator-</a></b> ( const_iterator <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator--">operator--</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator---2">operator--</a></b> ( int )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const_iterator &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator--eq">operator-=</a></b> ( int <i>j</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-lt">operator&lt;</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-lt-eq">operator&lt;=</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-eq-eq">operator==</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-gt">operator&gt;</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qwebelementcollection-const-iterator.html#operator-gt-eq">operator&gt;=</a></b> ( const const_iterator &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QWebElementCollection::const_iterator class provides an STL-style const iterator for <a href="qwebelementcollection.html">QWebElementCollection</a>.</p>
<p><a href="qwebelementcollection.html">QWebElementCollection</a> provides STL style const iterators for fast low-level access to the elements.</p>
<p>QWebElementCollection::const_iterator allows you to iterate over a <a href="qwebelementcollection.html">QWebElementCollection</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/const_iterator"></a>
<h3 class="fn"><a name="const_iterator"></a>const_iterator::const_iterator ( const const_iterator &amp; <i>other</i> )</h3>
<p>Constructs a copy of <i>other</i>.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator!="></a>
<h3 class="fn"><a name="operator-not-eq"></a>bool const_iterator::operator!= ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if <i>other</i> points to a different element than this; iterator; otherwise returns false.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-eq-eq">operator==</a>().</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator*"></a>
<h3 class="fn"><a name="operator-2a"></a>const <a href="qwebelement.html">QWebElement</a> const_iterator::operator* () const</h3>
<p>Returns the current element.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator+"></a>
<h3 class="fn"><a name="operator-2b"></a>const_iterator const_iterator::operator+ ( int <i>j</i> ) const</h3>
<p>Returns an iterator to the element at <i>j</i> positions forward from this iterator. If <i>j</i> is negative, the iterator goes backward.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-">operator-</a>() and <a href="qwebelementcollection-const-iterator.html#operator-2b-eq">operator+=</a>().</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator++"></a>
<h3 class="fn"><a name="operator-2b-2b"></a>const_iterator &amp; const_iterator::operator++ ()</h3>
<p>The prefix ++ operator (<tt>++it</tt>) advances the iterator to the next element in the collection and returns an iterator to the new current element.</p>
<p>Calling this function on <a href="qwebelementcollection.html#end">QWebElementCollection::end</a>() leads to undefined results.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator--">operator--</a>().</p>
<h3 class="fn"><a name="operator-2b-2b-2"></a>const_iterator const_iterator::operator++ ( int )</h3>
<p>This is an overloaded function.</p>
<p>The postfix ++ operator (<tt>it++</tt>) advances the iterator to the next element in the collection and returns an iterator to the previously current element.</p>
<p>Calling this function on <a href="qwebelementcollection.html#end">QWebElementCollection::end</a>() leads to undefined results.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator+="></a>
<h3 class="fn"><a name="operator-2b-eq"></a>const_iterator &amp; const_iterator::operator+= ( int <i>j</i> )</h3>
<p>Advances the iterator by <i>j</i> elements. If <i>j</i> is negative, the iterator goes backward.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator--eq">operator-=</a>() and <a href="qwebelementcollection-const-iterator.html#operator-2b">operator+</a>().</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator-"></a>
<h3 class="fn"><a name="operator-"></a>const_iterator const_iterator::operator- ( int <i>j</i> ) const</h3>
<p>Returns an iterator to the element at <i>j</i> positiosn backward from this iterator. If <i>j</i> is negative, the iterator goes forward.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-2b">operator+</a>() and <a href="qwebelementcollection-const-iterator.html#operator--eq">operator-=</a>().</p>
<h3 class="fn"><a name="operator--2"></a>int const_iterator::operator- ( const_iterator <i>other</i> ) const</h3>
<p>Returns the number of elements between the item point to by <i>other</i> and the element pointed to by this iterator.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator--"></a>
<h3 class="fn"><a name="operator--"></a>const_iterator &amp; const_iterator::operator-- ()</h3>
<p>The prefix -- operator (<tt>--it</tt>) makes the preceding element current and returns an iterator to the new current element.</p>
<p>Calling this function on <a href="qwebelementcollection.html#begin">QWebElementCollection::begin</a>() leads to undefined results.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-2b-2b">operator++</a>().</p>
<h3 class="fn"><a name="operator---2"></a>const_iterator const_iterator::operator-- ( int )</h3>
<p>This is an overloaded function.</p>
<p>The postfix -- operator (<tt>it--</tt>) makes the preceding element current and returns an iterator to the previously current element.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator-="></a>
<h3 class="fn"><a name="operator--eq"></a>const_iterator &amp; const_iterator::operator-= ( int <i>j</i> )</h3>
<p>Makes the iterator go back by <i>j</i> elements. If <i>j</i> is negative, the iterator goes forward.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-2b-eq">operator+=</a>() and <a href="qwebelementcollection-const-iterator.html#operator-">operator-</a>().</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator&lt;"></a>
<h3 class="fn"><a name="operator-lt"></a>bool const_iterator::operator&lt; ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if the element pointed to by this iterator is less than the element pointed to by the <i>other</i> iterator.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator&lt;="></a>
<h3 class="fn"><a name="operator-lt-eq"></a>bool const_iterator::operator&lt;= ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if the element pointed to by this iterator is less than or equal to the element pointed to by the <i>other</i> iterator.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator=="></a>
<h3 class="fn"><a name="operator-eq-eq"></a>bool const_iterator::operator== ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if <i>other</i> points to the same item as this iterator; otherwise returns false.</p>
<p>See also <a href="qwebelementcollection-const-iterator.html#operator-not-eq">operator!=</a>().</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator&gt;"></a>
<h3 class="fn"><a name="operator-gt"></a>bool const_iterator::operator&gt; ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if the element pointed to by this iterator is greater than the element pointed to by the <i>other</i> iterator.</p>
<a name="//apple_ref/cpp/instm/QWebElementCollection::const_iterator/operator&gt;="></a>
<h3 class="fn"><a name="operator-gt-eq"></a>bool const_iterator::operator&gt;= ( const const_iterator &amp; <i>other</i> ) const</h3>
<p>Returns true if the element pointed to by this iterator is greater than or equal to the element pointed to by the <i>other</i> iterator.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>