]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/SamSequenceDictionary.h
Cleanup missed by earlier "includes cleanup" commit
[bamtools.git] / src / api / SamSequenceDictionary.h
index fca8b2257d7f59780f677b3092f74ce6d0f96f54..481e1ac1dc1205452e93a04920dd2b92392e30a8 100644 (file)
@@ -1,9 +1,8 @@
 // ***************************************************************************
 // SamSequenceDictionary.h (c) 2010 Derek Barnett
 // Marth Lab, Department of Biology, Boston College
-// All rights reserved.
 // ---------------------------------------------------------------------------
-// Last modified: 20 March 2011
+// Last modified: 10 October 2011
 // ---------------------------------------------------------------------------
 // Provides methods for operating on a collection of SamSequence entries.
 // ***************************************************************************
@@ -11,8 +10,8 @@
 #ifndef SAM_SEQUENCE_DICTIONARY_H
 #define SAM_SEQUENCE_DICTIONARY_H
 
-#include <api/api_global.h>
-#include <api/SamSequence.h>
+#include "api/api_global.h"
+#include "api/SamSequence.h""
 #include <string>
 #include <map>
 #include <vector>
@@ -38,6 +37,7 @@ class API_EXPORT SamSequenceDictionary {
         void Add(const std::string& name, const int& length);
 
         // adds multiple sequences
+        void Add(const SamSequenceDictionary& sequences);
         void Add(const std::vector<SamSequence>& sequences);
         void Add(const std::map<std::string, int>& sequenceMap);
 
@@ -76,7 +76,6 @@ class API_EXPORT SamSequenceDictionary {
 
     // internal methods
     private:
-        int IndexOf(const SamSequence& sequence) const;
         int IndexOf(const std::string& name) const;
 
     // data members
@@ -86,5 +85,5 @@ class API_EXPORT SamSequenceDictionary {
 
 } // namespace BamTools
 
-#endif // SAM_SEQUENCE_DICTIONARY 
+#endif // SAM_SEQUENCE_DICTIONARY_H