KJS::ListIterator Class Reference
Iterator for KJS::List objects. More...
#include <types.h>
Public Member Functions | |
| ListIterator (const List &l) | |
| Construct an iterator that points to the first element of the list. | |
| ListIterator & | operator= (const ListIterator &iterator) |
| Assignment constructor. | |
| ListIterator (const ListIterator &i) | |
| Copy constructor. | |
| ValueImp * | operator-> () const |
| Dereference the iterator. | |
| Value | operator * () const |
| Value | operator++ () |
| Postfix increment operator. | |
| Value | operator++ (int) |
| Prefix increment operator. | |
| Value | operator-- () |
| Postfix decrement operator. | |
| Value | operator-- (int) |
| Prefix decrement operator. | |
| bool | operator== (const ListIterator &it) const |
| Compare the iterator with another one. | |
| bool | operator!= (const ListIterator &it) const |
| Check for inequality with another iterator. | |
Friends | |
| class | List |
| class | ListImp |
Detailed Description
Iterator for KJS::List objects.
Definition at line 58 of file types.h.
Constructor & Destructor Documentation
|
|
Construct an iterator that points to the first element of the list.
Definition at line 92 of file types.cpp. References KStdAccel::next(). |
|
|
Copy constructor.
|
Member Function Documentation
|
|
Assignment constructor.
Definition at line 97 of file types.cpp. References node. |
|
|
Dereference the iterator.
|
|
|
Postfix increment operator.
|
|
|
Prefix increment operator.
|
|
|
Postfix decrement operator.
|
|
|
Prefix decrement operator.
|
|
|
Compare the iterator with another one.
Definition at line 149 of file types.cpp. References node. |
|
|
Check for inequality with another iterator.
Definition at line 154 of file types.cpp. References node. |
The documentation for this class was generated from the following files:
