CFComparisonResultHeader: CFBase.h

Constants returned by the comparator function conforming to the callback prototype CFComparatorFunction. They indicate whether a value is equal to, less than, or greater than another value.

enum CFComparisonResult {
    kCFCompareLessThan = -1,
    kCFCompareEqualTo = 0,
    kCFCompareGreaterThan = 1
};

Constant descriptions

kCFCompareLessThan

Returned by the comparator function if the first value is less than the second value.

kCFCompareEqualTo

Returned by the comparator function if the first value is equal to the second value.

kCFCompareGreaterThan

Returned by the comparator function if the first value is greater than the second value.


© 1999 Apple Computer, Inc. — (Last Updated 9/15/99)