.BI "QMapConstIterator<K, T> \fBoperator--\fR ( int )"
.br
.in -1c
.SH DESCRIPTION
The QMapConstIterator class provides an iterator for QMap.
.PP
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.
.PP
For more information on QMap iterators, see QMapIterator and the QMap example.
.PP
See also QMap, QMapIterator, Qt Template Library Classes, and Non-GUI Classes.
.SS "Member Type Documentation"
.SH "QMapConstIterator::iterator_category"
The type of iterator category, \fCstd::bidirectional_iterator_tag\fR.
.SH "QMapConstIterator::pointer"
Const pointer to value_type.
.SH "QMapConstIterator::reference"
Const reference to value_type.
.SH "QMapConstIterator::value_type"
The type of const value.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QMapConstIterator::QMapConstIterator ()"
Constructs an uninitialized iterator.
.SH "QMapConstIterator::QMapConstIterator ( QMapNode<K, T> * p )"
Constructs an iterator starting at node \fIp\fR.
.SH "QMapConstIterator::QMapConstIterator ( const QMapConstIterator<K, T> & it )"
Constructs a copy of the iterator, \fIit\fR.
.SH "QMapConstIterator::QMapConstIterator ( const QMapIterator<K, T> & it )"
Constructs a copy of the iterator, \fIit\fR.
.SH "const T & QMapConstIterator::data () const"
Returns a const reference to the current item's data.
.SH "const K & QMapConstIterator::key () const"
Returns a const reference to the current item's key.
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.
.SH "QMapConstIterator<K, T> QMapConstIterator::operator++ ( int )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
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.
.SH "QMapConstIterator<K, T> QMapConstIterator::operator-- ( int )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
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.