]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.hpp
moved mothur's source into a folder to make grabbing just the source easier on github
[mothur.git] / engine.hpp
diff --git a/engine.hpp b/engine.hpp
deleted file mode 100644 (file)
index 5311da9..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#ifndef ENGINE_HPP
-#define ENGINE_HPP
-
-/*
- *  engine.hpp
- *  
- *
- *  Created by Pat Schloss on 8/15/08.
- *  Copyright 2008 Patrick D. Schloss. All rights reserved.
- *
- */
-
-
-#include "mothur.h"
-#include "commandoptionparser.hpp"
-#include "command.hpp"
-#include "commandfactory.hpp"
-#include "mothurout.h"
-
-class Engine {
-public:
-       Engine(); 
-       virtual ~Engine(){}
-       virtual bool getInput() = 0;
-       virtual string getCommand();
-       virtual string getOutputDir()                   {       return cFactory->getOutputDir();        }
-       virtual string getLogFileName()                 {       return cFactory->getLogfileName();      }
-       virtual bool getAppend()                                {       return cFactory->getAppend();           }
-
-       vector<string> getOptions()             {       return options;         }
-protected:
-       vector<string> options;
-       CommandFactory* cFactory;
-       MothurOut* mout;
-       string findMothursPath();
-};
-
-
-
-class BatchEngine : public Engine {
-public:
-       BatchEngine(string, string);
-       ~BatchEngine();
-       virtual bool getInput();
-       int openedBatch;
-private:
-       ifstream inputBatchFile;
-       string getNextCommand(ifstream&);
-
-};
-
-
-
-class InteractEngine : public Engine {
-public:
-       InteractEngine(string);
-       ~InteractEngine();
-       virtual bool getInput();
-private:
-       
-};
-
-
-class ScriptEngine : public Engine {
-public:
-       ScriptEngine(string, string);
-       ~ScriptEngine();
-       virtual bool getInput();
-       int openedBatch;
-private:
-       string listOfCommands;
-       string getNextCommand(string&);
-
-};
-
-
-#endif