// ***************************************************************************
// 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.
// ***************************************************************************
#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>
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