// 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.
// ***************************************************************************
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);
// internal methods
private:
- int IndexOf(const SamSequence& sequence) const;
int IndexOf(const std::string& name) const;
// data members
} // namespace BamTools
-#endif // SAM_SEQUENCE_DICTIONARY
+#endif // SAM_SEQUENCE_DICTIONARY_H