Iterator5D Class Reference

Implementation of Tensors of Rank 5. More...

#include <matpackV.h>

Collaboration diagram for Iterator5D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

Tensor4View msv
 Current position.
Index mstride
 Stride.


Detailed Description

Implementation of Tensors of Rank 5.

Based on Tensor3 by Stefan Buehler.

The five dimensions are called: shelf, book, page, row, column.

Author:
Wolfram-Andre Haas
Date:
2002-03-01 The outermost iterator class for rank 5 tensors. This takes into account the defined strided.

Definition at line 38 of file matpackV.h.


Constructor & Destructor Documentation

Iterator5D::Iterator5D (  )  [inline]

Default constructor.

Definition at line 45 of file matpackV.h.

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

Copy constructor.

Definition at line 48 of file matpackV.h.

Iterator5D::Iterator5D ( const Tensor4View x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 52 of file matpackV.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 57 of file matpackV.h.

References ConstTensor4View::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

Definition at line 60 of file matpackV.h.

References ConstTensor4View::mbr, ConstTensor4View::mcr, ConstTensor4View::mdata, ConstTensor4View::mpr, ConstTensor4View::mrr, Range::mstart, and msv.

Tensor4View* Iterator5D::operator-> (  )  [inline]

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

Definition at line 79 of file matpackV.h.

References msv.

Tensor4View& Iterator5D::operator* (  )  [inline]

Dereferencing.

Definition at line 82 of file matpackV.h.

References msv.


Member Data Documentation

Current position.

Definition at line 86 of file matpackV.h.

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

Stride.

Definition at line 88 of file matpackV.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