ConstIterator4D Class Reference

Const version of Iterator4D. More...

#include <matpackIV.h>

Collaboration diagram for ConstIterator4D:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

ConstTensor3View msv
 Current position.
Index mstride
 Stride.


Detailed Description

Const version of Iterator4D.

Definition at line 84 of file matpackIV.h.


Constructor & Destructor Documentation

ConstIterator4D::ConstIterator4D (  )  [inline]

Default constructor.

Definition at line 91 of file matpackIV.h.

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

Copy constructor.

Definition at line 94 of file matpackIV.h.

ConstIterator4D::ConstIterator4D ( const ConstTensor3View x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 98 of file matpackIV.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 104 of file matpackIV.h.

References ConstTensor3View::mdata, mstride, and msv.

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

Not equal operator, needed for algorithms like copy.

Definition at line 107 of file matpackIV.h.

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

const ConstTensor3View * ConstIterator4D::operator-> (  )  const

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

Definition at line 43 of file matpackIV.cc.

References msv.

const ConstTensor3View & ConstIterator4D::operator* (  )  const

Dereferencing.

Definition at line 49 of file matpackIV.cc.

References msv.


Member Data Documentation

Current position.

Definition at line 127 of file matpackIV.h.

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

Stride.

Definition at line 129 of file matpackIV.h.

Referenced by operator++().


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

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