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