/usr/include/mash/CommandList.h is in libmash-dev 2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | // Copyright © 2015, Battelle National Biodefense Institute (BNBI);
// all rights reserved. Authored by: Brian Ondov, Todd Treangen,
// Sergey Koren, and Adam Phillippy
//
// See the LICENSE.txt file included with this software for license information.
#ifndef INCLUDED_CommandList
#define INCLUDED_CommandList
#include <map>
#include "Command.h"
namespace mash {
class CommandList
{
std::map<std::string, Command *> commands;
public:
CommandList(std::string nameNew);
~CommandList();
void addCommand(Command * command);
void print();
int run(int argc, const char ** argv);
private:
void showLicense();
std::string name;
};
} // namespace mash
#endif
|