![]() |
#include <Array.h>
Public Member Functions | |
| Iterator () | |
| Create an iterator positioned at the end of the array. | |
| Iterator (const Array< T > &array) | |
| Create an iterator positioned at the beginning of the array. | |
| Iterator (const Array< T > &array, Index index) | |
| Create an iterator positioned at the given position. | |
| Iterator & | operator++ () |
| Iterator & | operator-- () |
| bool | end () const |
| bool | last () const |
| bool | operator== (const Iterator &it) |
| void | operator= (Iterator &it) |
| void | operator= (const Iterator &it) |
| int | index () const |
| T & | operator * () const |
| T * | operator-> () const |
| operator T * () const | |
| T * | pointer () const |
for (Array<T>::Iterator it(array); !it.end(); ++it) { it->...(); }
|
|||||||||
|
Create an iterator positioned at the end of the array.
|
|
||||||||||
|
Create an iterator positioned at the beginning of the array.
|
|
||||||||||||||||
|
Create an iterator positioned at the given position.
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.