.TH "KJS::ListIterator" 3 "28 Jan 2004" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::ListIterator \- Iterator for \fBKJS::List\fP objects.  

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

.in +1c
.ti -1c
.RI "\fBListIterator\fP (const  \fBList\fP &l)"
.br
.RI "\fIConstruct an iterator that points to the first element of the list. \fP"
.ti -1c
.RI "\fBListIterator\fP & \fBoperator=\fP (const  \fBListIterator\fP &iterator)"
.br
.RI "\fIAssignment constructor. \fP"
.ti -1c
.RI "\fBListIterator\fP (const  \fBListIterator\fP &i)"
.br
.RI "\fICopy constructor. \fP"
.ti -1c
.RI "\fBValueImp\fP * \fBoperator->\fP () const "
.br
.RI "\fIDereference the iterator. \fP"
.ti -1c
.RI "\fBValue\fP \fBoperator *\fP () const "
.br
.ti -1c
.RI "\fBValue\fP \fBoperator++\fP ()"
.br
.RI "\fIPostfix increment operator. \fP"
.ti -1c
.RI "\fBValue\fP \fBoperator++\fP (int)"
.br
.RI "\fIPrefix increment operator. \fP"
.ti -1c
.RI "\fBValue\fP \fBoperator--\fP ()"
.br
.RI "\fIPostfix decrement operator. \fP"
.ti -1c
.RI "\fBValue\fP \fBoperator--\fP (int)"
.br
.RI "\fIPrefix decrement operator. \fP"
.ti -1c
.RI "bool \fBoperator==\fP (const  \fBListIterator\fP &it) const "
.br
.RI "\fICompare the iterator with another one. \fP"
.ti -1c
.RI "bool \fBoperator!=\fP (const  \fBListIterator\fP &it) const "
.br
.RI "\fICheck for inequality with another iterator. \fP"
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBList\fP"
.br
.ti -1c
.RI "class \fBListImp\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Iterator for \fBKJS::List\fP objects. Definition at line 58 of file types.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "ListIterator::ListIterator (const \fBList\fP & l)"
.PP
Construct an iterator that points to the first element of the list. \fBParameters:\fP
.RS 4
\fIl\fP The list the iterator will operate on. 
.RE
.PP
Definition at line 92 of file types.cpp.
.PP
References KStdAccel::next().
.SS "ListIterator::ListIterator (const \fBListIterator\fP & i)"
.PP
Copy constructor. Definition at line 103 of file types.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBListIterator\fP & ListIterator::operator= (const \fBListIterator\fP & iterator)"
.PP
Assignment constructor. Definition at line 97 of file types.cpp.
.PP
References node.
.SS "\fBValueImp\fP * ListIterator::operator-> () const"
.PP
Dereference the iterator. \fBReturns:\fP
.RS 4
A pointer to the element the iterator operates on. 
.RE
.PP
Definition at line 111 of file types.cpp.
.SS "\fBValue\fP ListIterator::operator++ ()"
.PP
Postfix increment operator. \fBReturns:\fP
.RS 4
The element after the increment. 
.RE
.PP
Definition at line 123 of file types.cpp.
.SS "\fBValue\fP ListIterator::operator++ (int)"
.PP
Prefix increment operator. Definition at line 129 of file types.cpp.
.SS "\fBValue\fP ListIterator::operator-- ()"
.PP
Postfix decrement operator. Definition at line 136 of file types.cpp.
.SS "\fBValue\fP ListIterator::operator-- (int)"
.PP
Prefix decrement operator. Definition at line 142 of file types.cpp.
.SS "bool ListIterator::operator== (const \fBListIterator\fP & it) const"
.PP
Compare the iterator with another one. \fBReturns:\fP
.RS 4
True if the two iterators operate on the same list element. False otherwise. 
.RE
.PP
Definition at line 149 of file types.cpp.
.PP
References node.
.SS "bool ListIterator::operator!= (const \fBListIterator\fP & it) const"
.PP
Check for inequality with another iterator. \fBReturns:\fP
.RS 4
True if the two iterators operate on different list elements. 
.RE
.PP
Definition at line 154 of file types.cpp.
.PP
References node.

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