![]() |
Comparison Operator Constants |
Header: AERegistry.h |
Specify a comparison operation to perform on two operands.
enum { kAEAsk = 'ask ', kAEBefore = 'befo', kAEBeginning = 'bgng', kAEBeginsWith = 'bgwt', kAEBeginTransaction = 'begi', kAEBold = 'bold', kAECaseSensEquals = 'cseq', kAECentered = 'cent', kAEChangeView = 'view', kAEClone = 'clon', kAEClose = 'clos', kAECondensed = 'cond', kAEContains = 'cont', kAECopy = 'copy', kAECoreSuite = 'core', kAECountElements = 'cnte', kAECreateElement = 'crel', kAECreatePublisher = 'cpub', kAECut = 'cut ', kAEDelete = 'delo' };
The value of operand1 begins with the value of operand2 (for example, the string "operand" begins with the string "opera").
The value of operand1 contains the value of operand2 (for example, the string "operand" contains the string "era").
An Apple event in the Standard Suite.
When you call the CreateCompDescriptor function, you pass one of these comparison operators in the comparisonOperator parameter. The CreateCompDescriptor function creates a comparison descriptor record that specifies how to compare one or more Apple event objects with either another Apple event object or a descriptor record.
The actual comparison of the two operands is performed by the object comparison function provided by the client applicationsee OSLCompareProcPtr. The way a comparison operator is interpreted is up to each application.
For related information, see
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)