Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
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 you to modify the values of the map because this would break the const semantics.
For more information on QMap iterators, see QMapIterator. and the QMap example.
See also QMap, QMapIterator, Qt Template Library Classes and Non-GUI Classes.
Compares the iterator to the it iterator and returns FALSE if they point to the same item; otherwise returns TRUE.
Dereference 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 cannot check whether it reached the end of the map. Incrementing the iterator returned by end() causes undefined results.
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 map. Incrementing the iterator returned by end() causes undefined results.
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 map. Decrementing the iterator returned by begin() causes undefined results.
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 map. Decrementing the iterator returned by begin() causes undefined results.
Compares the iterator to the it iterator 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.
Copyright © 2002 Trolltech | Trademarks | Qt version 3.0.5
|