casa::Array< T >::IteratorSTL Class Reference

#include <Array.h>

Inheritance diagram for casa::Array< T >::IteratorSTL:

Inheritance graph
[legend]
Collaboration diagram for casa::Array< T >::IteratorSTL:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 570 of file Array.h.

Public Types

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

Public Member Functions

 IteratorSTL (Array< T > &arr)
 Create the begin iterator object for an Array.
 IteratorSTL (const T *end=0)
 Create the end iterator object for an Array.
const IteratorSTLoperator++ ()
IteratorSTL operator++ (int)
T & operator * ()
 T* operator++() { this->nextElem(); return this->getPos(); } T* operator++(int) { T* oldPos = this->getPos(); this->nextElem(); return oldPos; }.


Member Typedef Documentation

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

Definition at line 575 of file Array.h.

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

Definition at line 576 of file Array.h.

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

Definition at line 577 of file Array.h.

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

Definition at line 578 of file Array.h.

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

Definition at line 579 of file Array.h.

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

Definition at line 580 of file Array.h.


Constructor & Destructor Documentation

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

Create the begin iterator object for an Array.

Definition at line 583 of file Array.h.

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

Create the end iterator object for an Array.

It also acts as the default constructor.

Definition at line 587 of file Array.h.


Member Function Documentation

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

Definition at line 590 of file Array.h.

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

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

Definition at line 595 of file Array.h.

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

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

T* operator++() { this->nextElem(); return this->getPos(); } T* operator++(int) { T* oldPos = this->getPos(); this->nextElem(); return oldPos; }.

Definition at line 613 of file Array.h.

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


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:43:29 2008 for NRAOCASA by  doxygen 1.5.1