Contents

getNextIndexOfObject

Scans the array for the next instance of a specific object at or beyond a given index.

Declaration

virtual unsigned int getNextIndexOfObject( 
 const OSMetaClassBase *anObject, 
 unsigned intindex) const;

Parameters

  • anObject:

    The object to scan for.

  • index:

    The index at which to begin the scan.

Return Value

The next index of anObject in the array or (-1) if none is found.

Overview

This function uses pointer equivalence, and does not use isEqualTo.

See Also

Miscellaneous