Show/Hide Toolbars

RiverSoftAVG Products Help

The IIterator interface describes an abstract interface for enumerating over a list of pointers. It effectively hides the underlying implementation, whether a TList, a hash table or other structure, while still allowing access to all the pointers stored in the implementation.

The IIterator interface is similar to an Enumeration in java.

To use the iterator is simple, get the iterator and then keep calling the    NextElement method until the    HasMoreElements method returns False. The iterator works by giving you the next element until the end of the list, there is no provision for getting the previous element.
 

Namespace: CommonInterfaces

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb