ConstIterator3D Class Reference

Const version of Iterator3D. More...

#include <matpackIII.h>

Collaboration diagram for ConstIterator3D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

ConstMatrixView msv
 Current position.
Index mstride
 Stride.


Detailed Description

Const version of Iterator3D.

Definition at line 82 of file matpackIII.h.


Constructor & Destructor Documentation

ConstIterator3D::ConstIterator3D (  )  [inline]

Default constructor.

Definition at line 86 of file matpackIII.h.

ConstIterator3D::ConstIterator3D ( const ConstIterator3D o  )  [inline]

Copy constructor.

Definition at line 89 of file matpackIII.h.

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

Explicit constructor.

Definition at line 93 of file matpackIII.h.


Member Function Documentation

ConstIterator3D& ConstIterator3D::operator++ (  )  [inline]

Prefix increment operator.

Definition at line 99 of file matpackIII.h.

References ConstMatrixView::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

Definition at line 102 of file matpackIII.h.

References ConstMatrixView::mcr, ConstMatrixView::mdata, ConstMatrixView::mrr, Range::mstart, and msv.

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 117 of file matpackIII.h.

References msv.

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

Dereferencing.

Definition at line 120 of file matpackIII.h.

References msv.


Member Data Documentation

Current position.

Definition at line 125 of file matpackIII.h.

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

Stride.

Definition at line 127 of file matpackIII.h.

Referenced by operator++().


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

Generated on Mon Mar 23 14:06:58 2009 for ARTS by  doxygen 1.5.6