withCollection
Creates and initializes an OSCollectionIterator for the provided collection object.
Declaration
static OSCollectionIterator * withCollection(
const OSCollection *inColl);Parameters
- inColl:
The OSCollection-derived collection object to be iteratated.
Return Value
A new instance of OSCollectionIterator, or NULL on failure.