casa
$Rev:20696$
|
See the function begin() and end() for a detailed description of the STL iterator capability. More...
#include <Array.h>
Public Member Functions | |
BaseIteratorSTL (const Array< T > &) | |
Create the begin const_iterator object for an Array. | |
BaseIteratorSTL (const T *end=0) | |
Create the end const_iterator object for an Array. | |
void | nextElem () |
void | nextLine () |
bool | operator== (const BaseIteratorSTL &other) const |
bool | operator!= (const BaseIteratorSTL &other) const |
T * | getPos () |
Protected Member Functions | |
void | increment () |
Increment iterator for a non-contiguous array. | |
Protected Attributes | |
const T * | itsPos |
const T * | itsLineEnd |
size_t | itsLineIncr |
uInt | itsLineAxis |
IPosition | itsCurPos |
IPosition | itsLastPos |
const Array< T > * | itsArray |
Bool | itsContig |
Friends | |
ostream & | operator<< (ostream &os, const BaseIteratorSTL &iter) |
See the function begin() and end() for a detailed description of the STL iterator capability.
casa::Array< T >::BaseIteratorSTL::BaseIteratorSTL | ( | const Array< T > & | ) | [explicit] |
Create the begin const_iterator object for an Array.
casa::Array< T >::BaseIteratorSTL::BaseIteratorSTL | ( | const T * | end = 0 | ) | [inline, explicit] |
T* casa::Array< T >::BaseIteratorSTL::getPos | ( | ) | [inline] |
Definition at line 585 of file Array.h.
References casa::Array< T >::BaseIteratorSTL::itsPos.
Referenced by casa::Array< T >::IteratorSTL::operator*(), and casa::Array< T >::IteratorSTL::operator->().
void casa::Array< T >::BaseIteratorSTL::increment | ( | ) | [protected] |
Increment iterator for a non-contiguous array.
Referenced by casa::Array< T >::BaseIteratorSTL::nextElem(), and casa::Array< T >::BaseIteratorSTL::nextLine().
void casa::Array< T >::BaseIteratorSTL::nextElem | ( | ) | [inline] |
Definition at line 565 of file Array.h.
References casa::Array< T >::BaseIteratorSTL::increment(), casa::Array< T >::BaseIteratorSTL::itsContig, casa::Array< T >::BaseIteratorSTL::itsLineEnd, casa::Array< T >::BaseIteratorSTL::itsLineIncr, and casa::Array< T >::BaseIteratorSTL::itsPos.
Referenced by casa::Array< T >::IteratorSTL::operator++(), and casa::Array< T >::ConstIteratorSTL::operator++().
void casa::Array< T >::BaseIteratorSTL::nextLine | ( | ) | [inline] |
Definition at line 573 of file Array.h.
References casa::Array< T >::BaseIteratorSTL::increment(), casa::Array< T >::BaseIteratorSTL::itsLineEnd, and casa::Array< T >::BaseIteratorSTL::itsPos.
bool casa::Array< T >::BaseIteratorSTL::operator!= | ( | const BaseIteratorSTL & | other | ) | const [inline] |
Definition at line 582 of file Array.h.
References casa::Array< T >::BaseIteratorSTL::itsPos.
bool casa::Array< T >::BaseIteratorSTL::operator== | ( | const BaseIteratorSTL & | other | ) | const [inline] |
Definition at line 579 of file Array.h.
References casa::Array< T >::BaseIteratorSTL::itsPos.
ostream& operator<< | ( | ostream & | os, |
const BaseIteratorSTL & | iter | ||
) | [friend] |
const Array<T>* casa::Array< T >::BaseIteratorSTL::itsArray [protected] |
Bool casa::Array< T >::BaseIteratorSTL::itsContig [protected] |
Definition at line 602 of file Array.h.
Referenced by casa::Array< T >::BaseIteratorSTL::nextElem().
IPosition casa::Array< T >::BaseIteratorSTL::itsCurPos [protected] |
IPosition casa::Array< T >::BaseIteratorSTL::itsLastPos [protected] |
uInt casa::Array< T >::BaseIteratorSTL::itsLineAxis [protected] |
const T* casa::Array< T >::BaseIteratorSTL::itsLineEnd [protected] |
Definition at line 596 of file Array.h.
Referenced by casa::Array< T >::BaseIteratorSTL::nextElem(), and casa::Array< T >::BaseIteratorSTL::nextLine().
size_t casa::Array< T >::BaseIteratorSTL::itsLineIncr [protected] |
Definition at line 597 of file Array.h.
Referenced by casa::Array< T >::BaseIteratorSTL::nextElem().
const T* casa::Array< T >::BaseIteratorSTL::itsPos [protected] |
Definition at line 595 of file Array.h.
Referenced by casa::Array< T >::BaseIteratorSTL::getPos(), casa::Array< T >::BaseIteratorSTL::nextElem(), casa::Array< T >::BaseIteratorSTL::nextLine(), casa::Array< T >::BaseIteratorSTL::operator!=(), casa::Array< T >::ConstIteratorSTL::operator*(), casa::Array< T >::ConstIteratorSTL::operator->(), casa::Array< T >::BaseIteratorSTL::operator==(), and casa::Array< T >::ConstIteratorSTL::pos().