ARTS  2.0.49
ConstIterator6D Class Reference

Const version of Iterator6D. More...

#include <matpackVI.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

Const version of Iterator6D.

Definition at line 94 of file matpackVI.h.

Constructor & Destructor Documentation

◆ ConstIterator6D() [1/3]

ConstIterator6D::ConstIterator6D ( )
inline

Default constructor.

Definition at line 98 of file matpackVI.h.

◆ ConstIterator6D() [2/3]

ConstIterator6D::ConstIterator6D ( const ConstIterator6D o)
inline

Copy constructor.

Definition at line 101 of file matpackVI.h.

◆ ConstIterator6D() [3/3]

ConstIterator6D::ConstIterator6D ( const ConstTensor5View x,
Index  stride 
)
inline

Explicit constructor.

Definition at line 105 of file matpackVI.h.

Member Function Documentation

◆ operator!=()

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

Not equal operator, needed for algorithms like copy.

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

Definition at line 116 of file matpackVI.h.

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

◆ operator*()

const ConstTensor5View& ConstIterator6D::operator* ( ) const
inline

Dereferencing.

Definition at line 140 of file matpackVI.h.

References msv.

◆ operator++()

ConstIterator6D& ConstIterator6D::operator++ ( )
inline

Prefix increment operator.

Definition at line 110 of file matpackVI.h.

References ConstTensor5View::mdata, mstride, and msv.

◆ operator->()

const ConstTensor5View* ConstIterator6D::operator-> ( ) const
inline

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

Definition at line 137 of file matpackVI.h.

References msv.

Member Data Documentation

◆ mstride

Index ConstIterator6D::mstride
private

Stride.

Definition at line 146 of file matpackVI.h.

Referenced by operator++().

◆ msv

ConstTensor5View ConstIterator6D::msv
private

Current position.

Definition at line 144 of file matpackVI.h.

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


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