X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;h=22f118164eb04e7d22c0438e3e42c56b79ed0f3d;hb=e0ce7cbc93d7d2fbb753ca694182db092a0ea0e7;hp=fd80ad1e9fc786fece31e00525476c453c6c2344;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/command.hpp b/command.hpp index fd80ad1..22f1181 100644 --- a/command.hpp +++ b/command.hpp @@ -1,6 +1,6 @@ #ifndef COMMAND_HPP #define COMMAND_HPP - +//test2 /* * command.h * @@ -29,6 +29,8 @@ class Command { virtual string getCommandName() = 0; virtual string getCommandCategory() = 0; virtual string getHelpString() = 0; + virtual string getCitation() = 0; + virtual string getDescription() = 0; virtual map > getOutputFiles() { return outputTypes; } virtual vector setParameters() = 0; //to fill parameters @@ -36,6 +38,7 @@ class Command { virtual int execute() = 0; virtual void help() = 0; + void citation() { m->mothurOutEndLine(); m->mothurOut(getCitation()); m->mothurOutEndLine(); } virtual ~Command() { } protected: