#include <xmog_java_array.h>
Collaboration diagram for xmog_array_iterator< ArrayType >:

Public Types | |
| typedef ArrayType::difference_type | difference_type |
| The difference type used to represent two subtracted iterators. | |
| typedef ArrayType::value_type | value_type |
| The value type used when the iterator is dereferenced. | |
Public Member Functions | |
| value_type | operator * () |
| The dereference operator returns the element at the current index. | |
| bool | operator!= (const xmog_array_iterator< ArrayType > &rhs) const |
| xmog_array_iterator< ArrayType > | operator+ (difference_type diff) |
| xmog_array_iterator< ArrayType > | operator++ (int) |
| The post increment operator. | |
| xmog_array_iterator< ArrayType > & | operator++ () |
| The pre increment operator. | |
| xmog_array_iterator< ArrayType > & | operator+= (difference_type diff) |
| The additive assignment operator. | |
| xmog_array_iterator< ArrayType > | operator- (difference_type diff) |
| xmog_array_iterator< ArrayType > | operator-- (int) |
| The post decrement operator. | |
| xmog_array_iterator< ArrayType > & | operator-- () |
| The pre decrement operator. | |
| xmog_array_iterator< ArrayType > & | operator-= (difference_type diff) |
| The subtractive assignment operator. | |
| bool | operator< (const xmog_array_iterator< ArrayType > &rhs) const |
| bool | operator<= (const xmog_array_iterator< ArrayType > &rhs) const |
| xmog_array_iterator< ArrayType > & | operator= (const xmog_array_iterator< ArrayType > &rhs) |
| The assignment operator (required by iterator contract). | |
| bool | operator== (const xmog_array_iterator< ArrayType > &rhs) const |
| bool | operator> (const xmog_array_iterator< ArrayType > &rhs) const |
| bool | operator>= (const xmog_array_iterator< ArrayType > &rhs) const |
| value_type | operator[] (jint ind) |
| The subscript operator returns the element that is 'ind' away from the current index position. | |
| xmog_array_iterator (ArrayType &arr, jint ind) | |
| The constructor that creates an iterator that is positioned on an arbitrary element of the array. | |
| xmog_array_iterator (ArrayType &arr) | |
| The constructor that creates an iterator that is positioned on the first element of the array. | |
| xmog_array_iterator (const xmog_array_iterator< ArrayType > &rhs) | |
| The copy constructor (required by iterator contract). | |
| xmog_array_iterator () | |
| The default constructor (required by iterator contract). | |
| ~xmog_array_iterator () | |
| The destructor. | |
This iterator supports the entire random_iterator contract and can be used in that fashion. Illegal indices will throw a Java proxy exception.
|
|||||
|
The value type used when the iterator is dereferenced. This type is derived from the array instance's value type. |
|
||||||||||
|
The copy constructor (required by iterator contract).
|
|
||||||||||
|
The constructor that creates an iterator that is positioned on the first element of the array.
|
|
||||||||||||||||
|
The constructor that creates an iterator that is positioned on an arbitrary element of the array.
|
|
||||||||||
|
The assignment operator (required by iterator contract).
|
1.4.1