Contents

isEqualTo(const OSMetaClassBase *)

Tests the equality of an OSData object to an arbitrary object.

Declaration

virtual bool isEqualTo(
 const OSMetaClassBase *anObject) const;

Parameters

  • anObject:

    The object to be compared against the receiver.

Return Value

true if the two objects are equivalent, false otherwise.

Overview

An OSData is considered equal to another object if that object is derived from OSData and contains the equivalent bytes of the same length.

See Also

Miscellaneous