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.
Definition at line 694 of file Array.h.
casacore::Array< T >::BaseIteratorSTL::BaseIteratorSTL | ( | const Array< T > & | ) | [explicit] |
Create the begin const_iterator object for an Array.
casacore::Array< T >::BaseIteratorSTL::BaseIteratorSTL | ( | const T * | end = 0 |
) | [inline, explicit] |
T* casacore::Array< T >::BaseIteratorSTL::getPos | ( | ) | [inline] |
Definition at line 724 of file Array.h.
References casacore::Array< T >::BaseIteratorSTL::itsPos.
Referenced by casacore::Array< T >::IteratorSTL::operator*(), and casacore::Array< T >::IteratorSTL::operator->().
void casacore::Array< T >::BaseIteratorSTL::increment | ( | ) | [protected] |
Increment iterator for a non-contiguous array.
Referenced by casacore::Array< T >::BaseIteratorSTL::nextElem(), and casacore::Array< T >::BaseIteratorSTL::nextLine().
void casacore::Array< T >::BaseIteratorSTL::nextElem | ( | ) | [inline] |
Definition at line 704 of file Array.h.
References casacore::Array< T >::BaseIteratorSTL::increment(), casacore::Array< T >::BaseIteratorSTL::itsContig, casacore::Array< T >::BaseIteratorSTL::itsLineEnd, casacore::Array< T >::BaseIteratorSTL::itsLineIncr, and casacore::Array< T >::BaseIteratorSTL::itsPos.
Referenced by casacore::Array< T >::IteratorSTL::operator++(), and casacore::Array< T >::ConstIteratorSTL::operator++().
void casacore::Array< T >::BaseIteratorSTL::nextLine | ( | ) | [inline] |
Definition at line 712 of file Array.h.
References casacore::Array< T >::BaseIteratorSTL::increment(), casacore::Array< T >::BaseIteratorSTL::itsLineEnd, and casacore::Array< T >::BaseIteratorSTL::itsPos.
bool casacore::Array< T >::BaseIteratorSTL::operator!= | ( | const BaseIteratorSTL & | other | ) | const [inline] |
Definition at line 721 of file Array.h.
References casacore::Array< T >::BaseIteratorSTL::itsPos.
bool casacore::Array< T >::BaseIteratorSTL::operator== | ( | const BaseIteratorSTL & | other | ) | const [inline] |
Definition at line 718 of file Array.h.
References casacore::Array< T >::BaseIteratorSTL::itsPos.
ostream& operator<< | ( | ostream & | os, | |
const BaseIteratorSTL & | iter | |||
) | [friend] |
const Array<T>* casacore::Array< T >::BaseIteratorSTL::itsArray [protected] |
Bool casacore::Array< T >::BaseIteratorSTL::itsContig [protected] |
Definition at line 741 of file Array.h.
Referenced by casacore::Array< T >::BaseIteratorSTL::nextElem().
IPosition casacore::Array< T >::BaseIteratorSTL::itsCurPos [protected] |
IPosition casacore::Array< T >::BaseIteratorSTL::itsLastPos [protected] |
uInt casacore::Array< T >::BaseIteratorSTL::itsLineAxis [protected] |
const T* casacore::Array< T >::BaseIteratorSTL::itsLineEnd [protected] |
Definition at line 735 of file Array.h.
Referenced by casacore::Array< T >::BaseIteratorSTL::nextElem(), and casacore::Array< T >::BaseIteratorSTL::nextLine().
size_t casacore::Array< T >::BaseIteratorSTL::itsLineIncr [protected] |
Definition at line 736 of file Array.h.
Referenced by casacore::Array< T >::BaseIteratorSTL::nextElem().
const T* casacore::Array< T >::BaseIteratorSTL::itsPos [protected] |
Definition at line 734 of file Array.h.
Referenced by casacore::Array< T >::BaseIteratorSTL::getPos(), casacore::Array< T >::BaseIteratorSTL::nextElem(), casacore::Array< T >::BaseIteratorSTL::nextLine(), casacore::Array< T >::BaseIteratorSTL::operator!=(), casacore::Array< T >::ConstIteratorSTL::operator*(), casacore::Array< T >::ConstIteratorSTL::operator->(), casacore::Array< T >::BaseIteratorSTL::operator==(), and casacore::Array< T >::ConstIteratorSTL::pos().