Iterator3D Class Reference

Implementation of Tensors of Rank 3. More...

#include <matpackIII.h>

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.
MatrixView *const operator-> ()
 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 35 of file matpackIII.h.


Constructor & Destructor Documentation

Iterator3D::Iterator3D (  )  [inline]

Default constructor.

Definition at line 274 of file matpackIII.h.

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

Copy constructor.

Definition at line 280 of file matpackIII.h.

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

Explicit constructor.

Definition at line 287 of file matpackIII.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 294 of file matpackIII.h.

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

Not equal operator, needed for algorithms like copy.

Definition at line 301 of file matpackIII.h.

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

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

Definition at line 317 of file matpackIII.h.

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

Dereferencing.

Definition at line 323 of file matpackIII.h.


Member Data Documentation

Current position.

Definition at line 50 of file matpackIII.h.

Stride.

Definition at line 52 of file matpackIII.h.


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

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