-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathERPFile.h
56 lines (48 loc) · 1.39 KB
/
ERPFile.h
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// ERPFile.h
// MCAT3
//
// Created by Peter Molfese on 7/2/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PMMatrix.h"
#import "MyController.h"
@interface ERPFile : NSOperation
{
NSString *name;
NSString *info;
NSString *inputFile;
NSString *outputFile;
NSMutableArray *categories;
NSMutableArray *categoryNames;
NSDictionary *channelClusters;
NSUInteger type;
NSObject *theController;
NSString *outString;
BOOL isLoaded;
}
@property(readwrite,copy) NSString *name;
@property(readwrite,copy) NSString *info;
@property(readwrite,copy) NSString *inputFile;
@property(readwrite,copy) NSString *outputFile;
@property(readwrite,copy) NSMutableArray *categories;
@property(readwrite,copy) NSMutableArray *categoryNames;
@property(readwrite,copy) NSDictionary *channelClusters;
@property(readwrite) NSUInteger type;
@property(readwrite) BOOL isLoaded;
@property(readwrite) NSObject *theController;
@property(readwrite,assign) NSString *outString;
//read and write functions
-(NSArray *)clusterFile;
-(BOOL)readEGIFile:(NSString *)pathToFile;
-(BOOL)readTextFile:(NSString *)pathToFile;
-(NSString *)returnClustered;
-(NSString *)returnRotated;
-(NSString *)returnFile;
-(BOOL)writeClusterdTextFile:(NSString *)pathToFile;
-(BOOL)writeRotatedTextFile:(NSString *)pathToFile;
-(BOOL)writeTextFile:(NSString *)pathToFile;
-(void)processFile;
-(void)main;
@end