Developer documentation
Version 3.0.3-105-gd3941f44
MR::Iterator Class Reference

a dummy image to iterate over, useful for multi-threaded looping. More...

#include "algo/iterator.h"

Public Member Functions

 Iterator ()=delete
 
template<class InfoType >
 Iterator (const InfoType &S)
 
size_t ndim () const
 
ssize_t size (size_t axis) const
 
const ssize_t & index (size_t axis) const
 
ssize_t & index (size_t axis)
 

Friends

std::ostream & operator<< (std::ostream &stream, const Iterator &V)
 

Detailed Description

a dummy image to iterate over, useful for multi-threaded looping.

Definition at line 29 of file iterator.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

MR::Iterator::Iterator ( )
delete

◆ Iterator() [2/2]

template<class InfoType >
MR::Iterator::Iterator ( const InfoType &  S)
inline

Definition at line 33 of file iterator.h.

Member Function Documentation

◆ index() [1/2]

ssize_t & MR::Iterator::index ( size_t  axis)
inline

Definition at line 44 of file iterator.h.

◆ index() [2/2]

const ssize_t & MR::Iterator::index ( size_t  axis) const
inline

Definition at line 43 of file iterator.h.

◆ ndim()

size_t MR::Iterator::ndim ( ) const
inline

Definition at line 40 of file iterator.h.

◆ size()

ssize_t MR::Iterator::size ( size_t  axis) const
inline

Definition at line 41 of file iterator.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Iterator V 
)
friend

Definition at line 46 of file iterator.h.


The documentation for this class was generated from the following file: