XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRangeView< 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 xiiRangeView< ValueType, IteratorType >::Iterator:
[legend]

Public Types

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

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
XII_ALWAYS_INLINE Iterator (const Iterator &rhs)=default
 
XII_FORCE_INLINE ValueType Value ()
 
XII_ALWAYS_INLINE ValueType operator* ()
 
XII_FORCE_INLINE ValueType Value () const
 
- Public Member Functions inherited from xiiRangeView< ValueType, IteratorType >::ConstIterator
 XII_DECLARE_POD_TYPE ()
 
XII_ALWAYS_INLINE ConstIterator (const ConstIterator &rhs)=default
 
XII_FORCE_INLINE void Next ()
 
XII_FORCE_INLINE ValueType Value () const
 
XII_ALWAYS_INLINE ValueType operator* () const
 
XII_ALWAYS_INLINE void operator++ ()
 
XII_FORCE_INLINE bool operator== (const typename xiiRangeView< ValueType, IteratorType >::ConstIterator &it2) const
 

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

template<typename ValueType, typename IteratorType>
struct xiiRangeView< 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: