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 247 of file matpackI.h.


Constructor & Destructor Documentation

ConstIterator1D::ConstIterator1D (  )  [inline]

Default constructor.

Definition at line 250 of file matpackI.h.

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

Copy constructor.

Definition at line 254 of file matpackI.h.

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

Explicit constructor.

Definition at line 258 of file matpackI.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 263 of file matpackI.h.

References mstride, and mx.

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

Dereferencing.

Definition at line 267 of file matpackI.h.

References mx.

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

Not equal operator, needed for algorithms like copy.

Definition at line 270 of file matpackI.h.

References mx.


Member Data Documentation

const Numeric* ConstIterator1D::mx [private]

Current position.

Definition at line 275 of file matpackI.h.

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

Stride.

Definition at line 277 of file matpackI.h.

Referenced by operator++().


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

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