blob: 3a81280f54374e0101b2c20f4f47b2e0ad435935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//
// LiFilter.h
// LiFrameworks
//
// Created by Brian Cully on Sat Aug 23 2003.
// Copyright (c) 2003 Brian Cully. All rights reserved.
//
@interface LiFilter : NSObject
{
NSString *theAttribute;
NSString *theCompareSelector;
id theValue;
}
+ (LiFilter *)filterWithAttribute: (NSString *)anAttribute
compareSelector: (SEL)aSelector
value: (id)aValue;
- (id)initWithAttribute: (NSString *)anAttribute
compareSelector: (SEL)aSelector
value: (id)aValue;
@property (retain,getter=attribute) NSString *theAttribute;
@property (retain,getter=value) id theValue;
@property (retain) NSString *theCompareSelector;
@end
@interface LiFilter (Accessors)
- (NSString *)attribute;
- (void)setAttribute: (NSString *)anAttribute;
- (SEL)compareSelector;
- (void)setCompareSelector: (SEL)aSelector;
- (id)value;
- (void)setValue: (id)aValue;
@end
@interface LiFilter (CommonAccessors)
- (NSString *)description;
@end
|