]> git.donarmstrong.com Git - mothur.git/blobdiff - database.cpp
Revert to previous commit
[mothur.git] / database.cpp
diff --git a/database.cpp b/database.cpp
new file mode 100644 (file)
index 0000000..f587f42
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ *  database.cpp
+ *  
+ *
+ *  Created by Pat Schloss on 12/16/08.
+ *  Copyright 2008 Patrick D. Schloss. All rights reserved.
+ *
+ */
+
+#include "mothur.h"
+#include "sequence.hpp"
+#include "database.hpp"
+
+/**************************************************************************************************/
+
+Database::Database(){          
+       longest = 0;
+       numSeqs = 0;
+       m = MothurOut::getInstance();
+}
+/**************************************************************************************************/
+
+Database::~Database(){}
+
+/**************************************************************************************************/
+
+float Database::getSearchScore()       {       return searchScore;             }       //      we're assuming that the search is already done
+
+
+/**************************************************************************************************/
+
+int Database::getLongestBase() {       return longest+1;               }       
+
+/**************************************************************************************************/