File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / SQLExecutor / Evaluator.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:42 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3


#import <appkit/appkit.h>
#import <foundation/NSString.h>
#import <foundation/NSArray.h>
#import <foundation/NSDictionary.h>
#import <foundation/NSObject.h>
#import <eoaccess/eoaccess.h>

#import "SybaseDelegate.h"

@interface Evaluator:Object
{
    id queryView;
    id resultsView;
		
	SybaseDelegate  *sybaseDelegate;
	
	NSDictionary *columnNamesDict;
	NSMutableArray *recordsArray;
	NSArray *attributes;
    EOModel *model;
	EOAdaptor  *adaptor;
    EOAdaptorContext *context;
    EOAdaptorChannel *channel;
}

- initWithModelFile:(NSString *)filePath;

- evaluate:sender; 
- readDataFromDict:(NSDictionary *) rowsDict;
- clear:sender;
- buildColumnNamesDictionary:(NSArray *)attributesArray;
- (void) announce:sender selector:(SEL)selector;
- (void) announce:sender selector:(SEL)selector with:array;
- (void) logString:(NSString *) aString;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.