Iterator1D Class Reference

The iterator class for sub vectors. More...

#include <matpackI.h>

List of all members.

Public Member Functions

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

Private Attributes

Numericmx
 Current position.
Index mstride
 Stride.


Detailed Description

The iterator class for sub vectors.

This takes into account the defined stride.

Definition at line 178 of file matpackI.h.


Constructor & Destructor Documentation

Iterator1D::Iterator1D (  )  [inline]

Default constructor.

Definition at line 732 of file matpackI.h.

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

Copy constructor.

Definition at line 738 of file matpackI.h.

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

Explicit constructor.

Definition at line 745 of file matpackI.h.


Member Function Documentation

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

Prefix increment operator.

Definition at line 752 of file matpackI.h.

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

Dereferencing.

Definition at line 768 of file matpackI.h.

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

Not equal operator, needed for algorithms like copy.

Definition at line 759 of file matpackI.h.


Member Data Documentation

Numeric* Iterator1D::mx [private]

Current position.

Definition at line 192 of file matpackI.h.

Stride.

Definition at line 194 of file matpackI.h.


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

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