OpenMPCD
|
Represents a range of pointers that can be iterated over. More...
#include <StridedPointerIteratorRange.hpp>
Public Member Functions | |
StridedPointerIteratorRange (Pointee *const start_, const std::size_t numberOfElements) | |
The constructor. More... | |
StridedPointerIterator< Pointee, stride > | begin () const |
Returns the first iterator in the range. More... | |
StridedPointerIterator< Pointee, stride > | end () const |
Returns the past-the-end iterator. More... | |
Represents a range of pointers that can be iterated over.
Pointee | The type the underlying pointer points at. |
stride | The iteration stride, which must not be 0. |
Definition at line 21 of file StridedPointerIteratorRange.hpp.
|
inline |
The constructor.
[in] | start_ | The first element to iterate over. |
[in] | numberOfElements | The total number of elements in the array. |
Definition at line 31 of file StridedPointerIteratorRange.hpp.
|
inline |
Returns the first iterator in the range.
Definition at line 40 of file StridedPointerIteratorRange.hpp.
|
inline |
Returns the past-the-end iterator.
Definition at line 48 of file StridedPointerIteratorRange.hpp.