Contents

getObject(const OSString *)

Returns the object stored under a given key.

Declaration

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

Parameters

  • aKey:

    An OSString key identifying the object to be returned to 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