]> git.donarmstrong.com Git - mothur.git/blob - parselistscommand.h
added checks for ^C to quit command instead of program
[mothur.git] / parselistscommand.h
1 #ifndef PARSELISTCOMMAND_H
2 #define PARSELISTCOMMAND_H
3 /*
4  *  parselistcommand.h
5  *  Mothur
6  *
7  *  Created by westcott on 2/24/10.
8  *  Copyright 2010 Schloss Lab. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13 #include "groupmap.h"
14 #include "inputdata.h"
15 #include "listvector.hpp"
16
17 /***************************************************************************************/
18
19 class ParseListCommand : public Command {
20         
21 public:
22         ParseListCommand(string);       
23         ~ParseListCommand();
24         int execute();  
25         void help();
26         
27 private:
28         int parse(ListVector*);
29                 
30         ListVector* list;
31         GroupMap* groupMap;
32         InputData* input;
33         
34         ofstream out;
35         string outputDir, listfile, groupfile, label;
36         set<string> labels;
37         bool abort, allLines;
38         
39         map<string, ofstream*> filehandles;
40         map<string, ofstream*>::iterator it3;
41
42 };
43
44 /***************************************************************************************/
45
46 #endif
47