#include <RmArray.h>
Inheritance diagram for RmArray< Type >::const_iterator:

Public Member Functions | |
| const_iterator () | |
| Constructor. | |
| const_iterator (RmArray *pArray, int nIndex) | |
| Constructor. | |
| ~const_iterator () | |
| Destructor. | |
| const_iterator & | operator++ () |
| Prefix++. | |
| const_iterator | operator++ (int) |
| Postfix++. | |
| const_iterator & | operator-- () |
| Prefix--. | |
| const_iterator | operator-- (int) |
| Prefix--. | |
| const Type & | operator * () const |
| Accessing actual item. | |
| bool | operator== (const const_iterator &src) |
| opreator == | |
| bool | operator!= (const const_iterator &src) |
| opreator != | |
| bool | operator> (const const_iterator &src) |
| opreator > | |
| bool | operator< (const const_iterator &src) |
| opreator < | |
| bool | operator>= (const const_iterator &src) |
| opreator >= | |
| bool | operator<= (const const_iterator &src) |
| opreator <= | |
Protected Attributes | |
| RmArray * | m_pArray |
| Array f items. | |
| int | m_index |
| Current item index. | |
Constant iterator for this array class. begin() returns the beginning iterator and ++ operator of iterator will advance iterator by 1. Similarly -- operator will move backward by 1.
|
|||||||||
|
Constructor. Constructor |
|
||||||||||||||||
|
Constructor. Constructor |
|
|||||||||
|
Destructor. Destructor |
|
|||||||||
|
Accessing actual item. Access item by dereferencing iterator
|
|
||||||||||
|
opreator != Equality operator
|
|
||||||||||
|
Postfix++. Increment operator to advance iterator
Reimplemented in RmArray< Type >::iterator. |
|
|||||||||
|
Prefix++. Increment operator to advance iterator
Reimplemented in RmArray< Type >::iterator. |
|
||||||||||
|
Prefix--. Decrement operator to move iterator backward
Reimplemented in RmArray< Type >::iterator. |
|
|||||||||
|
Prefix--. Decrement operator to move iterator backward
Reimplemented in RmArray< Type >::iterator. |
|
||||||||||
|
opreator < Less operator
|
|
||||||||||
|
opreator <= Less equal operator
|
|
||||||||||
|
opreator == Equality operator
|
|
||||||||||
|
opreator > Greater operator
|
|
||||||||||
|
opreator >= Greater equal operator
|
1.3.6