ARTS  2.2.66
ConstIterator5D Class Reference

Const version of Iterator5D. More...

#include <matpackV.h>

Collaboration diagram for ConstIterator5D:

Public Member Functions

 ConstIterator5D ()
 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
 Stride. More...
 

Detailed Description

Const version of Iterator5D.

Definition at line 88 of file matpackV.h.

Constructor & Destructor Documentation

◆ ConstIterator5D() [1/2]

ConstIterator5D::ConstIterator5D ( )
inline

Default constructor.

Definition at line 92 of file matpackV.h.

◆ ConstIterator5D() [2/2]

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

Explicit constructor.

Definition at line 95 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, Iterator5D::msv, and msv.

◆ operator*()

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

Dereferencing.

Definition at line 126 of file matpackV.h.

References Iterator5D::msv.

◆ operator++()

ConstIterator5D& ConstIterator5D::operator++ ( )
inline

Prefix increment operator.

Definition at line 101 of file matpackV.h.

References ConstTensor4View::mdata, Iterator5D::mstride, and Iterator5D::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 123 of file matpackV.h.

References Iterator5D::msv.

Member Data Documentation

◆ mstride

Index ConstIterator5D::mstride
private

Stride.

Definition at line 132 of file matpackV.h.

◆ msv

ConstTensor4View ConstIterator5D::msv
private

Current position.

Definition at line 130 of file matpackV.h.

Referenced by operator!=().


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