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

RmLinkedList< Type >::iterator Class Reference

iterator More...

#include <RmLinkedList.h>

Inheritance diagram for RmLinkedList< Type >::iterator:

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

Public Member Functions

 iterator ()
 Constructor.

 iterator (const RmLinkedList< Type > *pParent, ItemNode *pItemNode)
 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 !=


Detailed Description

template<class Type>
class RmLinkedList< Type >::iterator

iterator

Iterator Class ( non - const )


Constructor & Destructor Documentation

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

Constructor.

Constructor

template<class Type>
RmLinkedList< Type >::iterator::iterator const RmLinkedList< Type > *  pParent,
ItemNode pItemNode
[inline]
 

Constructor.

Constructor

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

Destructor.

Destructor


Member Function Documentation

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

Accessing actual item.

Access item by dereferencing iterator

Returns:
Type(templated) data

template<class Type>
bool RmLinkedList< 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 RmLinkedList< Type >::iterator::operator++ int   )  [inline]
 

Postfix++.

Increment operator to advance iterator

Returns:
Advanced iterator

Reimplemented from RmLinkedList< Type >::const_iterator.

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

Prefix++.

Increment operator to advance iterator

Returns:
Advanced iterator reference

Reimplemented from RmLinkedList< Type >::const_iterator.

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

Postfix--.

Decrement operator to move iterator backward

Returns:
Iterator reference moved

Reimplemented from RmLinkedList< Type >::const_iterator.

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

Prefix--.

Decrement operator to move iterator backward

Returns:
Iterator reference moved backward

Reimplemented from RmLinkedList< Type >::const_iterator.

template<class Type>
bool RmLinkedList< 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


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