Up
Authors
- Mirko Viviani (
mirko.viviani@gmail.com
)
-
Version: 25326
Date: 2007-07-12 08:39:22 +0200 (Don, 12 Jul 2007)
Copyright: (C)
2000-2002,2003,2004,2005 Free Software
Foundation, Inc.
- Declared in:
- EOControl/EOSortOrdering.h
- Conforms to:
- NSCoding
- NSCopying
- EOKeyValueArchiving
Description forthcoming.
Instance Variables
Method summary
+ (
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:]
.
- (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.
- (NSString*)
key;
Returns the key of the receiver.
- (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
@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.
@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.
- Declared in:
- EOControl/EOSortOrdering.h
Description forthcoming.
Method summary
- (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.
- (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.
- (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.
- (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.
- Declared in:
- EOControl/EOSortOrdering.h
Description forthcoming.
Method summary
- (NSArray*)
sortedArrayUsingKeyOrderArray: (NSArray*)orderArray;
Returns an array contaning the of the objects of
the reveiver sorted according to the provided array of
EOSortOrderings.
- Declared in:
- EOControl/EOSortOrdering.h
Description forthcoming.
Method summary
- (void)
sortUsingKeyOrderArray: (NSArray*)orderArray;
Sorts the reveiver according to the provided array of
EOSortOrderings.
- Declared in:
- EOControl/EOSortOrdering.h
Description forthcoming.
Method summary
- (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.
- (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.
- (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.
- (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