iterator Class Reference(QWebElementCollection::iterator)The QWebElementCollection::iterator class provides an STL-style iterator for QWebElementCollection. Далее... #include <QWebElementCollection> Этот класс был введён в Qt 4.6. Открытые функции
Подробное описание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. Описание функций-членовiterator::iterator ( const iterator & other )Создаёт копию other. bool iterator::operator!= ( const iterator & other ) constReturns true if other points to a different element than this; iterator; otherwise returns false. Смотрите также operator==(). QWebElement iterator::operator* () constReturns the current element. iterator iterator::operator+ ( int j ) constReturns an iterator to the element at j positions forward from this iterator. If j is negative, the iterator goes backward. See also operator-() and operator+=(). iterator & iterator::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. See also operator--(). iterator iterator::operator++ ( int )Это перегруженная функция. 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. iterator & iterator::operator+= ( int j )Advances the iterator by j elements. If j is negative, the iterator goes backward. See also operator-=() and operator+(). iterator iterator::operator- ( int j ) constReturns an iterator to the element at j positiosn backward from this iterator. If j is negative, the iterator goes forward. See also operator+() and operator-=(). int iterator::operator- ( iterator other ) constReturns the number of elements between the item point to by other and the element pointed to by this iterator. iterator & iterator::operator-- ()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. See also operator++(). iterator iterator::operator-- ( int )Это перегруженная функция. The postfix -- operator (it--) makes the preceding element current and returns an iterator to the previously current element. iterator & iterator::operator-= ( int j )Makes the iterator go back by j elements. If j is negative, the iterator goes forward. See also operator+=() and operator-(). bool iterator::operator< ( const iterator & other ) constReturns true if the element pointed to by this iterator is less than the element pointed to by the other iterator. bool iterator::operator<= ( const iterator & other ) constReturns true if the element pointed to by this iterator is less than or equal to the element pointed to by the other iterator. bool iterator::operator== ( const iterator & other ) constReturns true if other points to the same item as this iterator; otherwise returns false. Смотрите также operator!=(). bool iterator::operator> ( const iterator & other ) constReturns true if the element pointed to by this iterator is greater than the element pointed to by the other iterator. bool iterator::operator>= ( const iterator & other ) constReturns true if the element pointed to by this iterator is greater than or equal to the element pointed to by the other iterator. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |