ARTS  1.0.222
Public Member Functions | Private Attributes | List of all members
ConstIterator3D Class Reference

Const version of Iterator3D. More...

#include <matpackIII.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

Const version of Iterator3D.

Definition at line 56 of file matpackIII.h.

Constructor & Destructor Documentation

◆ ConstIterator3D() [1/3]

ConstIterator3D::ConstIterator3D ( )
inline

Default constructor.

Definition at line 332 of file matpackIII.h.

◆ ConstIterator3D() [2/3]

ConstIterator3D::ConstIterator3D ( const ConstIterator3D o)
inline

Copy constructor.

Definition at line 338 of file matpackIII.h.

◆ ConstIterator3D() [3/3]

ConstIterator3D::ConstIterator3D ( const ConstMatrixView x,
Index  stride 
)
inline

Explicit constructor.

Definition at line 345 of file matpackIII.h.

Member Function Documentation

◆ operator!=()

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

Not equal operator, needed for algorithms like copy.

Definition at line 359 of file matpackIII.h.

◆ operator*()

const ConstMatrixView & ConstIterator3D::operator* ( ) const
inline

Dereferencing.

Definition at line 381 of file matpackIII.h.

◆ operator++()

ConstIterator3D & ConstIterator3D::operator++ ( )
inline

Prefix increment operator.

Definition at line 352 of file matpackIII.h.

◆ operator->()

const ConstMatrixView * ConstIterator3D::operator-> ( ) const
inline

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

Definition at line 375 of file matpackIII.h.

Member Data Documentation

◆ mstride

Index ConstIterator3D::mstride
private

Stride.

Definition at line 73 of file matpackIII.h.

◆ msv

ConstMatrixView ConstIterator3D::msv
private

Current position.

Definition at line 71 of file matpackIII.h.


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