Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Math Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWMathArray<T>::const_iterator

Module:  Essential Math    Group:  Math Collection classes


Does not inherit

Local Index

Members

Synopsis

template <class T>
class RWMathArray<T>::const_iterator;

Description

Class RWMathArray<T>::const_iterator is the random access iterator for the RWMathArray<T> collection class. The const_iterator class behaves like a pointer to type T and is used to increment through elements of an RWMathArray<T>. The const_iterator differs from a plain iterator in that the value in a dereferenced const_iterator may not be changed.

Example

Public Constructors

RWMathArray<T>::const_iterator();
RWMathArray<T>::const_iterator(const
                       RWMathArray<T>::const_iterator& i);
RWMathArray<T>::const_iterator(const 
                       RWMathArray<T>::iterator& i);

Public Member Operators

RWMathArray<T>::const_iterator&    operator++();
RWMathArray<T>::const_iterator&    operator--();
RWMathArray<T>::const_iterator&    operator++(int);
RWMathArray<T>::const_iterator&    operator--(int);
RWMathArray<T>::const_iterator&   operator+=(RWMathArray<T>::difference_type d);
RWMathArray<T>::const_iterator& 
operator-=(RWMathArray<T>::difference_type d);
RWMathArray<T>::const_iterator& 
operator=(const RWMathArray<T>::const_iterator& i);
RWMathArray<T>::difference_type 
operator-(const RWMathArray<T>::const_iterator& i) const;
RWMathArray<T>::const_iterator& 
operator+(RWMathArray<T>::difference_type d) const;
RWMathArray<T>::const_iterator& 
operator-(RWMathArray<T>::difference_type d) const;
const T&  operator[]() const;
const T&  operator*() const;
T* operator->() const;
bool operator==(const RWMathArray<T>::const_iterator& i) const;
bool operator!=(const RWMathArray<T>::const_iterator& i) const;
bool operator<(const RWMathArray<T>::const_iterator& i) const;
bool operator>(const RWMathArray<T>::const_iterator& i) const;
bool operator<=(const RWMathArray<T>::const_iterator& i) const;
bool operator>=(const RWMathArray<T>::const_iterator& i) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.