ARTS 2.5.10 (git: 2f1c442c)
ConstIterator5D Class Reference

Const version of Iterator5D. More...

#include <matpackV.h>

Public Member Functions

 ConstIterator5D ()=default
 Default constructor.
 
 ConstIterator5D (ConstTensor4View x, Index stride)
 Explicit constructor.
 
ConstIterator5Doperator++ ()
 Prefix increment operator.
 
bool operator!= (const ConstIterator5D &other) const
 Not equal operator, needed for algorithms like copy.
 
const ConstTensor4Viewoperator-> () const
 The -> operator is needed, so that we can write i->begin() to get the 4D iterators.
 
const ConstTensor4Viewoperator* () const
 Dereferencing.
 

Private Attributes

ConstTensor4View msv
 Current position.
 
Index mstride {0}
 Stride.
 

Detailed Description

Const version of Iterator5D.

Definition at line 87 of file matpackV.h.

Constructor & Destructor Documentation

◆ ConstIterator5D() [1/2]

ConstIterator5D::ConstIterator5D ( )
default

Default constructor.

◆ ConstIterator5D() [2/2]

ConstIterator5D::ConstIterator5D ( ConstTensor4View  x,
Index  stride 
)
inline

Explicit constructor.

Definition at line 94 of file matpackV.h.

Member Function Documentation

◆ operator!=()

bool ConstIterator5D::operator!= ( const ConstIterator5D other) const
inline

Not equal operator, needed for algorithms like copy.

Definition at line 106 of file matpackV.h.

References ConstTensor4View::mbr, ConstTensor4View::mcr, ConstTensor4View::mdata, ConstTensor4View::mpr, ConstTensor4View::mrr, Range::mstart, and msv.

◆ operator*()

const ConstTensor4View & ConstIterator5D::operator* ( ) const
inline

Dereferencing.

Definition at line 120 of file matpackV.h.

References msv.

◆ operator++()

ConstIterator5D & ConstIterator5D::operator++ ( )
inline

Prefix increment operator.

Definition at line 100 of file matpackV.h.

References ConstTensor4View::mdata, mstride, and msv.

◆ operator->()

const ConstTensor4View * ConstIterator5D::operator-> ( ) const
inline

The -> operator is needed, so that we can write i->begin() to get the 4D iterators.

Definition at line 117 of file matpackV.h.

References msv.

Member Data Documentation

◆ mstride

Index ConstIterator5D::mstride {0}
private

Stride.

Definition at line 126 of file matpackV.h.

Referenced by operator++().

◆ msv

ConstTensor4View ConstIterator5D::msv
private

Current position.

Definition at line 124 of file matpackV.h.

Referenced by operator!=(), operator*(), operator++(), and operator->().


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