Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

const_iterator Class

(QWebElementCollection::const_iterator)

TheQWebElementCollection::const_iterator class provides an STL-style const iterator forQWebElementCollection.More...

Header:#include <const_iterator>
Since: Qt 4.6

Public Functions

const_iterator(const const_iterator & other)
booloperator!=(const const_iterator & other) const
const QWebElementoperator*() const
const_iteratoroperator+(int j) const
const_iterator &operator++()
const_iteratoroperator++(int)
const_iterator &operator+=(int j)
const_iteratoroperator-(int j) const
intoperator-(const_iterator other) const
const_iterator &operator--()
const_iteratoroperator--(int)
const_iterator &operator-=(int j)
booloperator<(const const_iterator & other) const
booloperator<=(const const_iterator & other) const
booloperator==(const const_iterator & other) const
booloperator>(const const_iterator & other) const
booloperator>=(const const_iterator & other) const

Detailed Description

TheQWebElementCollection::const_iterator class provides an STL-style const iterator forQWebElementCollection.

QWebElementCollection provides STL style const iterators for fast low-level access to the elements.

QWebElementCollection::const_iterator allows you to iterate over aQWebElementCollection.

Member Function Documentation

const_iterator::const_iterator(constconst_iterator & other)

Constructs a copy ofother.

bool const_iterator::operator!=(constconst_iterator & other) const

Returns true ifother points to a different element than this; iterator; otherwise returns false.

See alsooperator==().

constQWebElement const_iterator::operator*() const

Returns the current element.

const_iterator const_iterator::operator+(int j) const

Returns an iterator to the element atj positions forward from this iterator. Ifj is negative, the iterator goes backward.

See alsooperator-() andoperator+=().

const_iterator & const_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 onQWebElementCollection::end() leads to undefined results.

See alsooperator--().

const_iterator const_iterator::operator++(int)

This is an overloaded function.

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 onQWebElementCollection::end() leads to undefined results.

const_iterator & const_iterator::operator+=(int j)

Advances the iterator byj elements. Ifj is negative, the iterator goes backward.

See alsooperator-=() andoperator+().

const_iterator const_iterator::operator-(int j) const

Returns an iterator to the element atj positiosn backward from this iterator. Ifj is negative, the iterator goes forward.

See alsooperator+() andoperator-=().

int const_iterator::operator-(const_iterator other) const

Returns the number of elements between the item point to byother and the element pointed to by this iterator.

const_iterator & const_iterator::operator--()

The prefix -- operator (--it) makes the preceding element current and returns an iterator to the new current element.

Calling this function onQWebElementCollection::begin() leads to undefined results.

See alsooperator++().

const_iterator const_iterator::operator--(int)

This is an overloaded function.

The postfix -- operator (it--) makes the preceding element current and returns an iterator to the previously current element.

const_iterator & const_iterator::operator-=(int j)

Makes the iterator go back byj elements. Ifj is negative, the iterator goes forward.

See alsooperator+=() andoperator-().

bool const_iterator::operator<(constconst_iterator & other) const

Returns true if the element pointed to by this iterator is less than the element pointed to by theother iterator.

bool const_iterator::operator<=(constconst_iterator & other) const

Returns true if the element pointed to by this iterator is less than or equal to the element pointed to by theother iterator.

bool const_iterator::operator==(constconst_iterator & other) const

Returns true ifother points to the same item as this iterator; otherwise returns false.

See alsooperator!=().

bool const_iterator::operator>(constconst_iterator & other) const

Returns true if the element pointed to by this iterator is greater than the element pointed to by theother iterator.

bool const_iterator::operator>=(constconst_iterator & other) const

Returns true if the element pointed to by this iterator is greater than or equal to the element pointed to by theother iterator.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.


[8]ページ先頭

©2009-2025 Movatter.jp