Iterator7D Class Reference

Implementation of Tensors of Rank 7. More...

#include <matpackVII.h>

Collaboration diagram for Iterator7D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

Tensor6View msv
 Current position.
Index mstride
 Stride.


Detailed Description

Implementation of Tensors of Rank 7.

Dimensions are called: library, vitrine, shelf, book, page, row, column. or short: l, v, s, b, p, r, c

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

Definition at line 35 of file matpackVII.h.


Constructor & Destructor Documentation

Iterator7D::Iterator7D (  )  [inline]

Default constructor.

Definition at line 39 of file matpackVII.h.

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

Copy constructor.

Definition at line 42 of file matpackVII.h.

Iterator7D::Iterator7D ( const Tensor6View x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 46 of file matpackVII.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 51 of file matpackVII.h.

References ConstTensor6View::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

FIXME: Is it really necessary to have such a complicated check here? It could be sufficient to just test msv.mdata!=other.msv.mdata.

Definition at line 57 of file matpackVII.h.

References ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, msv, and ConstTensor6View::mvr.

Tensor6View* Iterator7D::operator-> (  )  [inline]

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

Definition at line 80 of file matpackVII.h.

References msv.

Tensor6View& Iterator7D::operator* (  )  [inline]

Dereferencing.

Definition at line 83 of file matpackVII.h.

References msv.


Member Data Documentation

Current position.

Definition at line 87 of file matpackVII.h.

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

Stride.

Definition at line 89 of file matpackVII.h.

Referenced by operator++().


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

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