Contents

getObject(const OSSymbol *)

Returns the object stored under a given key.

Declaration

virtual OSObject * getObject(
 const OSSymbol *aKey) const;

Parameters

  • aKey:

    An OSSymbol key identifying the object to be returned to the caller.

Return Value

The object stored under aKey, or NULL if the key does not exist in the dictionary.

Overview

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

See Also

Miscellaneous