OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Constant version of FSlice. 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 const T | value_type |
The value type. More... | |
typedef std::ptrdiff_t | difference_type |
The pointer difference type. More... | |
typedef const T * | pointer |
The pointer type. More... | |
typedef const T & | reference |
The reference type. More... | |
Public Member Functions | |
FConstSlice (const T *) | |
Constructor from array and stride. More... | |
FConstSlice (const FConstSlice &rhs) | |
FConstSlice & | operator= (const FConstSlice &) |
bool | operator== (const FConstSlice &rhs) const |
bool | operator!= (const FConstSlice &rhs) const |
FConstSlice & | operator++ () |
Increment (iterate forward). More... | |
FConstSlice | operator++ (int) |
Increment (iterate forward). More... | |
FConstSlice & | operator-- () |
Decrement (iterate backward). More... | |
FConstSlice | operator-- (int) |
Decrement (iterate backward). More... | |
FConstSlice & | operator+= (std::ptrdiff_t) |
Add multiple stride and assign. More... | |
FConstSlice & | operator-= (std::ptrdiff_t) |
Subtract multiple stride and assign. More... | |
FConstSlice | operator+ (std::ptrdiff_t) const |
Add multiple stride. More... | |
FConstSlice | operator- (std::ptrdiff_t) const |
Subtract multiple stride. More... | |
difference_type | operator- (const FConstSlice &) const |
Get pointer difference. More... | |
const T & | operator* () const |
Dereference. More... | |
const T & | operator[] (int) const |
Delegate. More... | |
Private Attributes | |
const T * | cursor |
Constant version of FSlice.
typedef std::ptrdiff_t FConstSlice< T, S >::difference_type |
typedef std::random_access_iterator_tag FConstSlice< T, S >::iterator_category |
typedef const T* FConstSlice< T, S >::pointer |
typedef const T& FConstSlice< T, S >::reference |
typedef const T FConstSlice< T, S >::value_type |
|
inline |
|
inline |
|
inline |
Definition at line 314 of file FSlice.h.
References FConstSlice< T, S >::cursor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get pointer difference.
Definition at line 370 of file FSlice.h.
References FConstSlice< T, S >::cursor.
|
inline |
|
inline |
|
inline |
|
inline |
Subtract multiple stride and assign.
Definition at line 351 of file FSlice.h.
References Hypervolume::n.
|
inline |
Definition at line 303 of file FSlice.h.
References FConstSlice< T, S >::cursor.
|
inline |
Definition at line 309 of file FSlice.h.
References FConstSlice< T, S >::cursor.
|
inline |
|
mutableprivate |
Definition at line 163 of file FSlice.h.
Referenced by FConstSlice< T, S >::operator!=(), FConstSlice< T, S >::operator-(), FConstSlice< T, S >::operator=(), and FConstSlice< T, S >::operator==().