Classes

EOAggregateEvent
EOAndQualifier
EOArrayDataSource
EOClassDescription
EOCooperatingObjectStore
EOCustomObject
EODataSource
EODelayedObserver
EODelayedObserverQueue
EODetailDataSource
EOEditingContext
EOEvent
EOEventCenter
EOFault
EOFaultHandler
EOFetchSpecification
EOGenericRecord
EOGlobalID
EOKeyComparisonQualifier
EOKeyGlobalID
EOKeyValueArchiver
EOKeyValueQualifier
EOKeyValueUnarchiver
EOMultiReaderLock
EONotQualifier
EOObjectStore
EOObjectStoreCoordinator
EOObserverCenter
EOObserverProxy
EOOrQualifier
EOQualifier
EOQualifierVariable
EOSharedEditingContext
EOSortOrdering
EOTemporaryGlobalID
EOUndoManager

Protocols

<EOEventRecordingHandler>
<EOKeyValueArchiving>
<EOObserving>
<EOQualifierEvaluation>
(Comparison)
(EODeprecated)
(EOEditingContextDelegation)
(EOEventRecordingHandler)
(EOKVCGDL2Additions)
(EOKeyValueCoding)
(EOKeyValueCodingAdditions)
(MacOSX)

Constants

Functions

EOCancelEvent
EOEditingContext_globalIDForObjectWithImpPtr
EOEditingContext_objectForGlobalIDWithImpPtr
EOEditingContext_recordObjectGlobalIDWithImpPtr
EOFLogAssertGood_
EOFLogC_
EOFLogDumpObject_
EOHashAddTable
EOMKKDInitializer_indexForKeyWithImpPtr
EOMKKD_hasKeyWithImpPtr
EOMKKD_indexForKeyWithImpPtr
EOMKKD_objectForKeyWithImpPtr
EOMKKD_removeObjectForKeyWithImpPtr
EOMKKD_setObjectForKeyWithImpPtr
EOMarkAtomicEvent
EOMarkEndOfEvent
EOMarkStartOfEvent
EONewEventOfClass
GDL2_Activate
GDL2_AssignAtomicallyIfNil
GDL2_PrivateInit
GDL2_isLegalDBName
GSUseStrictWO451Compatibility

Macros

GDL2_BUFFER

Types

EODeleteRule
EOEventSignatureType
EOObserverPriority

Variables

EOAdditionalExceptionsKey
EOClassDescriptionNeededForClassNotification
EOClassDescriptionNeededForEntityNameNotification
EOClassDescriptionNeededNotification
EOCooperatingObjectStoreNeeded
EOCooperatingObjectStoreWasAdded
EOCooperatingObjectStoreWasRemoved
EODefaultSharedEditingContextWasInitializedNotification
EODeletedKey
EOEditingContextDidSaveChangesNotification
EOEventGroupName
EOEventLoggingEnabled
EOEventLoggingLimit
EOEventLoggingOverflowDisplay
EOFetchLimitHintKey
EOGlobalIDChangedNotification
EOInsertedKey
EOInvalidatedAllObjectsInStoreNotification
EOInvalidatedKey
EOObjectsChangedInEditingContextNotification
EOObjectsChangedInStoreNotification
EOPrefetchingRelationshipHintKey
EOPromptAfterFetchLimitHintKey
EOQualifierVariableSubstitutionException
EOSharedEditingContextInitializedObjectsNotification
EOTargetObjectUserInfoKey
EOUnknownUserInfoKey
EOUpdatedKey
EOValidatedObjectUserInfoKey
EOValidatedPropertyUserInfoKey
EOValidationException
GDL2_EOEditingContextClass
GDL2_EOEditingContext_globalIDForObjectIMP
GDL2_EOEditingContext_objectForGlobalIDIMP
GDL2_EOEditingContext_recordObjectGlobalIDIMP
GDL2_EOFaultClass
GDL2_EOMKKDInitializerClass
GDL2_EOMKKDInitializer_indexForKeyIMP
GDL2_EONull
GDL2_Lock
GDL2_MKKDClass
GDL2_MKKD_hasKeyIMP
GDL2_MKKD_indexForKeyIMP
GDL2_MKKD_objectForKeyIMP
GDL2_MKKD_removeObjectForKeyIMP
GDL2_MKKD_setObjectForKeyIMP
GDL2_NSArray
GDL2_NSArrayClass
GDL2_NSArray_arrayIMP
GDL2_NSAutoreleasePoolClass
GDL2_NSAutoreleasePool_newIMP
GDL2_NSCalendarDateClass
GDL2_NSCalendarDate_allocWithZoneIMP
GDL2_NSDataClass
GDL2_NSData_allocWithZoneIMP
GDL2_NSData_dataWithBytes_lengthIMP
GDL2_NSDateClass
GDL2_NSDecimalNumberClass
GDL2_NSDecimalNumber_allocWithZoneIMP
GDL2_NSDictionaryClass
GDL2_NSMutableArrayClass
GDL2_NSMutableArray_allocWithZoneIMP
GDL2_NSMutableArray_arrayIMP
GDL2_NSMutableArray_arrayWithArrayIMP
GDL2_NSMutableArray_arrayWithCapacityIMP
GDL2_NSMutableDictionaryClass
GDL2_NSMutableDictionary_allocWithZoneIMP
GDL2_NSMutableDictionary_dictionaryWithCapacityIMP
GDL2_NSNumberBool_No
GDL2_NSNumberBool_Yes
GDL2_NSNumberClass
GDL2_NSNumber_allocWithZoneIMP
GDL2_NSStringClass
GDL2_NSString_allocWithZoneIMP
GDL2_NSString_defaultCStringEncodingIMP
GDL2_NSString_stringWithCStringIMP
GDL2_NSString_stringWithCString_lengthIMP
eqSel

Up

EOSortOrdering

Authors

Mirko Viviani (mirko.viviani@gmail.com)

Date: Generated at 2025-03-07 04:56:32 +0000

Copyright: (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the EOSortOrdering class
  2. Software documentation for the EONull(EOSortOrderingComparison) category
  3. Software documentation for the NSArray(EOKeyBasedSorting) category
  4. Software documentation for the NSMutableArray(EOKeyBasedSorting) category
  5. Software documentation for the NSObject(EOSortOrderingComparison) category

Software documentation for the EOSortOrdering class

EOSortOrdering : NSObject

class_EOSortOrdering NSObject NSObject EOSortOrdering EOSortOrdering NSObject->EOSortOrdering p_EOKeyValueArchiving EOKeyValueArchiving p_EOKeyValueArchiving->EOSortOrdering p_NSCoding NSCoding p_NSCoding->EOSortOrdering p_NSCopying NSCopying p_NSCopying->EOSortOrdering
Declared in:
EOControl/EOSortOrdering.h
Conforms to:
EOKeyValueArchiving
NSCoding
NSCopying
Description forthcoming.

Instance Variables

Method summary


sortOrderingWithKey: selector: 

+ (EOSortOrdering*) sortOrderingWithKey: (NSString*)key selector: (SEL)selector;
Returns an autoreleased EOSortOrdering initilaized with key and selector. The selector should take an id as an argument and return an NSComparisonResult value. This method calls [EOSortOrdering -initWithKey:selector:] .

initWithKey: selector: 

- (id) initWithKey: (NSString*)key selector: (SEL)selector;
This is a designated initialiser for the class.
Initializes the receiver with a copy of key and the selector. The selector should take an id as an argument and return an NSComparisonResult value.

key 

- (NSString*) key;
Returns the key of the receiver.

selector 

- (SEL) selector;
Returns the selector of the receiver. The selector should take an id as an argument and return an NSComparisonResult value.



Instance Variables for EOSortOrdering Class

_key

@protected NSString* _key;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_selector

@protected SEL _selector;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the EONull(EOSortOrderingComparison) category

EONull(EOSortOrderingComparison)

Declared in:
EOControl/EOSortOrdering.h
Description forthcoming.

Method summary


compareAscending: 

- (NSComparisonResult) compareAscending: (id)other;
Implementation of EOCompareAscending for EONull. When compared to another EONull, return NSOrderedSame. Otherwise NSOrderdAscening. This leads to EONulls to be at the begining of arrays sorted with EOCompareAscending.

compareCaseInsensitiveAscending: 

- (NSComparisonResult) compareCaseInsensitiveAscending: (id)other;
Implementation of EOCompareCaseInsensativeAscending for EONull. When compared to another EONull, return NSOrderedSame. Otherwise NSOrderdAscening. This leads to EONulls to be at the begining of arrays sorted with EOCompareCaseInsensitiveAscending.

compareCaseInsensitiveDescending: 

- (NSComparisonResult) compareCaseInsensitiveDescending: (id)other;
Implementation of EOCompareCaseInsensativeDescending for EONull. When compared to another EONull, return NSOrderedSame. Otherwise NSOrderdDescening. This leads to EONulls to be at the end of arrays sorted with EOCompareCaseInsensativeDescending.

compareDescending: 

- (NSComparisonResult) compareDescending: (id)other;
Implementation of EOCompareDescending for EONull. When compared to another EONull, return NSOrderedSame. Otherwise NSOrderdDescening. This leads to EONulls to be at the end of arrays sorted with EOCompareDescending.

Software documentation for the NSArray(EOKeyBasedSorting) category

NSArray(EOKeyBasedSorting)

Declared in:
EOControl/EOSortOrdering.h
Description forthcoming.

Method summary


sortedArrayUsingKeyOrderArray: 

- (NSArray*) sortedArrayUsingKeyOrderArray: (NSArray*)orderArray;
Returns an array contaning the of the objects of the reveiver sorted according to the provided array of EOSortOrderings.

Software documentation for the NSMutableArray(EOKeyBasedSorting) category

NSMutableArray(EOKeyBasedSorting)

Declared in:
EOControl/EOSortOrdering.h
Description forthcoming.

Method summary


sortUsingKeyOrderArray: 

- (void) sortUsingKeyOrderArray: (NSArray*)orderArray;
Sorts the reveiver according to the provided array of EOSortOrderings.

Software documentation for the NSObject(EOSortOrderingComparison) category

NSObject(EOSortOrderingComparison)

Declared in:
EOControl/EOSortOrdering.h
Description forthcoming.

Method summary


compareAscending: 

- (NSComparisonResult) compareAscending: (id)other;
Default implementation of EOCompareAscending. This implementation returns the result of compare:. Concrete classes should either override this method or compare: to return a meaningful NSComparisonResult.

compareCaseInsensitiveAscending: 

- (NSComparisonResult) compareCaseInsensitiveAscending: (id)other;
Default implementation of EOCompareCaseInsensitiveAscending. This implementation returns the result of compare:. Concrete classes should either override this method or compare: to return a meaningful NSComparisonResult.

compareCaseInsensitiveDescending: 

- (NSComparisonResult) compareCaseInsensitiveDescending: (id)other;
Default implementation of EOCompareCaseInsensitiveDescending. This implementation returns the inverted result of compare:. Concrete classes should either override this method or compare: to return a meaningful NSComparisonResult.

compareDescending: 

- (NSComparisonResult) compareDescending: (id)other;
Default implementation of EOCompareDescending. This implementation returns the inverted result of compare:. Concrete classes should either override this method or compare: to return a meaningful NSComparisonResult.


Up