]> git.donarmstrong.com Git - mothur.git/blob - command.hpp
3e655abb19ed35729792e3f5783f119095c6fc61
[mothur.git] / command.hpp
1 #ifndef COMMAND_HPP
2 #define COMMAND_HPP
3
4 /*
5  *  command.h
6  *  
7  *
8  *  Created by Pat Schloss on 10/23/08.
9  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13 /*This class is a parent to all the command classes.  It has one pure int execute(). */
14
15
16 #include "mothur.h"
17 #include "optionparser.h"
18 #include "validparameter.h"
19
20 class Command {
21         public:
22                 virtual int execute() = 0;
23                 virtual void help() = 0;
24 };
25
26 #endif