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

#include <Array.h>

Inheritance diagram for casacore::Array< T >::ConstIteratorSTL:
casacore::Array< T >::BaseIteratorSTL

Public Types

typedef T value_type
 
typedef const value_typepointer
 
typedef const value_typereference
 
typedef std::size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 ConstIteratorSTL (const Array< T > &arr)
 Create the begin const_iterator object for an Array. More...
 
 ConstIteratorSTL (const T *end=0)
 Create the end const_iterator object for an Array. More...
 
 ConstIteratorSTL (const IteratorSTL &iter)
 Create from a non-const iterator. More...
 
const ConstIteratorSTLoperator++ ()
 
ConstIteratorSTL operator++ (int)
 
const T & operator* () const
 
const T * operator-> ()
 
const T * pos () const
 
- Public Member Functions inherited from casacore::Array< T >::BaseIteratorSTL
 BaseIteratorSTL (const Array< T > &)
 Create the begin const_iterator object for an Array. More...
 
 BaseIteratorSTL (const T *end=0)
 Create the end const_iterator object for an Array. More...
 
void nextElem ()
 
void nextLine ()
 
bool operator== (const BaseIteratorSTL &other) const
 
bool operator!= (const BaseIteratorSTL &other) const
 
T * getPos ()
 

Additional Inherited Members

- Protected Member Functions inherited from casacore::Array< T >::BaseIteratorSTL
void increment ()
 Increment iterator for a non-contiguous array. More...
 
- Protected Attributes inherited from casacore::Array< T >::BaseIteratorSTL
const T * itsPos
 
const T * itsLineEnd
 
size_t itsLineIncr
 
uInt itsLineAxis
 
IPosition itsCurPos
 
IPosition itsLastPos
 
const Array< T > * itsArray
 
Bool itsContig
 

Detailed Description

template<class T>
class casacore::Array< T >::ConstIteratorSTL

Definition at line 779 of file Array.h.

Member Typedef Documentation

template<class T>
typedef ptrdiff_t casacore::Array< T >::ConstIteratorSTL::difference_type

Definition at line 788 of file Array.h.

template<class T>
typedef std::forward_iterator_tag casacore::Array< T >::ConstIteratorSTL::iterator_category

Definition at line 789 of file Array.h.

template<class T>
typedef const value_type* casacore::Array< T >::ConstIteratorSTL::pointer

Definition at line 785 of file Array.h.

template<class T>
typedef const value_type& casacore::Array< T >::ConstIteratorSTL::reference

Definition at line 786 of file Array.h.

template<class T>
typedef std::size_t casacore::Array< T >::ConstIteratorSTL::size_type

Definition at line 787 of file Array.h.

template<class T>
typedef T casacore::Array< T >::ConstIteratorSTL::value_type

Definition at line 784 of file Array.h.

Constructor & Destructor Documentation

template<class T>
casacore::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const Array< T > &  arr)
inlineexplicit

Create the begin const_iterator object for an Array.

Definition at line 792 of file Array.h.

template<class T>
casacore::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const T *  end = 0)
inlineexplicit

Create the end const_iterator object for an Array.

It also acts as the default constructor.

Definition at line 796 of file Array.h.

template<class T>
casacore::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const IteratorSTL iter)
inline

Create from a non-const iterator.

Definition at line 799 of file Array.h.

Member Function Documentation

template<class T>
const T& casacore::Array< T >::ConstIteratorSTL::operator* ( ) const
inline

Definition at line 814 of file Array.h.

References casacore::Array< T >::BaseIteratorSTL::itsPos.

template<class T>
const ConstIteratorSTL& casacore::Array< T >::ConstIteratorSTL::operator++ ( )
inline

Definition at line 802 of file Array.h.

References casacore::Array< T >::BaseIteratorSTL::nextElem().

template<class T>
ConstIteratorSTL casacore::Array< T >::ConstIteratorSTL::operator++ ( int  )
inline

Definition at line 807 of file Array.h.

References casacore::Array< T >::BaseIteratorSTL::nextElem().

template<class T>
const T* casacore::Array< T >::ConstIteratorSTL::operator-> ( )
inline

Definition at line 816 of file Array.h.

References casacore::Array< T >::BaseIteratorSTL::itsPos.

template<class T>
const T* casacore::Array< T >::ConstIteratorSTL::pos ( ) const
inline

Definition at line 819 of file Array.h.

References casacore::Array< T >::BaseIteratorSTL::itsPos.


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