casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::ReadOnlyVectorIterator< T > Class Template Reference

Iterate a Vector cursor through another Array. More...

#include <VectorIter.h>

List of all members.

Public Member Functions

 ReadOnlyVectorIterator (const Array< T > &a, uInt axis=0)
void next ()
void reset ()
void origin ()
const Array< T > & array ()
const Vector< T > & vector ()
Bool atStart () const
Bool pastEnd () const
const IPositionpos () const
IPosition endPos () const
uInt ndim () const

Private Member Functions

 ReadOnlyVectorIterator (const ReadOnlyVectorIterator< T > &)
 Not implemented.
ReadOnlyVectorIterator< T > & operator= (const ReadOnlyVectorIterator< T > &)
 Not implemented.

Private Attributes

VectorIterator< T > vi

Detailed Description

template<class T>
class casa::ReadOnlyVectorIterator< T >

Iterate a Vector cursor through another Array.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

ReadOnlyVectorIterator behaves exactly like VectorIterator (cf.) only it should be used on const Arrays.


Tip: Note that the R/O VectorIterator is not derived from R/O ArrayIterator;

Definition at line 103 of file VectorIter.h.


Constructor & Destructor Documentation

template<class T>
casa::ReadOnlyVectorIterator< T >::ReadOnlyVectorIterator ( const Array< T > &  a,
uInt  axis = 0 
) [inline, explicit]

Definition at line 107 of file VectorIter.h.

template<class T>
casa::ReadOnlyVectorIterator< T >::ReadOnlyVectorIterator ( const ReadOnlyVectorIterator< T > &  ) [private]

Not implemented.


Member Function Documentation

template<class T>
const Array<T>& casa::ReadOnlyVectorIterator< T >::array ( ) [inline]

Definition at line 114 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
Bool casa::ReadOnlyVectorIterator< T >::atStart ( ) const [inline]

Definition at line 117 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
IPosition casa::ReadOnlyVectorIterator< T >::endPos ( ) const [inline]

Definition at line 120 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
uInt casa::ReadOnlyVectorIterator< T >::ndim ( ) const [inline]

Definition at line 121 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
void casa::ReadOnlyVectorIterator< T >::next ( ) [inline]

Definition at line 110 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
ReadOnlyVectorIterator<T>& casa::ReadOnlyVectorIterator< T >::operator= ( const ReadOnlyVectorIterator< T > &  ) [private]

Not implemented.

template<class T>
void casa::ReadOnlyVectorIterator< T >::origin ( ) [inline]

Definition at line 112 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
Bool casa::ReadOnlyVectorIterator< T >::pastEnd ( ) const [inline]

Definition at line 118 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
const IPosition& casa::ReadOnlyVectorIterator< T >::pos ( ) const [inline]

Definition at line 119 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
void casa::ReadOnlyVectorIterator< T >::reset ( ) [inline]

Definition at line 111 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.

template<class T>
const Vector<T>& casa::ReadOnlyVectorIterator< T >::vector ( ) [inline]

Definition at line 115 of file VectorIter.h.

References casa::ReadOnlyVectorIterator< T >::vi.


Member Data Documentation

template<class T>
VectorIterator<T> casa::ReadOnlyVectorIterator< T >::vi [private]

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