HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QValueListConstIterator Class Reference


The QValueListConstIterator class provides an iterator for QValueList. More...

#include <qvaluelist.h>

List of all member functions.

Public Members


Detailed Description

The QValueListConstIterator class provides an iterator for QValueList.

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

For more informations on QValueList iterators see QValueListIterator.

See also QValueListIterator and QValueList.


Member Function Documentation

QValueListConstIterator::QValueListConstIterator ()

Creates un uninitialized iterator.

QValueListConstIterator::QValueListConstIterator ( NodePtr p )

Internal function.

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

Constructs a copy of the iterator it.

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

Constructs a copy of the iterator it.

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

Compares both iterators and returns TRUE if they point to different items.

const T& QValueListConstIterator::operator* () const

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

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

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

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

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

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

Postfix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator can not check wether it reached the beginning of the list. Decrementing the iterator as returned by begin() 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 can not check wether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results.

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

Compares both iterators and returns TRUE if they point to the same item.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.


Copyright © 2000 TrolltechTrademarks
Qt version 2.2.1