ARTS  2.4.0(git:4fb77825)
ConstIterator5D Class Reference

Const version of Iterator5D. More...

#include <matpackV.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

Const version of Iterator5D.

Definition at line 85 of file matpackV.h.

Constructor & Destructor Documentation

◆ ConstIterator5D() [1/2]

ConstIterator5D::ConstIterator5D ( )
default

Default constructor.

◆ ConstIterator5D() [2/2]

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

Explicit constructor.

Definition at line 92 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 104 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 119 of file matpackV.h.

References msv.

◆ operator++()

ConstIterator5D& ConstIterator5D::operator++ ( )
inline

Prefix increment operator.

Definition at line 98 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 116 of file matpackV.h.

References msv.

Member Data Documentation

◆ mstride

Index ConstIterator5D::mstride {0}
private

Stride.

Definition at line 125 of file matpackV.h.

Referenced by operator++().

◆ msv

ConstTensor4View ConstIterator5D::msv
private

Current position.

Definition at line 123 of file matpackV.h.

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


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