]> git.donarmstrong.com Git - mothur.git/blob - validcommands.h
19554979d087cf82dc25027e0e441b883424e305
[mothur.git] / validcommands.h
1 #ifndef VALIDCOMMANDS_H
2 #define VALIDCOMMANDS_H
3
4 /*
5  *  validcommands.h
6  *  Dotur
7  *
8  *  Created by Sarah Westcott on 1/5/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12 using namespace std;
13
14 #include <string>
15 #include <iostream>
16 #include <map>
17
18 //This class contains a list of all valid commands in Mothur.  
19 //It has a function which will tell you if your command is valid.
20 //When adding a new command you must add it to the valid list in the class constructor.
21
22 class ValidCommands {
23
24         public:
25                 ValidCommands();
26                 ~ValidCommands();
27                 bool isValidCommand(string);
28         private:
29                 map<string, string> commands;
30
31 };
32
33 #endif