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.
Constructs an uninitialized iterator.
Constructs an iterator starting at node p.
Constructs a copy of the iterator, it.
Constructs a copy of the iterator, it.
Returns a const reference to the current item's data.
Returns a const reference to the current item's key.
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's data. 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-2003 Trolltech. All Rights Reserved.
Copyright © 2003 Trolltech | Trademarks | Qt version 3.2.0b2
|