![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QMapConstIterator class provides an iterator for QMap. More...
#include <qmap.h>
In contrast to QMapIterator, this class is used to iterate over a const map. It does not allow to modify the values of the map because this would break the const semantics.
For more informations on QMap iterators, see QMapIterator.
See also QMap and QMapIterator.
Compares both iterators and returns TRUE if they point to different items.
Asterix operator. Returns a const reference to the current item. The same as data().
Prefix ++ makes the succeeding item current and returns an iterator pointing to the new current item. The iterator can not check whether it reached the end of the map. Incrementing the iterator as returned by end() causes undefined results.
Postfix ++ makes the succeeding item current and returns an iterator pointing to the new current item. The iterator can not check whether it reached the end of the map. Incrementing the iterator as returned by end() causes undefined results.
Prefix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator can not check whether it reached the beginning of the map. Decrementing the iterator as returned by begin() causes undefined results.
Postfix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator can not check whether it reached the beginning of the map. Decrementing the iterator as returned by begin() causes undefined results.
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-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta1-beta1
|