Iterator3D Class Reference

Implementation of Tensors of Rank 3. More...

#include <matpackIII.h>

Collaboration diagram for Iterator3D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

MatrixView msv
 Current position.
Index mstride
 Stride.


Detailed Description

Implementation of Tensors of Rank 3.

The three dimensions are called: page, row, column.

Author:
Stefan Buehler
Date:
2001-11-22 The outermost iterator class for rank 3 tensors. This takes into account the defined strided.

Definition at line 34 of file matpackIII.h.


Constructor & Destructor Documentation

Iterator3D::Iterator3D (  )  [inline]

Default constructor.

Definition at line 38 of file matpackIII.h.

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

Copy constructor.

Definition at line 41 of file matpackIII.h.

Iterator3D::Iterator3D ( const MatrixView x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 45 of file matpackIII.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 50 of file matpackIII.h.

References ConstMatrixView::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

Definition at line 54 of file matpackIII.h.

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

MatrixView* Iterator3D::operator-> (  )  [inline]

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

Definition at line 69 of file matpackIII.h.

References msv.

MatrixView& Iterator3D::operator* (  )  [inline]

Dereferencing.

Definition at line 72 of file matpackIII.h.

References msv.


Member Data Documentation

Current position.

Definition at line 76 of file matpackIII.h.

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

Stride.

Definition at line 78 of file matpackIII.h.

Referenced by operator++().


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

Generated on Mon Mar 23 14:07:00 2009 for ARTS by  doxygen 1.5.6