The QWebElementCollection::iterator class provides an STL-style iterator for QWebElementCollection . 更多...
| 頭: | #include <iterator> |
| Since: | Qt 4.6 |
| iterator (const iterator & other ) | |
| bool | operator!= (const iterator & other ) const |
| QWebElement | operator* () const |
| iterator | operator+ (int j ) const |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| iterator & | operator+= (int j ) |
| iterator | operator- (int j ) const |
| int | operator- (iterator other ) const |
| iterator & | operator-- () |
| iterator | operator-- (int) |
| iterator & | operator-= (int j ) |
| bool | operator< (const iterator & other ) const |
| bool | operator<= (const iterator & other ) const |
| bool | operator== (const iterator & other ) const |
| bool | operator> (const iterator & other ) const |
| bool | operator>= (const iterator & other ) const |
The QWebElementCollection::iterator class provides an STL-style iterator for QWebElementCollection .
QWebElementCollection provides STL style iterators for fast low-level access to the elements.
QWebElementCollection::iterator allows you to iterate over a QWebElementCollection .
構造副本為 other .
返迴 true 若 other points to a different element than this; iterator; otherwise returns false.
另請參閱 operator== ().
Returns the current element.
Returns an iterator to the element at j positions forward from this iterator. If j is negative, the iterator goes backward.
另請參閱 operator- () 和 operator+= ().
The prefix ++ operator (
++it
) advances the iterator to the next element in the collection and returns an iterator to the new current element.
Calling this function on QWebElementCollection::end () leads to undefined results.
另請參閱 operator-- ().
這是重載函數。
The postfix ++ operator (
it++
) advances the iterator to the next element in the collection and returns an iterator to the previously current element.
Calling this function on QWebElementCollection::end () leads to undefined results.
推進迭代器 j elements. If j is negative, the iterator goes backward.
另請參閱 operator-= () 和 operator+ ().
Returns an iterator to the element at j positiosn backward from this iterator. If j is negative, the iterator goes forward.
另請參閱 operator+ () 和 operator-= ().
Returns the number of elements between the item point to by other and the element pointed to by this iterator.
The prefix -- operator (
--it
) makes the preceding element current and returns an iterator to the new current element.
Calling this function on QWebElementCollection::begin () leads to undefined results.
另請參閱 operator++ ().
這是重載函數。
The postfix -- operator (
it--
) makes the preceding element current and returns an iterator to the previously current element.
Makes the iterator go back by j elements. If j is negative, the iterator goes forward.
另請參閱 operator+= () 和 operator- ().
Returns true if the element pointed to by this iterator is less than the element pointed to by the other iterator.
Returns true if the element pointed to by this iterator is less than or equal to the element pointed to by the other iterator.
返迴 true 若 other points to the same item as this iterator; otherwise returns false.
另請參閱 operator!= ().
Returns true if the element pointed to by this iterator is greater than the element pointed to by the other iterator.
Returns true if the element pointed to by this iterator is greater than or equal to the element pointed to by the other iterator.