casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::ReadOnlyVectorIterator< T > Class Template Reference

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

#include <VectorIter.h>

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. More...
 
ReadOnlyVectorIterator< T > & operator= (const ReadOnlyVectorIterator< T > &)
 Not implemented. More...
 

Private Attributes

VectorIterator< T > vi
 

Detailed Description

template<class T>
class casacore::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>
casacore::ReadOnlyVectorIterator< T >::ReadOnlyVectorIterator ( const Array< T > &  a,
uInt  axis = 0 
)
inlineexplicit

Definition at line 107 of file VectorIter.h.

template<class T>
casacore::ReadOnlyVectorIterator< T >::ReadOnlyVectorIterator ( const ReadOnlyVectorIterator< T > &  )
private

Not implemented.

Member Function Documentation

template<class T>
const Array<T>& casacore::ReadOnlyVectorIterator< T >::array ( )
inline

Definition at line 114 of file VectorIter.h.

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

template<class T>
Bool casacore::ReadOnlyVectorIterator< T >::atStart ( ) const
inline

Definition at line 117 of file VectorIter.h.

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

template<class T>
IPosition casacore::ReadOnlyVectorIterator< T >::endPos ( ) const
inline

Definition at line 120 of file VectorIter.h.

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

template<class T>
uInt casacore::ReadOnlyVectorIterator< T >::ndim ( ) const
inline

Definition at line 121 of file VectorIter.h.

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

template<class T>
void casacore::ReadOnlyVectorIterator< T >::next ( )
inline

Definition at line 110 of file VectorIter.h.

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

template<class T>
ReadOnlyVectorIterator<T>& casacore::ReadOnlyVectorIterator< T >::operator= ( const ReadOnlyVectorIterator< T > &  )
private

Not implemented.

template<class T>
void casacore::ReadOnlyVectorIterator< T >::origin ( )
inline

Definition at line 112 of file VectorIter.h.

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

template<class T>
Bool casacore::ReadOnlyVectorIterator< T >::pastEnd ( ) const
inline

Definition at line 118 of file VectorIter.h.

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

template<class T>
const IPosition& casacore::ReadOnlyVectorIterator< T >::pos ( ) const
inline

Definition at line 119 of file VectorIter.h.

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

template<class T>
void casacore::ReadOnlyVectorIterator< T >::reset ( )
inline

Definition at line 111 of file VectorIter.h.

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

template<class T>
const Vector<T>& casacore::ReadOnlyVectorIterator< T >::vector ( )
inline

Definition at line 115 of file VectorIter.h.

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

Member Data Documentation

template<class T>
VectorIterator<T> casacore::ReadOnlyVectorIterator< T >::vi
private

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