ConstIterator2D Class Reference

The const row iterator class for sub matrices. More...

#include <matpackI.h>

List of all members.

Public Member Functions

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

Private Attributes

ConstVectorView msv
 Current position.
Index mstride
 Row stride.


Detailed Description

The const row iterator class for sub matrices.

This takes into account the defined row stride. The iterator points to a row of the matrix, which acts just like a VectorView.

Definition at line 358 of file matpackI.h.


Constructor & Destructor Documentation

ConstIterator2D::ConstIterator2D (  )  [inline]

Default constructor.

Definition at line 875 of file matpackI.h.

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

Copy constructor.

Definition at line 881 of file matpackI.h.

ConstIterator2D::ConstIterator2D ( const ConstVectorView x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 888 of file matpackI.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 895 of file matpackI.h.

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

Not equal operator, needed for algorithms like copy.

Definition at line 902 of file matpackI.h.

const ConstVectorView * ConstIterator2D::operator-> (  )  const [inline]

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

Definition at line 913 of file matpackI.h.

const ConstVectorView & ConstIterator2D::operator* (  )  const [inline]

Dereferencing.

Definition at line 919 of file matpackI.h.


Member Data Documentation

Current position.

Definition at line 373 of file matpackI.h.

Row stride.

Definition at line 375 of file matpackI.h.


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

Generated on Wed Feb 4 08:17:28 2009 for ARTS by  doxygen 1.5.6