ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
OSIterator |
Inherits from: | |
Declared In: |
Abstract super class for iterator classes.
OSIterator is an abstract super class providing a consistent set of APIs for subclasses.
Returns a reference to the current object in the collection and advances the interator to the next object (a pure virtual member function to be overridden by the subclass).
Indicates a modification was made to the collection (a pure virtual member function to be overridden by the subclass).
Resets the iterator to the beginning of the collection (a pure virtual member function to be overridden by the subclass).
getNextObject |
Returns a reference to the current object in the collection and advances the interator to the next object (a pure virtual member function to be overridden by the subclass).
public
virtual OSObject *getNextObject() = 0;
isValid |
Indicates a modification was made to the collection (a pure virtual member function to be overridden by the subclass).
public
virtual bool isValid() = 0;
reset |
Resets the iterator to the beginning of the collection (a pure virtual member function to be overridden by the subclass).
public
virtual void reset() = 0;
|
Last Updated: 2008-12-19