QValueListConstIterator - Iterator for
#include <qvaluelist.h>
Public Members
QValueListConstIterator ()
QValueListConstIterator ( NodePtr p )
QValueListConstIterator ( const QValueListConstIterator<T>
& it )
QValueListConstIterator ( const QValueListIterator<T> & it
)
bool operator== ( const QValueListConstIterator<T> & it )
const
bool operator!= ( const QValueListConstIterator<T> & it )
const
const T& operator* () const
QValueListConstIterator<T>& operator++ ()
QValueListConstIterator<T> operator++ ( int )
QValueListConstIterator<T>& operator-- ()
QValueListConstIterator<T> operator-- ( int )
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
different items.
const T& QValueListConstIterator::operator* () const
Asterix operator. Returns a reference to the current
iterator item.
QValueListConstIterator 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& 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 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& 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.
SEE ALSO
http://doc.trolltech.com/qvaluelistconstiterator.html
http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS,
http://www.trolltech.com. See the license file included
in the distribution for a complete license statement.
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in
http://doc.trolltech.com/bughowto.html. Good bug reports
make our job much simpler. Thank you.
In case of content or formattting problems with this
manual page, please report them to qt-bugs@trolltech.com.
Please include the name of the manual page
(qvaluelistconstiterator.3qt) and the Qt version (2.3.1).
Man(1) output converted with
man2html