casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::Array< T >::ConstIteratorSTL Class Reference

#include <Array.h>

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

List of all members.

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.
 ConstIteratorSTL (const T *end=0)
 Create the end const_iterator object for an Array.
 ConstIteratorSTL (const IteratorSTL &iter)
 Create from a non-const iterator.
const ConstIteratorSTLoperator++ ()
ConstIteratorSTL operator++ (int)
const T & operator* () const
const T * operator-> ()
const T * pos () const

Detailed Description

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

Definition at line 643 of file Array.h.


Member Typedef Documentation

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

Definition at line 652 of file Array.h.

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

Definition at line 653 of file Array.h.

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

Definition at line 649 of file Array.h.

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

Definition at line 650 of file Array.h.

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

Definition at line 651 of file Array.h.

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

Definition at line 648 of file Array.h.


Constructor & Destructor Documentation

template<class T>
casa::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const Array< T > &  arr) [inline, explicit]

Create the begin const_iterator object for an Array.

Definition at line 656 of file Array.h.

template<class T>
casa::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const T *  end = 0) [inline, explicit]

Create the end const_iterator object for an Array.

It also acts as the default constructor.

Definition at line 660 of file Array.h.

template<class T>
casa::Array< T >::ConstIteratorSTL::ConstIteratorSTL ( const IteratorSTL iter) [inline]

Create from a non-const iterator.

Definition at line 663 of file Array.h.


Member Function Documentation

template<class T>
const T& casa::Array< T >::ConstIteratorSTL::operator* ( ) const [inline]

Definition at line 678 of file Array.h.

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

template<class T>
const ConstIteratorSTL& casa::Array< T >::ConstIteratorSTL::operator++ ( ) [inline]

Definition at line 666 of file Array.h.

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

template<class T>
ConstIteratorSTL casa::Array< T >::ConstIteratorSTL::operator++ ( int  ) [inline]

Definition at line 671 of file Array.h.

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

template<class T>
const T* casa::Array< T >::ConstIteratorSTL::operator-> ( ) [inline]

Definition at line 680 of file Array.h.

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

template<class T>
const T* casa::Array< T >::ConstIteratorSTL::pos ( ) const [inline]

Definition at line 683 of file Array.h.

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


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