Contents

getObject

Return the object stored at a given index.

Declaration

virtual OSObject * getObject(
 unsigned intindex) const;

Parameters

  • index:

    The index of the object to be returned to caller.

Return Value

The object stored at index, or NULL if index lies past the end of the array.

Overview

The returned object will be released if removed from the array; if you plan to store the reference, you should call retain on that object.

See Also

Miscellaneous