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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Fonctions  · 

QValueListConstIterator Class Reference

The QValueListConstIterator class provides a const iterator for QValueList. More...

#include <qvaluelist.h>

List of all member functions.

Public Members


Detailed Description

The QValueListConstIterator class provides a const iterator for QValueList.

In contrast to QValueListIterator, this class is used to iterate over a const list. It does not allow modification of the values of the list since that would break const semantics.

You can create the appropriate const iterator type by using the const_iterator typedef provided by QValueList.

For more information on QValueList iterators, see QValueListIterator.

See also QValueListIterator, QValueList, Qt Template Library Classes and Non-GUI Classes.


Member Type Documentation

QValueListConstIterator::pointer

Pointer to value_type.

QValueListConstIterator::reference

Reference to value_type.

QValueListConstIterator::value_type

The type of value.

Member Function Documentation

QValueListConstIterator::QValueListConstIterator ()

Creates un uninitialized iterator.

QValueListConstIterator::QValueListConstIterator ( const QValueListConstIterator<T> & it )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Constructs a copy of the iterator it.

QValueListConstIterator::QValueListConstIterator ( const QValueListIterator<T> & it )

Constructs a copy of the iterator it.

bool QValueListConstIterator::operator!= ( const QValueListConstIterator<T> & it ) const

Compares this iterator with it and returns TRUE if they point to different items; otherwise returns FALSE.

const T & QValueListConstIterator::operator* () const

Asterisk operator. Returns a reference to the current iterator item.

QValueListConstIterator<T> & QValueListConstIterator::operator++ ()

Prefix ++ makes the succeeding item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the end of the list. Incrementing the iterator returned by end() causes undefined results.

QValueListConstIterator<T> QValueListConstIterator::operator++ ( int )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Postfix ++ makes the succeeding item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the end of the list. Incrementing the iterator returned by end() causes undefined results.

QValueListConstIterator<T> & QValueListConstIterator::operator-- ()

Prefix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the beginning of the list. Decrementing the iterator returned by begin() causes undefined results.

QValueListConstIterator<T> QValueListConstIterator::operator-- ( int )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Postfix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the beginning of the list. Decrementing the iterator returned by begin() causes undefined results.

bool QValueListConstIterator::operator== ( const QValueListConstIterator<T> & it ) const

Compares this iterator with it and returns TRUE if they point to the same item; otherwise returns FALSE.


This file is part of the Qt toolkit. Copyright © 1995-2002 Trolltech. All Rights Reserved.

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 3.0
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