.TH "KJS::ListIterator" kde3 "11 Jun 2005" "Version Version 3.4.1" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::ListIterator \- Iterator for \fBKJS::List\fP objects.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <list.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBListIterator\fP (const \fBList\fP &l)"
.br
.ti -1c
.RI "\fBListIterator\fP (const \fBList\fP &l, int index)"
.br
.ti -1c
.RI "\fBValueImp\fP * \fBoperator->\fP () const "
.br
.ti -1c
.RI "\fBValue\fP \fBoperator *\fP () const "
.br
.ti -1c
.RI "\fBValue\fP \fBoperator++\fP ()"
.br
.ti -1c
.RI "\fBValue\fP \fBoperator++\fP (int)"
.br
.ti -1c
.RI "\fBValue\fP \fBoperator--\fP ()"
.br
.ti -1c
.RI "\fBValue\fP \fBoperator--\fP (int)"
.br
.ti -1c
.RI "bool \fBoperator==\fP (const \fBListIterator\fP &it) const "
.br
.ti -1c
.RI "bool \fBoperator!=\fP (const \fBListIterator\fP &it) const "
.br
.in -1c
.SH "Detailed Description"
.PP 
Iterator for \fBKJS::List\fP objects. 
.PP
Definition at line 138 of file list.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KJS::ListIterator::ListIterator (const \fBList\fP & l)\fC [inline]\fP"
.PP
Construct an iterator that points to the first element of the list. 
.PP
\fBParameters:\fP
.RS 4
\fIl\fP The list the iterator will operate on. 
.RE
.PP

.PP
Definition at line 144 of file list.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBValueImp\fP* KJS::ListIterator::operator-> () const\fC [inline]\fP"
.PP
Dereference the iterator. 
.PP
\fBReturns:\fP
.RS 4
A pointer to the element the iterator operates on. 
.RE
.PP

.PP
Definition at line 150 of file list.h.
.SS "\fBValue\fP KJS::ListIterator::operator++ ()\fC [inline]\fP"
.PP
Prefix increment operator. 
.PP
\fBReturns:\fP
.RS 4
The element after the increment. 
.RE
.PP

.PP
Definition at line 156 of file list.h.
.SS "\fBValue\fP KJS::ListIterator::operator++ (int)\fC [inline]\fP"
.PP
Postfix increment operator. 
.PP
Definition at line 160 of file list.h.
.SS "\fBValue\fP KJS::ListIterator::operator-- ()\fC [inline]\fP"
.PP
Prefix decrement operator. 
.PP
Definition at line 164 of file list.h.
.SS "\fBValue\fP KJS::ListIterator::operator-- (int)\fC [inline]\fP"
.PP
Postfix decrement operator. 
.PP
Definition at line 168 of file list.h.
.SS "bool KJS::ListIterator::operator== (const \fBListIterator\fP & it) const\fC [inline]\fP"
.PP
Compare the iterator with another one. 
.PP
\fBReturns:\fP
.RS 4
True if the two iterators operate on the same list element. False otherwise. 
.RE
.PP

.PP
Definition at line 174 of file list.h.
.SS "bool KJS::ListIterator::operator!= (const \fBListIterator\fP & it) const\fC [inline]\fP"
.PP
Check for inequality with another iterator. 
.PP
\fBReturns:\fP
.RS 4
True if the two iterators operate on different list elements. 
.RE
.PP

.PP
Definition at line 179 of file list.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kjs Library from the source code.
