FreePOOMA
2.4.1
|
A random access iterator class that iterates through all of the points of an Range<1>, returning ints when dereferenced. More...
#include <RangeIterator.h>
Public Types | |
typedef RangeIterator | This_t |
typedef Range< 1 > | Domain_t |
typedef ptrdiff_t | Value_t |
typedef std::random_access_iterator_tag | iterator_category |
typedef ptrdiff_t | value_type |
typedef ptrdiff_t | difference_type |
typedef const ptrdiff_t * | pointer |
typedef const ptrdiff_t & | reference |
Public Member Functions | |
RangeIterator (const Domain_t &d, int initial_pos=0) | |
RangeIterator (const This_t &it) | |
RangeIterator () | |
const Value_t & | operator* () const |
const Value_t * | operator-> () const |
bool | operator== (const This_t &i) const |
bool | operator!= (const This_t &i) const |
bool | operator< (const This_t &i) const |
bool | operator<= (const This_t &i) const |
bool | operator> (const This_t &i) const |
bool | operator>= (const This_t &i) const |
Value_t | operator[] (int n) const |
This_t | operator+ (int n) const |
This_t | operator- (int n) const |
ptrdiff_t | operator- (const This_t &it) const |
bool | done () const |
This_t & | operator= (const This_t &it) |
This_t & | operator++ () |
This_t & | operator-- () |
This_t | operator++ (int) |
This_t | operator-- (int) |
This_t | operator+= (int n) |
This_t | operator-= (int n) |
A random access iterator class that iterates through all of the points of an Range<1>, returning ints when dereferenced.
typedef RangeIterator RangeIterator::This_t |
typedef Range<1> RangeIterator::Domain_t |
typedef ptrdiff_t RangeIterator::Value_t |
typedef std::random_access_iterator_tag RangeIterator::iterator_category |
typedef ptrdiff_t RangeIterator::value_type |
typedef ptrdiff_t RangeIterator::difference_type |
typedef const ptrdiff_t* RangeIterator::pointer |
typedef const ptrdiff_t& RangeIterator::reference |
RangeIterator::RangeIterator | ( | const Domain_t & | d, |
int | initial_pos = 0 |
||
) | [inline] |
RangeIterator::RangeIterator | ( | const This_t & | it | ) | [inline] |
RangeIterator::RangeIterator | ( | ) | [inline] |
bool RangeIterator::operator== | ( | const This_t & | i | ) | const [inline] |
bool RangeIterator::operator!= | ( | const This_t & | i | ) | const [inline] |
bool RangeIterator::operator< | ( | const This_t & | i | ) | const [inline] |
bool RangeIterator::operator<= | ( | const This_t & | i | ) | const [inline] |
bool RangeIterator::operator> | ( | const This_t & | i | ) | const [inline] |
bool RangeIterator::operator>= | ( | const This_t & | i | ) | const [inline] |
Value_t RangeIterator::operator[] | ( | int | n | ) | const [inline] |
This_t RangeIterator::operator+ | ( | int | n | ) | const [inline] |
This_t RangeIterator::operator- | ( | int | n | ) | const [inline] |
bool RangeIterator::done | ( | ) | const [inline] |
References Domain< Dim, DT >::size().
Referenced by operator*(), and operator->().
This_t& RangeIterator::operator++ | ( | ) | [inline] |
This_t& RangeIterator::operator-- | ( | ) | [inline] |
This_t RangeIterator::operator++ | ( | int | ) | [inline] |
This_t RangeIterator::operator-- | ( | int | ) | [inline] |
This_t RangeIterator::operator+= | ( | int | n | ) | [inline] |
This_t RangeIterator::operator-= | ( | int | n | ) | [inline] |