ezEngine  Release 25.03
ezRangeView< ValueType, IteratorType >::Iterator Struct Reference

Iterator, don't use directly, use ranged based for loops or call begin() end(). More...

#include <RangeView.h>

Inheritance diagram for ezRangeView< ValueType, IteratorType >::Iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Iterator
 
using pointer = Iterator *
 
using reference = Iterator &
 
- Public Types inherited from ezRangeView< ValueType, IteratorType >::ConstIterator
using iterator_category = std::forward_iterator_tag
 
using value_type = ConstIterator
 
using pointer = ConstIterator *
 
using reference = ConstIterator &
 

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 
EZ_ALWAYS_INLINE Iterator (const Iterator &rhs)=default
 
EZ_FORCE_INLINE ValueType Value ()
 
EZ_ALWAYS_INLINE ValueType operator* ()
 
EZ_FORCE_INLINE ValueType Value () const
 
- Public Member Functions inherited from ezRangeView< ValueType, IteratorType >::ConstIterator
 EZ_DECLARE_POD_TYPE ()
 
EZ_ALWAYS_INLINE ConstIterator (const ConstIterator &rhs)=default
 
EZ_FORCE_INLINE void Next ()
 
EZ_FORCE_INLINE ValueType Value () const
 
EZ_ALWAYS_INLINE ValueType operator* () const
 
EZ_ALWAYS_INLINE void operator++ ()
 
EZ_FORCE_INLINE bool operator== (const typename ezRangeView< ValueType, IteratorType >::ConstIterator &it2) const
 
EZ_FORCE_INLINE bool operator!= (const typename ezRangeView< ValueType, IteratorType >::ConstIterator &it2) const
 

Protected Member Functions

EZ_FORCE_INLINE Iterator (const ezRangeView< ValueType, IteratorType > *view, IteratorType pos)
 
- Protected Member Functions inherited from ezRangeView< ValueType, IteratorType >::ConstIterator
EZ_FORCE_INLINE ConstIterator (const ezRangeView< ValueType, IteratorType > *view, IteratorType pos)
 

Additional Inherited Members

- Protected Attributes inherited from ezRangeView< ValueType, IteratorType >::ConstIterator
const ezRangeView< ValueType, IteratorType > * m_pView = nullptr
 
IteratorType m_Pos
 

Detailed Description

template<typename ValueType, typename IteratorType>
struct ezRangeView< ValueType, IteratorType >::Iterator

Iterator, don't use directly, use ranged based for loops or call begin() end().


The documentation for this struct was generated from the following files: