Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

const_iterator Class Reference

(QWebElementCollection::const_iterator)

The QWebElementCollection::const_iterator class provides an STL-style const iterator for QWebElementCollection. More...

 #include <QWebElementCollection>

This class was introduced in Qt 4.6.

Public Functions

const_iterator ( const const_iterator & other )
bool operator!= ( const const_iterator & other ) const
const QWebElement operator* () const
const_iterator operator+ ( int j ) const
const_iterator & operator++ ()
const_iterator operator++ ( int )
const_iterator & operator+= ( int j )
const_iterator operator- ( int j ) const
int operator- ( const_iterator other ) const
const_iterator & operator-- ()
const_iterator operator-- ( int )
const_iterator & operator-= ( int j )
bool operator< ( const const_iterator & other ) const
bool operator<= ( const const_iterator & other ) const
bool operator== ( const const_iterator & other ) const
bool operator> ( const const_iterator & other ) const
bool operator>= ( const const_iterator & other ) const

Detailed Description

The QWebElementCollection::const_iterator class provides an STL-style const iterator for QWebElementCollection.

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

QWebElementCollection::const_iterator allows you to iterate over a QWebElementCollection.

Member Function Documentation

const_iterator::const_iterator ( const const_iterator & other )

Constructs a copy of other.

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

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

See also operator==().

const QWebElement const_iterator::operator* () const

Returns the current element.

const_iterator const_iterator::operator+ ( int j ) const

Returns 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+=().

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

See also operator--().

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

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

Advances the iterator by j elements. If j is negative, the iterator goes backward.

See also operator-=() and operator+().

const_iterator const_iterator::operator- ( int j ) const

Returns 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 const_iterator::operator- ( const_iterator other ) const

Returns the number of elements between the item point to by other 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 on QWebElementCollection::begin() leads to undefined results.

See also operator++().

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 by j elements. If j is negative, the iterator goes forward.

See also operator+=() and operator-().

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

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

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

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

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

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

See also operator!=().

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

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

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

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

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.8
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web