ITK
6.0.0
Insight Toolkit
|
#include <itkIndexRange.h>
Definition at line 85 of file itkIndexRange.h.
Classes | |
struct | ZeroIndex |
Public Types | |
using | difference_type = ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = const IndexType * |
using | reference = const IndexType & |
using | value_type = IndexType |
Public Member Functions | |
const_iterator ()=default | |
constexpr reference | operator* () const noexcept |
constexpr pointer | operator-> () const noexcept |
constexpr const_iterator & | operator++ () noexcept |
constexpr const_iterator | operator++ (int) noexcept |
constexpr const_iterator & | operator-- () noexcept |
constexpr const_iterator | operator-- (int) noexcept |
Private Types | |
using | MinIndexType = std::conditional_t< VBeginAtZero, ZeroIndex, IndexType > |
Private Member Functions | |
constexpr | const_iterator (const IndexType &index, const MinIndexType &minIndex, const IndexType &maxIndex) noexcept |
Private Attributes | |
IndexType | m_Index |
IndexType | m_MaxIndex |
MinIndexType | m_MinIndex |
Friends | |
class | IndexRange |
bool | operator!= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
constexpr friend bool | operator<= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator== (const const_iterator &lhs, const const_iterator &rhs) noexcept |
constexpr friend bool | operator> (const const_iterator &lhs, const const_iterator &rhs) noexcept |
constexpr friend bool | operator>= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
constexpr friend bool | operator< (const const_iterator &lhs, const const_iterator &rhs) noexcept |
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::difference_type = ptrdiff_t |
Definition at line 89 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 93 of file itkIndexRange.h.
|
private |
Definition at line 282 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::pointer = const IndexType * |
Definition at line 92 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::reference = const IndexType & |
Definition at line 91 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::value_type = IndexType |
Definition at line 90 of file itkIndexRange.h.
|
default |
Default-constructor, as required for any C++11 Forward Iterator.
|
inlineconstexprprivatenoexcept |
Definition at line 285 of file itkIndexRange.h.
|
inlineconstexprnoexcept |
Returns a reference to the current index.
Definition at line 105 of file itkIndexRange.h.
References itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index.
|
inlineconstexprnoexcept |
Prefix increment ('++it').
Definition at line 121 of file itkIndexRange.h.
References itk::Index< VDimension >::back(), itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index, itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MaxIndex, and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MinIndex.
|
inlineconstexprnoexcept |
Postfix increment ('it++').
Definition at line 145 of file itkIndexRange.h.
|
inlineconstexprnoexcept |
Prefix decrement ('–it').
Definition at line 156 of file itkIndexRange.h.
References itk::Index< VDimension >::back(), itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index, itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MaxIndex, and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MinIndex.
|
inlineconstexprnoexcept |
Postfix increment ('it–').
Definition at line 179 of file itkIndexRange.h.
|
inlineconstexprnoexcept |
Returns a pointer to the current index.
Definition at line 113 of file itkIndexRange.h.
|
friend |
Definition at line 259 of file itkIndexRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 202 of file itkIndexRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 211 of file itkIndexRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 242 of file itkIndexRange.h.
|
friend |
Returns (it1 == it2) for iterators it1 and it2. Note that these iterators should be from the same range. This operator does not support comparing iterators from different ranges.
Definition at line 192 of file itkIndexRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 233 of file itkIndexRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 251 of file itkIndexRange.h.
|
private |
|
private |
Definition at line 305 of file itkIndexRange.h.
Referenced by itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator++(), and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator--().
|
private |
Definition at line 302 of file itkIndexRange.h.
Referenced by itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator++(), and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator--().