File: myProject.bk

package info (click to toggle)
gtamsanalyzer.app 0.42-6
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 6,112 kB
  • ctags: 866
  • sloc: objc: 34,338; ansic: 8,762; cpp: 384; makefile: 59; sh: 47
file content (782 lines) | stat: -rwxr-xr-x 18,219 bytes parent folder | download | duplicates (7)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
//
//  myProject.m
//  TA2 hot
//
//  Created by matthew on Sat Apr 05 2003.
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
//
#import "MWFile.h"
#import "myProject.h"
#import "MyDocument.h"
#import "tams.h"
#import "utils.h"
#import "myResults.h"
//#import "ctReadChar.h"
#import "tableBrowser.h"
#import "prefBoss.h"
#import "TAMSCharEngine.h"


int menuStringComp(id first, id second, void *key)
{
    return [first caseInsensitiveCompare: second];
}

int aStringComp(id first, id second, void *key)
{
    return [(NSString *) first compare: second];
}

@implementation myProject



- (NSString *)windowNibName
{
    // Override returning the nib file name of the document
    // If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead.
    return @"myProject";
}



- (NSData *)dataRepresentationOfType:(NSString *)aType
{
    NSMutableArray *masterArray = [NSMutableArray array];
    // Insert code here to write your document from the given data.  You can also choose to override -fileWrapperRepresentationOfType: or -writeToFile:ofType: instead.
    //make an array
    //add to it a version #
    [masterArray addObject: @"3"];
    //add to it the search file list
    [masterArray addObject: openFiles];
    //add to it the init file
    [masterArray addObject: [initFile path]];
    //add to it the code dictionary
    [masterArray addObject: codeList];
    //serialize it
    return [NSArchiver archivedDataWithRootObject: masterArray];
}

- (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)aType
{
    // Insert code here to read your document from the given data.  You can also choose to override -loadFileWrapperRepresentation:ofType: or -readFromFile:ofType: instead.
    NSMutableArray * masterArray;
    masterArray = [NSUnarchiver unarchiveObjectWithData: data];
    [openFiles addObjectsFromArray: [masterArray objectAtIndex: 1]];
    initFile = [[MWFile alloc] initWithPath: [masterArray objectAtIndex: 2]];
    [codeList addEntriesFromDictionary: [masterArray objectAtIndex: 3]];
    return YES;
}

-(id) init
{
    [super init];
    
    //globals
    
    //multiFileFlag = 0;
    uniqueNumber = 0;
    openFiles = [[NSMutableArray alloc] init];
    searchFiles = [[NSMutableArray alloc] init];
    codeList = [[NSMutableDictionary alloc] init];
    
    //locals
    return self;
}

- (void) shoveWindow
{
    int row;
    
    row = [fileListView selectedRow];
    if([(MWFile *)[openFiles objectAtIndex: row] open] == YES)
    {
        [[[openFiles objectAtIndex: row] filePointer] moveForward];
        //[[openFiles objectAtIndex: row] moveForward];
    }
    else
    {
        id myfile = [[NSDocumentController sharedDocumentController] 
            openDocumentWithContentsOfFile:[[openFiles objectAtIndex: row] path] display:YES];
        [[openFiles objectAtIndex: row] setOpenFile: myfile];
        [myfile setMWFile: [openFiles objectAtIndex: row]];
        [myfile setGWorkBench: self];
        [myfile retain];
    }

}
-(void) openMWFile: (MWFile *) who
{
        id myfile = [[NSDocumentController sharedDocumentController] 
            openDocumentWithContentsOfFile:[who path] display:YES];
        [who setOpenFile: myfile];
        [myfile setMWFile: who];
        [myfile setGWorkBench: self];
        [myfile retain];

}

-(BOOL) mwFileExists: (MWFile *) who
{
    FORALL(openFiles)
    {
        if(who == temp) return YES;
    }
    ENDFORALL;
    return NO;
}
- (void)windowControllerDidLoadNib:(NSWindowController *) aController
{

    [codeListView setTarget: self];
    [codeListView setDoubleAction: @selector(displaySelData)];
    [fileListView setTarget: self];
    [fileListView setDoubleAction: @selector(shoveWindow)];

}
- (void)windowDidLoad
{
}
- (id)initWithWindowNibName:(NSString *)windowNibName
{
    [super init];
     //globals
    //multiFileFlag = 0;
    //gSearchList = [[NSMutableArray alloc] init];
    openFiles = [[NSMutableArray alloc] init];
    searchFiles = [[NSMutableArray alloc] init];
    
    //locals
    return self;
}
 
-(int) emptyF{ return emptyF;}
-(int) exactF {return exactF;}
-(int) rawF {return rawF;}
-(int) simpleF {return simpleF;}

-(MWFile *) getMWFile
{
    int row;
    row = [fileListView selectedRow];
    return [openFiles objectAtIndex: row];
}

-(MWFile *) searchFileName
{
    int row;
    row = [searchListView selectedRow];
    return [searchFiles objectAtIndex: row];
}

/*
-(void) registerWindow: (MyDocument *) who
{
    [openFiles addObject: who];
    [fileListView reloadData];
}
*/

- (void) unregisterWindow: (MyDocument *) who
{
#ifdef TAVER1
    [searchFiles removeObject: who];
    [openFiles removeObject: who];
    if(who == codeSource) 
    {
	gCentralCodeFile = codeSource = nil;
	[codeSourceView setStringValue: @""];
	[codeSourceBox setState: NSOffState];
	/* ideally this too, but could be too slow...
	FORALL(openFiles)
	{
	    [temp updateCodeWindow];
	}
	ENDFORALL;
	*/
	//the alternative
	FORALL(openFiles)
	{
	    [temp zapCodeWindow];
	}
	ENDFORALL;
	
    }
    [fileListView reloadData];
    [searchListView reloadData];
#endif
    FORALL(openFiles)
    {
        if(who == [temp filePointer])
        {
            [temp setPath: [who fileName]];
            [temp setOpenFile: nil];
        }
    }
    ENDFORALL;

}

//may need to change
- (BOOL) isInitFile: (MWFile *) who
{
    if(who == initFile) return YES;
    else return NO;
}

-(NSString *) uniqueString;
{
	return [NSString stringWithFormat: @"TAMSSTRING %d", uniqueNumber++];
}
- (NSMutableArray *) fileList
{
    return openFiles;
}
- (NSMutableArray *) searchList
{
    return searchFiles;
}
- (void) newCode: (NSString *) what definition: (NSString *) info
{
    NSMutableDictionary *myEntry;
    NSMutableString *myDef = [[NSMutableString alloc] init];
    
    myEntry = [codeList objectForKey: what];
    if(myEntry)
    {
        [myDef setString: [myEntry objectForKey: @"definition"]];
        [myDef appendString: @" "];
        [myDef appendString: info];
        [myEntry setObject: myDef forKey: what];
    }
    else
    {
        myEntry = [[NSMutableDictionary alloc] init];
        [myDef setString: info];
        [myEntry setObject: myDef forKey: @"definition"];
        [myEntry setObject: @"YES" forKey: @"active"];
        [codeList setObject: myEntry forKey: what];
    }
        
/*        
    
#ifdef TAVER1    
    NSMutableString *s = [[NSMutableString alloc] init];
     if(!gCentralCodeFile) return;
   //make a proper code out of it
    [s appendString: @"{"];
    [s appendString: what];
    [s appendString: @"}"];
    if([gPrefBoss dateTimeValue])
    {
	[s appendString: [[NSDate date] description]];
	if(info)
	    if([info length])
		[s appendString: @": "];
    }
    if(info)
	[s appendString: info];
    [s appendString: @"{/"];
    [s appendString: what];
    [s appendString: @"}"];
    [s ADDCHAR('\n')];
    
    //send it to the current
    [gCentralCodeFile appendString: s];
    //update the masses
    [gCentralCodeFile refreshCodeList: self];
    FORALL(openFiles)
    {
	[temp updateCodeWindow];
    }
    ENDFORALL;
#endif */
}

/*
- (IBAction)centralCode:(id)sender
{
    if([sender state] == NSOffState)
    {
	gCentralCodeFile = nil;
    }
    else
    {
	if(codeSource)
	    gCentralCodeFile = codeSource;
	else
	    [sender setState: NSOffState];
    }
}
*/

- (IBAction)clearSearch:(id)sender
{
    [searchStringView setStringValue: @""];
}

- (IBAction)doAdd:(id)sender
{
    //don't add the init file
    if([self isInitFile: [self getMWFile]] == YES) return;
   [searchFiles addObject: [self getMWFile]]; 
   [searchListView reloadData];
}

- (IBAction)doAddAll:(id)sender
{
    [self doRemoveAll: self];
    [searchFiles addObjectsFromArray: openFiles];
    if(initFile)
    {
	[searchFiles removeObject: initFile];
    }
#ifdef TAVER1
    if(gCentralCodeFile)
    {
	[searchFiles removeObject: gCentralCodeFile];
    }
#endif

   [searchListView reloadData];
}

- (IBAction)doRefresh:(id)sender
{
}

- (IBAction)doRemove:(id)sender
{
    [searchFiles removeObject: [self searchFileName]];
    [searchListView reloadData];
}

- (IBAction)doRemoveAll:(id)sender
{
    [searchFiles removeAllObjects];
    [searchListView reloadData];
}
- (IBAction) setInitFile: (id) sender
{
    MWFile *who;
    who = [self getMWFile];
    if (initFile == who)
    {
	[initFileName setStringValue: @""];
	initFile = nil;
    }
    else
    {
	initFile = who;
	[initFileName setStringValue: [who name]];
	[searchFiles removeObject: who];
	[searchListView reloadData];
    }

}

-(NSMutableString *) getDefinition: (NSString *) what
{
    NSMutableDictionary *myWord;
    
    myWord = [codeList objectForKey: what];
    if(myWord)
        return [myWord objectForKey: @"definition"];
    else
        return [NSMutableString string];

#ifdef TAVER1
           ctQChar *q;
      NSMutableString *ss;
      int inZoneFlag;
    TAMSCharEngine *tce = [[TAMSCharEngine alloc] initWithFileAndStart: gCentralCodeFile];
   if(!gCentralCodeFile) return nil;
   q = [[ctQChar alloc] init];
    [q retain];
    
    //gCurrentDataSource = gCentralCodeFile;
    //clearSearchList();
    //addFileToSearchList(gCentralCodeFile);
    //startSearch();
    inZoneFlag = 0;
    ss = [[NSMutableString alloc] init];
    while([tce readnext: q] != EOF)
    {
	if([q tokentype] == TOKEN)
	{
	    if([[q buff] isEqualToString: what] == YES)
	    {
		inZoneFlag = 1;
	    }
	}
	if([q tokentype] == CHAR && inZoneFlag)
	{
	    [ss appendString: [q buff]];
	}
	if([q tokentype] == ENDTOKEN)
	{
	    if([[q buff] isEqualToString: what] == YES)
	    {
		inZoneFlag = 0;
		[ss ADDCHAR('\n')];
	    }
	}
    }
    [ss autorelease];
    [tce release];
    return ss;
#endif
}

-(IBAction) generateCount: (id) Sender
{
    NSMutableArray *hc;
     NSMutableArray *sl;
   tableBrowser *mt;
    TAMSCharEngine *tce;
#ifdef TAVER1
    if(!gCentralCodeFile)
    {
	NSWARNING(@"You need to establish a central code file.");
	return;
    }
#endif
    sl = [[NSMutableArray alloc] init];
   // [gCentralCodeFile refreshCodeList: nil];
   // gCurrentDataSource = self;
    hc = [NSMutableArray arrayWithArray: [self hotCodeList]];
     //is there anyone to search?
    if(initFile) [sl addObject: initFile];
    [sl addObjectsFromArray: searchFiles];
    if([sl count] == 0) return;
    tce = [[TAMSCharEngine alloc] initWithArrayAndStart: searchFiles];
    //make me the current data source
    mt = [[tableBrowser alloc] init];
    [mt setCharEngine: tce];
    [mt setHotCodeList: hc];
    [mt setDataType: @"count"];
    [NSBundle loadNibNamed: @"FreqCount" owner: mt];
    [mt windowControllerDidLoadNib: nil];

    [[mt window] makeKeyAndOrderFront: self];
    
}
-(IBAction) generateCrossReference: (id) Sender
{
    NSMutableArray *hc;
    tableBrowser *mt;
    NSMutableArray *sl;
     TAMSCharEngine *tce;
    sl = [[NSMutableArray alloc] init];
      
   // gCurrentDataSource = self;
    hc = [NSMutableArray arrayWithArray: [self hotCodeList]];
    //is there anyone to search?
    if(initFile) [sl addObject: initFile];
    [sl addObjectsFromArray: searchFiles];
    if([sl count] == 0) return;
    
    //make me the current data source
    tce = [[TAMSCharEngine alloc] initWithArrayAndStart: sl];

    [tce setGCurrentDataSource: self];
     mt = [[tableBrowser alloc] init];
     [mt setCharEngine: tce];
    [mt setHotCodeList: hc];
    [mt setDataType: @"xref"];
    [NSBundle loadNibNamed: @"FreqCount" owner: mt];
    [mt windowControllerDidLoadNib: nil];

    [[mt window] makeKeyAndOrderFront: self];
    
}

- (IBAction)doSearch:(id)sender
{
    myResults *aa;
    NSDocumentController *who;
    NSMutableArray *sl;
    NSMutableString *myLimStr = [[NSMutableString alloc] init];
     TAMSCharEngine   *tce;
     
    sl = [[NSMutableArray alloc] init];
    
    //set the flags
    if([rawButton state] == NSOnState) rawF = 1; else rawF = 0;
    if([exactButton state] == NSOnState) exactF = 1; else exactF = 0;
    if([emptyButton state] == NSOnState) emptyF = 1; else emptyF = 0;
    if([simpleButton state] == NSOnState)
    {
	int i,ln;
	int sflg;
	char c;
	
	sflg = 1;
	[myLimStr setString: [searchStringView stringValue]];
	trimNSS(myLimStr);
	if([myLimStr isEqualToString: @""])
	    sflg = 1;
	else
	{
	    ln = [myLimStr length];
	    for(i = 0; i < ln; i++)
	    {
		c = [myLimStr characterAtIndex: i];
		//if(c == '*' || c == '+' || c == ',')
		if( c == '+')// || c == ',')
		{
		    sflg = 0;
		    break;
		}
	    }
	    simpleF = sflg;
	    if(simpleF)
		[simpleButton setState: NSOnState];
	    else
		[simpleButton setState: NSOffState];
	}
    }
    else
    {
	simpleF = 0;
	[myLimStr setString: [searchStringView stringValue]];
	trimNSS(myLimStr);
	if([myLimStr isEqualToString: @""])
	    simpleF = 1;
	if(simpleF)
	    [simpleButton setState: NSOnState];
	else
	    [simpleButton setState: NSOffState];
    }
  [myLimStr release];
    
    //is there anyone to search?
    if(initFile) [sl addObject: initFile];
    [sl addObjectsFromArray: searchFiles];
    if([searchFiles count] == 0) 
    {
	NSWARNING(@"Search list is empty");
	return;
    }
    
    //make me the current data source
    tce = [[TAMSCharEngine alloc] initWithArrayAndStart: sl];
    [tce setGCurrentDataSource: self];
 
    //find the controller
    who = [NSDocumentController sharedDocumentController];
    //make the window
    [who setShouldCreateUI: YES];
    //ans = [[myResults alloc] init];
    //[who addDocument: ans];
    aa = [who openUntitledDocumentOfType: @"ViewType" display: YES];
    [aa setGWorkBench: self];
    [aa setCharEngine: tce];
    [aa executeTAMS];
    [aa retain];

}
- (BOOL) fileExists: (NSString *) who
{
    FORALL(openFiles)
    {
        if([who isEqualToString: [temp path]]) return YES;
    }
    ENDFORALL;
    return NO;
    
#ifdef TAVER1
    if([openFiles indexOfObject: who] == NSNotFound)
	return NO;
    else
	return YES;
#endif
}

- (IBAction)myAction:(id)sender
{
}

-(void) back
{
    [myWindow orderBack: self];
}
-(void) front
{
    [myWindow makeKeyAndOrderFront: self];
}
#ifdef TAVER1
- (IBAction)setCodeSource:(id)sender
{
   codeSource =  gCentralCodeFile =[self fileName];
   [codeSourceView setStringValue: [gCentralCodeFile getTitle]];
    [codeSourceBox setState: NSOnState];
//   [gCentralCodeFile remakeCodeList];
   FORALL(openFiles)
   {
	[temp updateCodeWindow];
    }
    ENDFORALL;
    
}
-(void) setCodeSourceWithName: (NSString *) name
{
    int i, cnt;
    FORALL(openFiles)
    {
	if([name isEqualToString: [temp fileName]] == YES)
	{
	    codeSource = gCentralCodeFile = temp;
	    [codeSourceView setStringValue: [gCentralCodeFile getTitle]];
	    [codeSourceBox setState: NSOnState];
	    cnt = [openFiles count];
	    for(i = 0; i < cnt; i++)
	    {
		[[openFiles objectAtIndex: i] updateCodeWindow];
	    }
	    return;
	}
    }
    ENDFORALL;
}
#endif

- (IBAction) setInitFileWithName: (NSString *) fname
{
    FORALL(openFiles)
    {
	if([fname isEqualToString: [temp fileName]] == YES)
	{
	    if(temp == initFile)
	    {
		[initFileName setStringValue: @""];
		initFile = nil;
		return;
	    }
	    initFile = temp;
	    [initFileName setStringValue: [temp getTitle]];
	    [searchFiles removeObject: temp];
	    [searchListView reloadData];
	    return;
	}
    }
    ENDFORALL;

}
/*
	    
- (MyDocument *) codeSource
{
    return codeSource;
}
*/
-(NSString *) theLimitString
{
    return [searchStringView stringValue];
}
-(void) displaySelData
{
    int row;
    NSMutableString *ss, *tt;
    
    ss = [[NSMutableString alloc] init];
    tt = [[NSMutableString alloc] init];
    [ss setString: [searchStringView stringValue]];
    row = [codeListView selectedRow];
    
    [tt setString: [[self hotCodeList] objectAtIndex: row]];
    
    [ss appendString: tt];
    [searchStringView setStringValue: ss];
}

-(NSArray *) hotCodeList
{
    NSMutableArray *hc;
    hc = [NSMutableArray arrayWithArray: [codeList allKeys]];
    [hc sortUsingFunction: aStringComp context: nil];
    [hc autorelease];
    return hc;
}

-(NSArray *) getHotCodeList
{
    NSMutableArray *hc;
    hc = [NSMutableArray arrayWithArray: [codeList allKeys]];
    [hc sortUsingFunction: aStringComp context: nil];
    [hc autorelease];
    return hc;
#ifdef TAVER1
    if(gCentralCodeFile)
    {
	//[gCentralCodeFile setData];
	//[self setData];
	[gCentralCodeFile remakeCodeList];
	return [gCentralCodeFile hotCodeList];
    }
    else
    {
	return nil;
    }
#endif

}


-(NSString *) theWindowName
{
    return [windowNameView stringValue];
}

- (void)windowWillClose:(NSNotification *)aNotification
{
    /* need to do some serious workhere with notifying the other windows */
    //gCentralCodeFile = nil;
    //gWorkBench = nil;

}
- (void)windowDidUpdate:(NSNotification *)aNotification
{
    [fileListView reloadData];
    [codeListView reloadData];
    [searchListView reloadData];
    [codeListView setTarget: self];
    [codeListView setDoubleAction: @selector(displaySelData)];
    [fileListView setTarget: self];
    [fileListView setDoubleAction: @selector(shoveWindow)];
    [[NSApplication sharedApplication] addWindowsItem: myWindow title: @"*Work Bench" filename: NO];

}
-(NSString *) codersList
{
    return [coderIDView stringValue];
}

- (void) openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void  *)contextInfo
{
    NSArray *theFiles;
    int i, n;
    
    if(returnCode)
    {
        theFiles = [[NSOpenPanel openPanel] filenames];
        n = [theFiles count];
        for(i = 0; i < n; i++)
        {
            [openFiles addObject: [[MWFile alloc] initWithPath: [theFiles objectAtIndex: i]]];
        }
    }
}

-(IBAction) addFileToProj: (id) Sender
{
    [[NSOpenPanel openPanel] setAllowsMultipleSelection: YES];

    [[NSOpenPanel openPanel] beginSheetForDirectory: nil file: nil types:
        [NSArray arrayWithObjects: @"txt", @"rtf", @"RTF", @"TXT", nil]
        modalForWindow: myWindow modalDelegate:self 	didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:) 
        contextInfo: nil];


}
@end