alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::test::trait::IteratorView< TView, TSfinae > Class Template Reference

#include <Iterator.hpp>

Public Member Functions

ALPAKA_FN_HOST IteratorView (TView &view)
 
ALPAKA_FN_HOST IteratorView (TView &view, Idx const idx)
 
template<typename TIter >
ALPAKA_FN_HOST_ACC auto operator!= (TIter &other) const -> bool
 
ALPAKA_FN_HOST_ACC auto operator* () const -> Elem &
 
ALPAKA_FN_HOST_ACC auto operator++ () -> IteratorView &
 
ALPAKA_FN_HOST_ACC auto operator++ (int) -> IteratorView
 
ALPAKA_FN_HOST_ACC auto operator-- () -> IteratorView &
 
ALPAKA_FN_HOST_ACC auto operator-- (int) -> IteratorView
 
template<typename TIter >
ALPAKA_FN_HOST_ACC auto operator== (TIter &other) const -> bool
 

Detailed Description

template<typename TView, typename TSfinae = void>
class alpaka::test::trait::IteratorView< TView, TSfinae >

Definition at line 21 of file Iterator.hpp.

Constructor & Destructor Documentation

◆ IteratorView() [1/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST alpaka::test::trait::IteratorView< TView, TSfinae >::IteratorView ( TView &  view,
Idx const  idx 
)
inline

Definition at line 29 of file Iterator.hpp.

◆ IteratorView() [2/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST alpaka::test::trait::IteratorView< TView, TSfinae >::IteratorView ( TView &  view)
inlineexplicit

Definition at line 37 of file Iterator.hpp.

Member Function Documentation

◆ operator!=()

template<typename TView , typename TSfinae = void>
template<typename TIter >
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator!= ( TIter &  other) const -> bool
inline

Definition at line 74 of file Iterator.hpp.

◆ operator*()

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator* ( ) const -> Elem&
inline

Definition at line 79 of file Iterator.hpp.

◆ operator++() [1/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator++ ( ) -> IteratorView&
inline

Definition at line 41 of file Iterator.hpp.

◆ operator++() [2/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator++ ( int  ) -> IteratorView
inline

Definition at line 53 of file Iterator.hpp.

◆ operator--() [1/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator-- ( ) -> IteratorView&
inline

Definition at line 47 of file Iterator.hpp.

◆ operator--() [2/2]

template<typename TView , typename TSfinae = void>
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator-- ( int  ) -> IteratorView
inline

Definition at line 60 of file Iterator.hpp.

◆ operator==()

template<typename TView , typename TSfinae = void>
template<typename TIter >
ALPAKA_FN_HOST_ACC auto alpaka::test::trait::IteratorView< TView, TSfinae >::operator== ( TIter &  other) const -> bool
inline

Definition at line 68 of file Iterator.hpp.


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