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

#include <Array.h>

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

List of all members.

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-> ()

Detailed Description

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

Definition at line 605 of file Array.h.


Member Typedef Documentation

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

Definition at line 614 of file Array.h.

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

Definition at line 615 of file Array.h.

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

Definition at line 611 of file Array.h.

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

Definition at line 612 of file Array.h.

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

Definition at line 613 of file Array.h.

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

Definition at line 610 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 618 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 622 of file Array.h.


Member Function Documentation

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

Definition at line 637 of file Array.h.

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

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

Definition at line 625 of file Array.h.

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

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

Definition at line 630 of file Array.h.

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

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

Definition at line 639 of file Array.h.

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


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