Important: The information in this document is obsolete and should not be used for new development.
Comparison Types
The enumerationCDCompareTypespecifies the possible outcomes of theCyberItem::Comparemethod (page 230), which compares two Cyberdog items according to an order defined by the Cyberdog item developer. For example, a developer implementing a Cyberdog item subclass might order Cyberdog items of the subclass by performing an ASCII comparison of their URL strings.
enum CDCompareType { kCDCompareLessThan, kCDCompareEqual, kCDCompareGreaterThan };Constants of this type
kCDCompareLessThan- The receiving Cyberdog item occurs earlier in the order than the other Cyberdog item.
kCDCompareEqual- The receiving Cyberdog item and the other Cyberdog item are equal.
kCDCompareGreaterThan- The receiving Cyberdog item occurs later in the order than the other Cyberdog item.