qmapconstiterator.3qt

来自「Qt/Embedded是一个多平台的C++图形用户界面应用程序框架」· 3QT 代码 · 共 81 行

3QT
81
字号
.TH QMapConstIterator 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQMapConstIterator \- Iterator for QMap.SH SYNOPSIS.br.PP\fC#include <qmap.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQMapConstIterator\fR () ".br.ti -1c.BI "\fBQMapConstIterator\fR ( QMapNode<K, T> * p ) ".br.ti -1c.BI "\fBQMapConstIterator\fR ( const QMapConstIterator<K,T> & it ) ".br.ti -1c.BI "\fBQMapConstIterator\fR ( const QMapIterator<K,T> & it ) ".br.ti -1c.BI "bool \fBoperator==\fR ( const QMapConstIterator<K,T> & it ) const".br.ti -1c.BI "bool \fBoperator!=\fR ( const QMapConstIterator<K,T> & it ) const".br.ti -1c.BI "const T& \fBoperator*\fR () const".br.ti -1c.BI "const K& \fBkey\fR () const".br.ti -1c.BI "const T& \fBdata\fR () const".br.in -1c.SH DESCRIPTIONThe QMapConstIterator class provides an iterator for QMap..PPIn contrast to QMapIterator this class is used to iterate over a const map. It does not allow to modify the values of the map since this would break the const semantics..PPFor more informations on QMap iterators see QMapIterator..PPSee also QMap and QMapIterator..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 QMapIterator<K,T> & it )"Constructs a copy of the iterator..SH "QMapConstIterator::QMapConstIterator ( const QMapConstIterator<K,T> & it )"Constructs a copy of the iterator..SH "const T& QMapConstIterator::data () const"Returns a const reference to the data of the current item..SH "const K& QMapConstIterator::key () const"Returns a const reference to the current key..SH "bool QMapConstIterator::operator!= ( const QMapConstIterator<K,T> & it ) const"Compares both iterators and returns TRUE if they point to different items..SH "const T& QMapConstIterator::operator* () const"Asterix operator. Returns a const reference to the current item. The same as data()..SH "bool QMapConstIterator::operator== ( const QMapConstIterator<K,T> & it ) const"Compares both iterators and returns TRUE if they point to the sameitem..SH "SEE ALSO".BR http://doc.trolltech.com/qmapconstiterator.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?