]> Dogcows Code - chaz/thecheat/blob - SearchData.h
The Cheat 1.2
[chaz/thecheat] / SearchData.h
1 //
2 // SearchData.h
3 // The Cheat
4 //
5 // Created by Chaz McGarvey on 12/13/04.
6 // Copyright 2004 Chaz McGarvey. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11 #import "CheaterTypes.h"
12
13 #import "Cheater.h"
14 #import "Variable.h"
15
16
17 @interface SearchData : NSObject
18 {
19 TCVariableType _variableType;
20 TCIntegerSign _integerSign;
21 TCSearchOperator _operator;
22 TCSearchType _value;
23
24 Variable *_variableValue;
25
26 TCArray _addresses;
27 TCArray _values;
28
29 Process *_process;
30
31 int _undoes;
32 int _redoes;
33 }
34
35 // ACCESSORS
36 - (TCVariableType)variableType;
37 - (void)setVariableType:(TCVariableType)varType;
38
39 - (TCIntegerSign)integerSign;
40 - (void)setIntegerSign:(TCIntegerSign)sign;
41
42 - (TCSearchOperator)searchOperator;
43 - (void)setSearchOperator:(TCSearchOperator)op;
44
45 - (TCSearchType)valueUsed;
46 - (void)setValueUsed:(TCSearchType)value;
47
48 - (Variable *)searchValue;
49 - (void)setSearchValue:(Variable *)value;
50
51 - (unsigned)numberOfResults;
52 - (TCArray)addresses;
53 - (void)setAddresses:(TCArray)addresses;
54 - (TCArray)values;
55 - (void)setValues:(TCArray)values;
56 - (void)setValue:(Variable *)value atIndex:(unsigned)index;
57 - (BOOL)valuesLoaded;
58 - (Variable *)variableAtIndex:(unsigned)index;
59 - (NSString *)stringForRow:(unsigned)rowIndex;
60
61 - (BOOL)hasSearchedOnce;
62
63 - (int)undoesLeft;
64 - (int)redoesLeft;
65 - (void)didAddResults;
66 - (void)didUndo;
67 - (void)didRedo;
68
69 // this is convenient
70 - (BOOL)isTypeInteger;
71
72 // ACTIONS
73 - (void)clearResults;
74
75
76 @end
This page took 0.033937 seconds and 5 git commands to generate.