5 // Created by Chaz McGarvey on 12/13/04.
6 // Copyright 2004 Chaz McGarvey. All rights reserved.
9 #import <Cocoa/Cocoa.h>
11 #import "CheaterTypes.h"
17 @interface SearchData
: NSObject
19 TCVariableType _variableType
;
20 TCIntegerSign _integerSign
;
21 TCSearchOperator _operator
;
24 Variable
*_variableValue
;
36 - (TCVariableType
)variableType
;
37 - (void)setVariableType
:(TCVariableType
)varType
;
39 - (TCIntegerSign
)integerSign
;
40 - (void)setIntegerSign
:(TCIntegerSign
)sign
;
42 - (TCSearchOperator
)searchOperator
;
43 - (void)setSearchOperator
:(TCSearchOperator
)op
;
45 - (TCSearchType
)valueUsed
;
46 - (void)setValueUsed
:(TCSearchType
)value
;
48 - (Variable
*)searchValue
;
49 - (void)setSearchValue
:(Variable
*)value
;
51 - (unsigned)numberOfResults
;
53 - (void)setAddresses
:(TCArray
)addresses
;
55 - (void)setValues
:(TCArray
)values
;
56 - (void)setValue
:(Variable
*)value atIndex
:(unsigned)index
;
58 - (Variable
*)variableAtIndex
:(unsigned)index
;
59 - (NSString
*)stringForRow
:(unsigned)rowIndex
;
61 - (BOOL
)hasSearchedOnce
;
65 - (void)didAddResults
;
70 - (BOOL
)isTypeInteger
;