ConstIterator1D Class Reference

The constant iterator class for sub vectors. More...

#include <matpackI.h>

List of all members.

Public Member Functions

 ConstIterator1D ()
 Default constructor.
 ConstIterator1D (const ConstIterator1D &o)
 Copy constructor.
 ConstIterator1D (Numeric *x, Index stride)
 Explicit constructor.
ConstIterator1Doperator++ ()
 Prefix increment operator.
const Numericoperator* () const
 Dereferencing.
bool operator!= (const ConstIterator1D &other) const
 Not equal operator, needed for algorithms like copy.

Private Attributes

const Numericmx
 Current position.
Index mstride
 Stride.


Detailed Description

The constant iterator class for sub vectors.

This takes into account the defined stride.

Definition at line 199 of file matpackI.h.


Constructor & Destructor Documentation

ConstIterator1D::ConstIterator1D (  )  [inline]

Default constructor.

Definition at line 777 of file matpackI.h.

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

Copy constructor.

Definition at line 783 of file matpackI.h.

ConstIterator1D::ConstIterator1D ( Numeric x,
Index  stride 
) [inline]

Explicit constructor.

Definition at line 790 of file matpackI.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 797 of file matpackI.h.

const Numeric & ConstIterator1D::operator* (  )  const [inline]

Dereferencing.

Definition at line 813 of file matpackI.h.

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

Not equal operator, needed for algorithms like copy.

Definition at line 804 of file matpackI.h.


Member Data Documentation

const Numeric* ConstIterator1D::mx [private]

Current position.

Definition at line 213 of file matpackI.h.

Stride.

Definition at line 215 of file matpackI.h.


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

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