isEqualTo(const OSDictionary *, const OSCollection *)
Tests the equality of two OSDictionary objects over a subset of keys.
Declaration
virtual bool isEqualTo(
const OSDictionary *aDictionary,
const OSCollection *keys) const;Parameters
- aDictionary:
The dictionary to be compared against the receiver.
- keys:
An OSArray or OSDictionary containing the keys (as
OSStringor Ossymbol) describing the intersection for the comparison.
Return Value
true if the intersections of the two dictionaries are equal.
Overview
Two OSDictionary objects are considered equal by this function if both have objects stored for all keys provided, and if the objects stored in each under a given key compare as equal using isEqualTo.
See Also
Miscellaneous
copyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetObjectgetObject(const OSString *)getObject(const OSSymbol *)initWithCapacityinitWithDictionaryinitWithObjects(const OSObject *, const OSString *, unsigned int, unsigned int)initWithObjects(const OSObject *, const OSSymbol *, unsigned int, unsigned int)isEqualToisEqualTo(const OSDictionary *)mergeremoveObjectremoveObject(const OSString *)removeObject(const OSSymbol *)serializesetCapacityIncrementsetObjectsetObject(const OSString *, const OSMetaClassBase *)setObject(const OSSymbol *, const OSMetaClassBase *)withCapacitywithDictionarywithObjects(const OSObject *, const OSString *, unsigned int, unsigned int)withObjects(const OSObject *, const OSSymbol *, unsigned int, unsigned int)