Iterator type for NiftiImageData, with Element as its value type.
More...
#include <NiftiImage.h>
|
|
typedef std::random_access_iterator_tag | iterator_category |
|
typedef Element | value_type |
|
typedef std::ptrdiff_t | difference_type |
|
typedef Element * | pointer |
|
typedef Element & | reference |
Iterator type for NiftiImageData, with Element as its value type.
◆ Iterator() [1/2]
| RNifti::NiftiImageData::Iterator::Iterator |
( |
const NiftiImageData * | parent = NULL, |
|
|
void * | ptr = NULL, |
|
|
const size_t | step = 0 ) |
|
inline |
Primary constructor.
- Parameters
-
| parent | A pointer to the parent object |
| ptr | An opaque pointer to the memory underpinning the iterator. The default, NULL, corresponds to the start of the parent object's data blob. |
| step | The increment between elements within the blob, in bytes. If zero, the default, the width associated with the stored datatype will be used. |
◆ Iterator() [2/2]
| RNifti::NiftiImageData::Iterator::Iterator |
( |
const Iterator & | other | ) |
|
|
inline |
Copy constructor.
- Parameters
-
The documentation for this class was generated from the following file: