]> git.donarmstrong.com Git - mothur.git/blob - commandfactory.hpp
modified sequence class to read fasta files with comments. this required modification...
[mothur.git] / commandfactory.hpp
1 #ifndef COMMANDFACTORY_HPP
2 #define COMMANDFACTORY_HPP
3
4 /*
5  *  commandfactory.h
6  *  
7  *
8  *  Created by Pat Schloss on 10/25/08.
9  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14
15 class Command;
16
17 class CommandFactory {
18 public:
19         CommandFactory();
20         ~CommandFactory();
21         Command* getCommand(string, string);
22         Command* getCommand();
23         bool isValidCommand(string);
24         void printCommands(ostream&);
25
26 private:
27         Command* command;
28         map<string, string> commands;
29         map<string, string>::iterator it;
30
31         
32
33 };
34
35 #endif