]> git.donarmstrong.com Git - mothur.git/blob - getlistcountcommand.h
added set.dir command and modified commands to redirect input and output, removed...
[mothur.git] / getlistcountcommand.h
1 #ifndef GETLISTCOUNTCOMMAND_H
2 #define GETLISTCOUNTCOMMAND_H
3 /*
4  *  getlistcountcommand.h
5  *  Mothur
6  *
7  *  Created by westcott on 10/12/09.
8  *  Copyright 2009 Schloss Lab. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13 #include "inputdata.h"
14 #include "listvector.hpp"
15 #include "readotu.h"
16
17 class GlobalData;
18
19 /**********************************************************/
20
21 class GetListCountCommand : public Command {
22         
23 public:
24         GetListCountCommand(string);    
25         ~GetListCountCommand();
26         int execute();
27         void help();    
28         
29 private:
30         GlobalData* globaldata;
31         ListVector* list;
32         ReadOTUFile* read;
33         InputData* input;
34         
35         bool abort, allLines;
36         set<string> labels; //holds labels to be used
37         string label, listfile, outputDir;
38         ofstream out;
39         
40         void process(ListVector*);
41 };
42 /**********************************************************/
43
44 #endif