iterateObjects
Iterates the dictionary calling a callback block for each member.
Declaration
bool iterateObjects(OSDictionaryIterateObjectsBlock block) const;Parameters
- block:
The block to invoke.
Return Value
False if the callback block returned false, otherwise true (including if the dictionary is empty).
Discussion
Calls the block with each value in the dictionary. The block must not modify the dictionary during iteration. If the block returns true the iteration continues for all members, returning false halts the iteration early.