ARTS  2.0.49
ConstIterator5D Class Reference

Const version of Iterator5D. More...

#include <matpackV.h>

Public Member Functions

 ConstIterator5D ()
 Default constructor. More...
 
 ConstIterator5D (const ConstIterator5D &o)
 Copy 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 92 of file matpackV.h.

Constructor & Destructor Documentation

◆ ConstIterator5D() [1/3]

ConstIterator5D::ConstIterator5D ( )
inline

Default constructor.

Definition at line 96 of file matpackV.h.

◆ ConstIterator5D() [2/3]

ConstIterator5D::ConstIterator5D ( const ConstIterator5D o)
inline

Copy constructor.

Definition at line 99 of file matpackV.h.

◆ ConstIterator5D() [3/3]

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

Explicit constructor.

Definition at line 103 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 112 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 134 of file matpackV.h.

References msv.

◆ operator++()

ConstIterator5D& ConstIterator5D::operator++ ( )
inline

Prefix increment operator.

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

References msv.

Member Data Documentation

◆ mstride

Index ConstIterator5D::mstride
private

Stride.

Definition at line 140 of file matpackV.h.

Referenced by operator++().

◆ msv

ConstTensor4View ConstIterator5D::msv
private

Current position.

Definition at line 138 of file matpackV.h.

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


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