ARTS  2.2.66
ConstIterator7D Class Reference

Const version of Iterator7D. More...

#include <matpackVII.h>

Collaboration diagram for ConstIterator7D:

Public Member Functions

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

Private Attributes

ConstTensor6View msv
 Current position. More...
 
Index mstride
 Stride. More...
 

Detailed Description

Const version of Iterator7D.

Definition at line 90 of file matpackVII.h.

Constructor & Destructor Documentation

◆ ConstIterator7D() [1/2]

ConstIterator7D::ConstIterator7D ( )
inline

Default constructor.

Definition at line 94 of file matpackVII.h.

◆ ConstIterator7D() [2/2]

ConstIterator7D::ConstIterator7D ( const ConstTensor6View x,
Index  stride 
)
inline

Explicit constructor.

Definition at line 97 of file matpackVII.h.

Member Function Documentation

◆ operator!=()

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

Not equal operator, needed for algorithms like copy.

FIXME: Is it really necessary to have such a complicated check here? It could be sufficient to just test msv.mdata!=other.msv.mdata.

Definition at line 109 of file matpackVII.h.

References ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, Iterator7D::msv, msv, and ConstTensor6View::mvr.

◆ operator*()

const ConstTensor6View& ConstIterator7D::operator* ( ) const
inline

Dereferencing.

Definition at line 135 of file matpackVII.h.

References Iterator7D::msv.

◆ operator++()

ConstIterator7D& ConstIterator7D::operator++ ( )
inline

Prefix increment operator.

Definition at line 103 of file matpackVII.h.

References ConstTensor6View::mdata, Iterator7D::mstride, and Iterator7D::msv.

◆ operator->()

const ConstTensor6View* ConstIterator7D::operator-> ( ) const
inline

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

Definition at line 132 of file matpackVII.h.

References Iterator7D::msv.

Member Data Documentation

◆ mstride

Index ConstIterator7D::mstride
private

Stride.

Definition at line 141 of file matpackVII.h.

◆ msv

ConstTensor6View ConstIterator7D::msv
private

Current position.

Definition at line 139 of file matpackVII.h.

Referenced by operator!=().


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