]> git.donarmstrong.com Git - mothur.git/blob - validcommands.h
merged pat's trim seqs edits with sarah's major overhaul of global data; also added...
[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
13 #include "mothur.h"
14
15 //This class contains a list of all valid commands in Mothur.  
16 //It has a function which will tell you if your command is valid.
17 //When adding a new command you must add it to the valid list in the class constructor.
18
19 class ValidCommands {
20
21         public:
22                 ValidCommands();
23                 ~ValidCommands();
24                 bool isValidCommand(string);
25                 void printCommands(ostream&);
26         private:
27                 map<string, string> commands;
28                 map<string, string>::iterator it;
29
30 };
31
32 #endif