Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

RmArray< Type >::iterator Class Reference

iterator More...

#include <RmArray.h>

Inheritance diagram for RmArray< Type >::iterator:

RmArray< Type >::const_iterator List of all members.

Public Member Functions

 iterator ()
 Constructor.

 iterator (RmArray *pArray, int nIndex)
 Constructor.

 ~iterator ()
 Destructor.

iteratoroperator++ ()
 Prefix++.

iterator operator++ (int)
 Postfix++.

iteratoroperator-- ()
 Prefix--.

iterator operator-- (int)
 Postfix--.

Type & operator * ()
 Accessing actual item.

bool operator== (const iterator &src)
 opreator ==

bool operator!= (const iterator &src)
 opreator !=

bool operator> (const iterator &src)
 opreator >

bool operator< (const iterator &src)
 opreator <

bool operator>= (const iterator &src)
 opreator >=

bool operator<= (const iterator &src)
 opreator <=


Detailed Description

template<class Type>
class RmArray< Type >::iterator

iterator

Iterator Class ( non - const )


Constructor & Destructor Documentation

template<class Type>
RmArray< Type >::iterator::iterator  )  [inline]
 

Constructor.

Constructor

template<class Type>
RmArray< Type >::iterator::iterator RmArray pArray,
int  nIndex
[inline]
 

Constructor.

Constructor

template<class Type>
RmArray< Type >::iterator::~iterator  )  [inline]
 

Destructor.

Destructor


Member Function Documentation

template<class Type>
Type& RmArray< Type >::iterator::operator *  )  [inline]
 

Accessing actual item.

Access item by dereferencing iterator

Returns:
Type(templated) data

template<class Type>
bool RmArray< Type >::iterator::operator!= const iterator src  )  [inline]
 

opreator !=

Equality operator

Parameters:
src Source iterator to compare to
Returns:
True if two iterators are NOT equal, False otherwise

template<class Type>
iterator RmArray< Type >::iterator::operator++ int   )  [inline]
 

Postfix++.

Increment operator to advance iterator

Returns:
Advanced iterator

Reimplemented from RmArray< Type >::const_iterator.

template<class Type>
iterator& RmArray< Type >::iterator::operator++  )  [inline]
 

Prefix++.

Increment operator to advance iterator

Returns:
Advanced iterator reference

Reimplemented from RmArray< Type >::const_iterator.

template<class Type>
iterator RmArray< Type >::iterator::operator-- int   )  [inline]
 

Postfix--.

Decrement operator to move iterator backward

Returns:
Iterator reference moved

Reimplemented from RmArray< Type >::const_iterator.

template<class Type>
iterator& RmArray< Type >::iterator::operator--  )  [inline]
 

Prefix--.

Decrement operator to move iterator backward

Returns:
Iterator reference moved backward

Reimplemented from RmArray< Type >::const_iterator.

template<class Type>
bool RmArray< Type >::iterator::operator< const iterator src  )  [inline]
 

opreator <

Less operator

Parameters:
src Source iterator to compare to
Returns:
True if this iterator is less than source, False otherwise

template<class Type>
bool RmArray< Type >::iterator::operator<= const iterator src  )  [inline]
 

opreator <=

Less equal operator

Parameters:
src Source iterator to compare to
Returns:
True if this iterator is less than or equal to source, False otherwise

template<class Type>
bool RmArray< Type >::iterator::operator== const iterator src  )  [inline]
 

opreator ==

Equality operator

Parameters:
src Source iterator to compare to
Returns:
True if two iterators are equal, False otherwise

template<class Type>
bool RmArray< Type >::iterator::operator> const iterator src  )  [inline]
 

opreator >

Greater equal operator

Parameters:
src Source iterator to compare to
Returns:
True if this iterator is greater than or equal to source, False otherwise

template<class Type>
bool RmArray< Type >::iterator::operator>= const iterator src  )  [inline]
 

opreator >=

Greater equal operator

Parameters:
src Source iterator to compare to
Returns:
True if this iterator is greater than or equal to source, False otherwise


The documentation for this class was generated from the following file:
Generated on Fri Feb 25 16:08:53 2005 for RenderMonkey SDK by doxygen 1.3.6