1 // ***************************************************************************
2 // bamtools_tool.h (c) 2010 Derek Barnett, Erik Garrison
3 // Marth Lab, Department of Biology, Boston College
4 // All rights reserved.
5 // ---------------------------------------------------------------------------
6 // Last modified: 2 June 2010
7 // ---------------------------------------------------------------------------
8 // Base class for all other BamTools sub-tools
9 // All derived classes must provide Help() and Run() methods
10 // ***************************************************************************
12 #ifndef BAMTOOLS_ABSTRACTTOOL_H
13 #define BAMTOOLS_ABSTRACTTOOL_H
22 AbstractTool(void) { }
23 virtual ~AbstractTool(void) { }
26 virtual int Help(void) =0;
27 virtual int Run(int argc, char* argv[]) =0;
30 } // namespace BamTools
32 #endif // BAMTOOLS_ABSTRACTTOOL_H