#include <iterator.hpp>
Public Member Functions | |
Iterator (const SizeBase< Dim > &_imax) | |
Constructor iterator for given size. | |
Iterator (const SizeBase< Dim > &_imin, const SizeBase< Dim > &_imax) | |
Constructor iterator for given range. | |
const Iterator & | setBegin () |
Set iterator to begin of data. | |
const Iterator & | setEnd () |
Set iterator to end of data. | |
Protected Attributes | |
SizeBase< Dim > | imin |
The iterator range. |
Cuda::Iterator< Dim >::Iterator | ( | const SizeBase< Dim > & | _imax | ) | [inline] |
Constructor iterator for given size.
_imax | maximum |
Cuda::Iterator< Dim >::Iterator | ( | const SizeBase< Dim > & | _imin, | |
const SizeBase< Dim > & | _imax | |||
) | [inline] |
Constructor iterator for given range.
_imin | minimum | |
_imax | maximum |
const Iterator& Cuda::Iterator< Dim >::setBegin | ( | ) | [inline] |
Set iterator to begin of data.
const Iterator& Cuda::Iterator< Dim >::setEnd | ( | ) | [inline] |
Set iterator to end of data.
SizeBase<Dim> Cuda::Iterator< Dim >::imin [protected] |
The iterator range.
imin is inclusive, imax is exclusive. Setting the index to imax indicates the "end" condition.