X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=nocommands.h;fp=nocommands.h;h=5ed7e127d09ce645aa11cd43dd2192a1155b42dc;hp=0000000000000000000000000000000000000000;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a diff --git a/nocommands.h b/nocommands.h new file mode 100644 index 0000000..5ed7e12 --- /dev/null +++ b/nocommands.h @@ -0,0 +1,41 @@ +#ifndef NOCOMMAND_H +#define NOCOMMAND_H +/* + * nocommand.h + * Dotur + * + * Created by Sarah Westcott on 1/2/09. + * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. + * + */ + +/* This command is run if the user enters an invalid command. */ + +#include "command.hpp" +#include "commandfactory.hpp" + +class NoCommand : public Command { + +public: + NoCommand(string); + NoCommand() {} + ~NoCommand(){} + + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "NoCommand"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "No Command"; } + string getCitation() { return "no citation"; } + string getDescription() { return "no description"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + + +private: + vector outputNames; + +}; + +#endif