mxmBidirectionalIteratorInterface Class Reference
[modularMX Runtime Platform Core]

Interface to entities allowing to iterate over the items of an mxmContainer in both forward and backward directions. More...

#include <mxmBidirectionalIteratorInterface.h>

Inheritance diagram for mxmBidirectionalIteratorInterface:

mxmIteratorInterface mxmInterface mxmMutableBidirectionalIteratorInterface mxmList::Iterator mxmPerlStyleHash::Iterator List of all members.

Public Member Functions

virtual mxmObjectpreviousItem (void)=0
 Retrieves the next item in backward direction for the current iteration sweep.

Detailed Description

Interface to entities allowing to iterate over the items of an mxmContainer in both forward and backward directions.

Author:
[khe] Kai Hergenroether


Member Function Documentation

virtual mxmObject* mxmBidirectionalIteratorInterface::previousItem void   )  [pure virtual]
 

Retrieves the next item in backward direction for the current iteration sweep.

Returns 0 if there are no more items and the iteration has, as a result, been completed. Once the current iteration has completed, previousItem() will return 0 until the iterator is reset.

Until the iteration sweep has hit either "end" of the container concluding the iteration sweep in the process, calls to nextItem() and previousItem() can be liberally mixed.

Implemented in mxmList::Iterator.


The documentation for this class was generated from the following file:
Generated on Fri Jun 29 17:21:04 2007 for MxPEG SDK by  doxygen 1.4.6