getNextIndexOfObject
Searches the array for an object.
Declaration
uint32_t getNextIndexOfObject(const OSMetaClassBase *anObject, uint32_t index) const;Parameters
- anObject:
The object to search for.
- index:
Zero based index less than the array count to begin the search.
Return Value
Index at which the object was found, or -1U if the member was not found in the array after the index parameter.
Discussion
Beginning at the passed index, iterate the array until the object instance is found or there are no more members. The search is done by pointer equality.