Contents

isEqualTo(const OSDictionary *)

Tests the equality of two OSDictionary objects.

Declaration

virtual bool isEqualTo(
 const OSDictionary *aDictionary) const;

Parameters

  • aDictionary:

    The dictionary to be compared against the receiver.

Return Value

true if the dictionaries are equal, false if not.

Overview

Two OSDictionary objects are considered equal if they have same count, the same keys, and if the objects stored in each under a given key compare as equal using isEqualTo.

See Also

Miscellaneous