Project
Loading...
Searching...
No Matches
o2::rans::internal::simd::AlignedArrayIterator< array_T > Class Template Reference

#include <AlignedArray.h>

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = gsl::span< typename getValueType< array_T >::type, array_T::nElementsPerLane()>
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::random_access_iterator_tag
 

Public Member Functions

constexpr AlignedArrayIterator () noexcept=default
 
constexpr AlignedArrayIterator (array_T *array, difference_type index) noexcept
 
constexpr AlignedArrayIterator (const AlignedArrayIterator &iter) noexcept=default
 
constexpr AlignedArrayIterator (AlignedArrayIterator &&iter) noexcept=default
 
constexpr AlignedArrayIteratoroperator= (const AlignedArrayIterator &other) noexcept=default
 
constexpr AlignedArrayIteratoroperator= (AlignedArrayIterator &&other) noexcept=default
 
 ~AlignedArrayIterator () noexcept=default
 
constexpr AlignedArrayIteratoroperator++ () noexcept
 
constexpr AlignedArrayIterator operator++ (int) noexcept
 
constexpr AlignedArrayIteratoroperator-- () noexcept
 
constexpr AlignedArrayIterator operator-- (int) noexcept
 
constexpr AlignedArrayIteratoroperator+= (difference_type i) noexcept
 
constexpr AlignedArrayIterator operator+ (difference_type i) const noexcept
 
constexpr AlignedArrayIteratoroperator-= (difference_type i) noexcept
 
constexpr AlignedArrayIterator operator- (difference_type i) const noexcept
 
constexpr difference_type operator- (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator== (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator!= (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator< (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator> (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator>= (const AlignedArrayIterator &other) const noexcept
 
constexpr bool operator<= (const AlignedArrayIterator &other) const noexcept
 
constexpr value_type operator* () const noexcept
 
constexpr value_type operator[] (difference_type i) const noexcept
 

Detailed Description

template<typename array_T>
class o2::rans::internal::simd::AlignedArrayIterator< array_T >

Definition at line 34 of file AlignedArray.h.

Member Typedef Documentation

◆ difference_type

template<typename array_T >
using o2::rans::internal::simd::AlignedArrayIterator< array_T >::difference_type = std::ptrdiff_t

Definition at line 42 of file AlignedArray.h.

◆ iterator_category

template<typename array_T >
using o2::rans::internal::simd::AlignedArrayIterator< array_T >::iterator_category = std::random_access_iterator_tag

Definition at line 46 of file AlignedArray.h.

◆ pointer

template<typename array_T >
using o2::rans::internal::simd::AlignedArrayIterator< array_T >::pointer = value_type*

Definition at line 44 of file AlignedArray.h.

◆ reference

template<typename array_T >
using o2::rans::internal::simd::AlignedArrayIterator< array_T >::reference = value_type&

Definition at line 45 of file AlignedArray.h.

◆ value_type

template<typename array_T >
using o2::rans::internal::simd::AlignedArrayIterator< array_T >::value_type = gsl::span<typename getValueType<array_T>::type, array_T::nElementsPerLane()>

Definition at line 43 of file AlignedArray.h.

Constructor & Destructor Documentation

◆ AlignedArrayIterator() [1/4]

template<typename array_T >
constexpr o2::rans::internal::simd::AlignedArrayIterator< array_T >::AlignedArrayIterator ( )
inlineconstexprdefaultnoexcept

◆ AlignedArrayIterator() [2/4]

template<typename array_T >
constexpr o2::rans::internal::simd::AlignedArrayIterator< array_T >::AlignedArrayIterator ( array_T *  array,
difference_type  index 
)
inlineconstexprnoexcept

Definition at line 50 of file AlignedArray.h.

◆ AlignedArrayIterator() [3/4]

template<typename array_T >
constexpr o2::rans::internal::simd::AlignedArrayIterator< array_T >::AlignedArrayIterator ( const AlignedArrayIterator< array_T > &  iter)
inlineconstexprdefaultnoexcept

◆ AlignedArrayIterator() [4/4]

template<typename array_T >
constexpr o2::rans::internal::simd::AlignedArrayIterator< array_T >::AlignedArrayIterator ( AlignedArrayIterator< array_T > &&  iter)
inlineconstexprdefaultnoexcept

◆ ~AlignedArrayIterator()

template<typename array_T >
o2::rans::internal::simd::AlignedArrayIterator< array_T >::~AlignedArrayIterator ( )
inlinedefaultnoexcept

Member Function Documentation

◆ operator!=()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator!= ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 115 of file AlignedArray.h.

◆ operator*()

template<typename array_T >
constexpr value_type o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator* ( ) const
inlineconstexprnoexcept

Definition at line 122 of file AlignedArray.h.

◆ operator+()

template<typename array_T >
constexpr AlignedArrayIterator o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator+ ( difference_type  i) const
inlineconstexprnoexcept

Definition at line 90 of file AlignedArray.h.

◆ operator++() [1/2]

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator++ ( )
inlineconstexprnoexcept

Definition at line 58 of file AlignedArray.h.

◆ operator++() [2/2]

template<typename array_T >
constexpr AlignedArrayIterator o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator++ ( int  )
inlineconstexprnoexcept

Definition at line 64 of file AlignedArray.h.

◆ operator+=()

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator+= ( difference_type  i)
inlineconstexprnoexcept

Definition at line 84 of file AlignedArray.h.

◆ operator-() [1/2]

template<typename array_T >
constexpr difference_type o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator- ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 108 of file AlignedArray.h.

◆ operator-() [2/2]

template<typename array_T >
constexpr AlignedArrayIterator o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator- ( difference_type  i) const
inlineconstexprnoexcept

Definition at line 102 of file AlignedArray.h.

◆ operator--() [1/2]

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator-- ( )
inlineconstexprnoexcept

Definition at line 71 of file AlignedArray.h.

◆ operator--() [2/2]

template<typename array_T >
constexpr AlignedArrayIterator o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator-- ( int  )
inlineconstexprnoexcept

Definition at line 77 of file AlignedArray.h.

◆ operator-=()

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator-= ( difference_type  i)
inlineconstexprnoexcept

Definition at line 96 of file AlignedArray.h.

◆ operator<()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator< ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 116 of file AlignedArray.h.

◆ operator<=()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator<= ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 119 of file AlignedArray.h.

◆ operator=() [1/2]

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator= ( AlignedArrayIterator< array_T > &&  other)
inlineconstexprdefaultnoexcept

◆ operator=() [2/2]

template<typename array_T >
constexpr AlignedArrayIterator & o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator= ( const AlignedArrayIterator< array_T > &  other)
inlineconstexprdefaultnoexcept

◆ operator==()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator== ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 114 of file AlignedArray.h.

◆ operator>()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator> ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 117 of file AlignedArray.h.

◆ operator>=()

template<typename array_T >
constexpr bool o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator>= ( const AlignedArrayIterator< array_T > &  other) const
inlineconstexprnoexcept

Definition at line 118 of file AlignedArray.h.

◆ operator[]()

template<typename array_T >
constexpr value_type o2::rans::internal::simd::AlignedArrayIterator< array_T >::operator[] ( difference_type  i) const
inlineconstexprnoexcept

Definition at line 124 of file AlignedArray.h.


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