Contents

getAnyObject

Returns an arbitrary (not random) object from the set.

Declaration

virtual OSObject * getAnyObject() const;

Return Value

An arbitrary (not random) object if one exists within the set.

Overview

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

See Also

Miscellaneous