]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/SamSequenceDictionary.h
MultiReader (&MultiMerger) now using Algorithms::Sort objects
[bamtools.git] / src / api / SamSequenceDictionary.h
index fca8b2257d7f59780f677b3092f74ce6d0f96f54..d488e14e3e8752c53464bfdb87e694770d4493e4 100644 (file)
@@ -3,7 +3,7 @@
 // Marth Lab, Department of Biology, Boston College
 // All rights reserved.
 // ---------------------------------------------------------------------------
-// Last modified: 20 March 2011
+// Last modified: 1 October 2011
 // ---------------------------------------------------------------------------
 // Provides methods for operating on a collection of SamSequence entries.
 // ***************************************************************************
@@ -38,6 +38,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 +77,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 +86,5 @@ class API_EXPORT SamSequenceDictionary {
 
 } // namespace BamTools
 
-#endif // SAM_SEQUENCE_DICTIONARY 
+#endif // SAM_SEQUENCE_DICTIONARY_H