OGS
|
Definition at line 25 of file ContainerTools.h.
#include <ContainerTools.h>
Public Types | |
using | value_type = Element |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
PolymorphicRandomAccessContainerViewIterator ()=default | |
PolymorphicRandomAccessContainerViewIterator (std::size_t n, PolymorphicRandomAccessContainerViewInterface< Element > const *const view) noexcept | |
PolymorphicRandomAccessContainerViewIterator & | operator++ () noexcept |
PolymorphicRandomAccessContainerViewIterator | operator++ (int) noexcept |
PolymorphicRandomAccessContainerViewIterator & | operator-- () noexcept |
PolymorphicRandomAccessContainerViewIterator | operator-- (int) noexcept |
PolymorphicRandomAccessContainerViewIterator & | operator+= (difference_type const increment) noexcept |
PolymorphicRandomAccessContainerViewIterator & | operator-= (difference_type const decrement) noexcept |
difference_type | operator- (PolymorphicRandomAccessContainerViewIterator const other) const noexcept |
Element & | operator* () const |
Element & | operator[] (difference_type n) const |
auto | operator<=> (PolymorphicRandomAccessContainerViewIterator const &) const =default |
Private Attributes | |
std::size_t | n_ = 0 |
PolymorphicRandomAccessContainerViewInterface< Element > const * | view_ |
Friends | |
PolymorphicRandomAccessContainerViewIterator | operator+ (PolymorphicRandomAccessContainerViewIterator iterator, difference_type const increment) noexcept |
PolymorphicRandomAccessContainerViewIterator | operator+ (difference_type const increment, PolymorphicRandomAccessContainerViewIterator iterator) noexcept |
PolymorphicRandomAccessContainerViewIterator | operator- (PolymorphicRandomAccessContainerViewIterator iterator, difference_type const decrement) noexcept |
using BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::difference_type = std::ptrdiff_t |
Definition at line 28 of file ContainerTools.h.
using BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::value_type = Element |
Definition at line 27 of file ContainerTools.h.
|
default |
|
inlinenoexcept |
Definition at line 32 of file ContainerTools.h.
|
inlinenodiscard |
Definition at line 108 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_, and BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::view_.
|
inlinenoexcept |
Definition at line 40 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_.
Referenced by BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator++().
|
inlinenoexcept |
Definition at line 45 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator++().
|
inlinenoexcept |
Definition at line 64 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_.
|
inlinenodiscardnoexcept |
Definition at line 93 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_, and BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::view_.
|
inlinenoexcept |
Definition at line 52 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_.
Referenced by BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator--().
|
inlinenoexcept |
Definition at line 57 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator--().
|
inlinenoexcept |
Definition at line 70 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_.
|
default |
|
inlinenodiscard |
Definition at line 109 of file ContainerTools.h.
References BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::n_, and BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::view_.
|
friend |
Definition at line 85 of file ContainerTools.h.
|
friend |
Definition at line 77 of file ContainerTools.h.
|
friend |
Definition at line 100 of file ContainerTools.h.
|
private |
Definition at line 118 of file ContainerTools.h.
Referenced by BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator*(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator++(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator+=(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator-(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator--(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator-=(), and BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator[]().
|
private |
Definition at line 119 of file ContainerTools.h.
Referenced by BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator*(), BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator-(), and BaseLib::detail::PolymorphicRandomAccessContainerViewIterator< Element >::operator[]().