]> git.donarmstrong.com Git - mothur.git/blob - mergefilecommand.h
added pipeline commands which involved change to command factory and command class...
[mothur.git] / mergefilecommand.h
1 #ifndef MERGEFILECOMMAND_H
2 #define MERGEFILECOMMAND_H
3
4 /*
5  *  mergefilecommand.h
6  *  Mothur
7  *
8  *  Created by Pat Schloss on 6/14/09.
9  *  Copyright 2009 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14 #include "command.hpp"
15
16 class MergeFileCommand : public Command {
17 public:
18         MergeFileCommand(string);
19         MergeFileCommand();
20         ~MergeFileCommand();
21         vector<string> getRequiredParameters();
22         vector<string> getValidParameters();
23         vector<string> getRequiredFiles();
24         map<string, vector<string> > getOutputFiles() { return outputTypes; }
25         int execute();
26         void help();    
27
28 private:
29         vector<string> fileNames, outputNames;
30         map<string, vector<string> > outputTypes;
31         string outputFileName;
32         int numInputFiles;
33         bool abort;
34 };
35
36 #endif