// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ---------------------------------------------------------------------------
-// Last modified: 10 October 2011 (DB)
+// Last modified: 4 April 2012 (DB)
// ---------------------------------------------------------------------------
// Provides sorting functionality.
// ***************************************************************************
#ifndef ALGORITHMS_SORT_H
#define ALGORITHMS_SORT_H
-#include <api/api_global.h>
-#include <api/BamAlignment.h>
-#include <api/BamReader.h>
-#include <api/BamMultiReader.h>
+#include "api/api_global.h"
+#include "api/BamAlignment.h"
+#include "api/BamReader.h"
+#include "api/BamMultiReader.h"
#include <cassert>
#include <algorithm>
#include <functional>
// data members
private:
- const Sort::Order& m_order;
+ const Sort::Order m_order;
};
/*! \struct BamTools::Algorithms::Sort::ByPosition
// data members
private:
- Sort::Order m_order;
+ const Sort::Order m_order;
};
/*! \struct BamTools::Algorithms::Sort::ByTag
// data members
private:
- std::string m_tag;
- Sort::Order m_order;
+ const std::string m_tag;
+ const Sort::Order m_order;
};
/*! \struct BamTools::Algorithms::Sort::Unsorted