Contents

getObject

Returns a member of the dictionary.

Declaration

OSObject * getObject(const char *aKey) const;

Parameters

  • aKey:

    A c-string key. An OSString is created from aKey and used as the key for the dictionary.

Return Value

Member at the given index or NULL if the index is greater or equal to the array count. The retain count of the result object is not incremented and the object should not be release by the caller.

Discussion

Looks up an existing object in the dictionary with the given key and returns it.

See Also

Accessing Keys and Values