rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWMathArrayIteratorBase< T > Class Template Reference
[Math Collections]

A base class for RWMathArray iterators. More...

#include <rw/math/mtharray.h>

Inheritance diagram for RWMathArrayIteratorBase< T >:
RWMathArrayConstIterator< T > RWMathArrayIterator< T >

List of all members.

Public Types

typedef RWMathArray< T >
::difference_type 
difference_type
typedef RWMathArray< T >
::value_type 
value_type
typedef RWMathArray< T >
::const_pointer 
const_pointer

Public Member Functions

bool operator== (const RWMathArrayIteratorBase< T > &x) const
bool operator!= (const RWMathArrayIteratorBase< T > &x) const
bool operator< (const RWMathArrayIteratorBase< T > &x) const
bool operator> (const RWMathArrayIteratorBase< T > &x) const
bool operator<= (const RWMathArrayIteratorBase< T > &x) const
bool operator>= (const RWMathArrayIteratorBase< T > &x) const

Detailed Description

template<class T>
class RWMathArrayIteratorBase< T >

A base class from which the iterators for RWMathArray are derived.


Member Typedef Documentation

template<class T >
typedef RWMathArray<T>::const_pointer RWMathArrayIteratorBase< T >::const_pointer

Typedef for a const pointer to a value in this container.

Reimplemented in RWMathArrayIterator< T >, and RWMathArrayConstIterator< T >.

Typedef for the type of result from subtracting two iterators obtained from this container.

Reimplemented in RWMathArrayIterator< T >, and RWMathArrayConstIterator< T >.

template<class T >
typedef RWMathArray<T>::value_type RWMathArrayIteratorBase< T >::value_type

Typedef for the type of elements in this container.

Reimplemented in RWMathArrayIterator< T >, and RWMathArrayConstIterator< T >.


Member Function Documentation

template<class T >
bool RWMathArrayIteratorBase< T >::operator!= ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Inequality operator. Returns false if the RWMathArrayIteratorBase<T> objects point to the same element.

template<class T >
bool RWMathArrayIteratorBase< T >::operator< ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Less than operator. Determines the relative logical position between two RWMathArrayIteratorBase<T> objects, not necessarily the relative memory location of the elements to which they point.

template<class T >
bool RWMathArrayIteratorBase< T >::operator<= ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Less than or equal to operator. Determines the relative logical position between two RWMathArrayIteratorBase<T> objects, not necessarily the relative memory location of the elements to which they point.

template<class T >
bool RWMathArrayIteratorBase< T >::operator== ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Equality operator. Returns true if the RWMathArrayIteratorBase<T> objects point to the same element.

template<class T >
bool RWMathArrayIteratorBase< T >::operator> ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Greater than operator. Determines the relative logical position between two RWMathArrayIteratorBase<T> objects, not necessarily the relative memory location of the elements to which they point.

template<class T >
bool RWMathArrayIteratorBase< T >::operator>= ( const RWMathArrayIteratorBase< T > &  x  )  const [inline]

Greater than or equal to operator. Determines the relative logical position between two RWMathArrayIteratorBase<T> objects, not necessarily the relative memory location of the elements to which they point.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.