Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The TQMapConstIterator class provides an iterator for TQMap. More...
#include <tqmap.h>
In contrast to TQMapIterator, 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 TQMap iterators, see TQMapIterator and the TQMap example.
See also TQMap, TQMapIterator, TQt 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 TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|