OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
An iterator permitting to iterate with a stride different from 1. More...
#include <FSlice.h>
Public Types | |
typedef std::random_access_iterator_tag | iterator_category |
The iterator tag, taken from the standard template library. More... | |
typedef T | value_type |
The value type. More... | |
typedef std::ptrdiff_t | difference_type |
The pointer difference type. More... | |
typedef T * | pointer |
The pointer type. More... | |
typedef T & | reference |
The reference type. More... | |
Public Member Functions | |
FSlice (T *) | |
Constructor for array. More... | |
FSlice (const FSlice &) | |
FSlice & | operator= (const FSlice &) |
bool | operator== (const FSlice &rhs) const |
bool | operator!= (const FSlice &rhs) const |
FSlice & | operator++ () |
Increment (iterate forward). More... | |
FSlice | operator++ (int) |
Increment (iterate forward). More... | |
FSlice & | operator-- () |
Decrement (iterate backward). More... | |
FSlice | operator-- (int) |
Decrement (iterate backward). More... | |
FSlice & | operator+= (std::ptrdiff_t) |
Increment by multiple stride. More... | |
FSlice & | operator-= (std::ptrdiff_t) |
Decrement by multiple stride. More... | |
FSlice | operator+ (std::ptrdiff_t) |
Add multiple stride. More... | |
FSlice | operator- (std::ptrdiff_t) |
Subtract multiple stride. More... | |
difference_type | operator- (const FSlice &) const |
Difference. More... | |
T & | operator* () const |
Dereference. More... | |
T & | operator[] (int) const |
Delegate. More... | |
Private Attributes | |
T * | cursor |
An iterator permitting to iterate with a stride different from 1.
typedef std::ptrdiff_t FSlice< T, S >::difference_type |
typedef std::random_access_iterator_tag FSlice< T, S >::iterator_category |
typedef T FSlice< T, S >::value_type |
|
inline |
Definition at line 218 of file FSlice.h.
References FSlice< T, S >::cursor.
|
inline |
|
inline |
|
inline |
Definition at line 207 of file FSlice.h.
References FSlice< T, S >::cursor.
|
inline |
Definition at line 213 of file FSlice.h.
References FSlice< T, S >::cursor.
|
inline |
|
private |
Definition at line 92 of file FSlice.h.
Referenced by FSlice< T, S >::operator!=(), FSlice< T, S >::operator-(), FSlice< T, S >::operator=(), and FSlice< T, S >::operator==().