#include <iota_iterator.h>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
Is incremented with the iterator. | |
typedef Type | value_type |
typedef ptrdiff_t | difference_type |
typedef Type * | pointer |
typedef Type & | reference |
Public Member Functions | |
iota_iterator (const Type &val) | |
Initial value returned when dereferencing the iterator. | |
const Type & | operator * (void) const |
iota_iterator & | operator++ (void) |
The next dereferencement of this iterator gives the next value. | |
bool | operator!= (const iota_iterator &desi) const |
The iterators are identical if the values are. | |
bool | operator== (const iota_iterator &desi) const |
The iterators are identical if the values are. | |
Private Attributes | |
Type | _val |
typedef ptrdiff_t rpa::iota_iterator< Type >::difference_type |
typedef std::input_iterator_tag rpa::iota_iterator< Type >::iterator_category |
Is incremented with the iterator.
typedef Type* rpa::iota_iterator< Type >::pointer |
typedef Type& rpa::iota_iterator< Type >::reference |
typedef Type rpa::iota_iterator< Type >::value_type |
rpa::iota_iterator< Type >::iota_iterator | ( | const Type & | val | ) | [inline] |
Initial value returned when dereferencing the iterator.
const Type& rpa::iota_iterator< Type >::operator * | ( | void | ) | const [inline] |
bool rpa::iota_iterator< Type >::operator!= | ( | const iota_iterator< Type > & | desi | ) | const [inline] |
The iterators are identical if the values are.
iota_iterator& rpa::iota_iterator< Type >::operator++ | ( | void | ) | [inline] |
The next dereferencement of this iterator gives the next value.
bool rpa::iota_iterator< Type >::operator== | ( | const iota_iterator< Type > & | desi | ) | const [inline] |
The iterators are identical if the values are.
Type rpa::iota_iterator< Type >::_val [private] |