An Iterator over the Orientation of Faces of a Box. More...
#include <AMReX_Orientation.H>
Public Member Functions | |
constexpr | OrientationIter () noexcept=default |
The default constructor. More... | |
AMREX_GPU_HOST_DEVICE | OrientationIter (const Orientation &_face) noexcept |
Construct an iterator on the Orientation. More... | |
AMREX_GPU_HOST_DEVICE void | rewind () noexcept |
Reset (rewind) the iterator. More... | |
AMREX_GPU_HOST_DEVICE Orientation | operator() () const noexcept |
Return the orientation of the face. More... | |
AMREX_GPU_HOST_DEVICE | operator void * () noexcept |
Cast to void*. Used to test if iterator is valid. More... | |
AMREX_GPU_HOST_DEVICE bool | isValid () const noexcept |
Is the iterator valid? More... | |
AMREX_GPU_HOST_DEVICE OrientationIter & | operator-- () noexcept |
Pre-decrement. More... | |
AMREX_GPU_HOST_DEVICE OrientationIter & | operator++ () noexcept |
Pre-increment. More... | |
AMREX_GPU_HOST_DEVICE OrientationIter | operator-- (int) noexcept |
Post-decrement. More... | |
AMREX_GPU_HOST_DEVICE OrientationIter | operator++ (int) noexcept |
Post-increment. More... | |
AMREX_GPU_HOST_DEVICE bool | operator== (const OrientationIter &oi) const noexcept |
The equality operator. More... | |
AMREX_GPU_HOST_DEVICE bool | operator!= (const OrientationIter &oi) const noexcept |
The inequality operator. More... | |
Private Member Functions | |
AMREX_GPU_HOST_DEVICE | OrientationIter (int _face) noexcept |
Construct an iterator on the face. More... | |
Private Attributes | |
int | face = 0 |
An Iterator over the Orientation of Faces of a Box.
|
constexprdefaultnoexcept |
The default constructor.
|
inlinenoexcept |
Construct an iterator on the Orientation.
|
inlineprivatenoexcept |
Construct an iterator on the face.
|
inlinenoexcept |
Is the iterator valid?
|
inlinenoexcept |
Cast to void*. Used to test if iterator is valid.
|
inlinenoexcept |
The inequality operator.
|
inlinenoexcept |
Return the orientation of the face.
|
inlinenoexcept |
Pre-increment.
|
inlinenoexcept |
Post-increment.
|
inlinenoexcept |
Pre-decrement.
|
inlinenoexcept |
Post-decrement.
|
inlinenoexcept |
The equality operator.
|
inlinenoexcept |
Reset (rewind) the iterator.
|
private |