ConstIterator6D Class Reference

Const version of Iterator6D. More...

#include <matpackVI.h>

Collaboration diagram for ConstIterator6D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

ConstTensor5View msv
 Current position.
Index mstride
 Stride.


Detailed Description

Const version of Iterator6D.

Definition at line 94 of file matpackVI.h.


Constructor & Destructor Documentation

ConstIterator6D::ConstIterator6D (  )  [inline]

Default constructor.

Definition at line 98 of file matpackVI.h.

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

Copy constructor.

Definition at line 101 of file matpackVI.h.

ConstIterator6D::ConstIterator6D ( const ConstTensor5View x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 105 of file matpackVI.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 110 of file matpackVI.h.

References ConstTensor5View::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

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

Definition at line 116 of file matpackVI.h.

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

const ConstTensor5View* ConstIterator6D::operator-> (  )  const [inline]

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

Definition at line 137 of file matpackVI.h.

References msv.

const ConstTensor5View& ConstIterator6D::operator* (  )  const [inline]

Dereferencing.

Definition at line 140 of file matpackVI.h.

References msv.


Member Data Documentation

Current position.

Definition at line 144 of file matpackVI.h.

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

Stride.

Definition at line 146 of file matpackVI.h.

Referenced by operator++().


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

Generated on Mon Mar 23 14:06:58 2009 for ARTS by  doxygen 1.5.6