X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FBamAlgorithms.h;h=61094123a734b527f709a6c7ea62e012b7330e93;hb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;hp=c62e68e57c24efb281999588ed89f152d41014be;hpb=038f0e1dda24b2d6765cc8c878b7dbdc5f922ed6;p=bamtools.git diff --git a/src/api/BamAlgorithms.h b/src/api/BamAlgorithms.h index c62e68e..6109412 100644 --- a/src/api/BamAlgorithms.h +++ b/src/api/BamAlgorithms.h @@ -3,7 +3,7 @@ // Marth Lab, Department of Biology, Boston College // All rights reserved. // --------------------------------------------------------------------------- -// Last modified: 29 September 2011 (DB) +// Last modified: 10 October 2011 (DB) // --------------------------------------------------------------------------- // Provides generic algorithms that are intended to work with BamTools data // structures. Where possible, these are intended to be STL-compatible. @@ -12,133 +12,10 @@ #ifndef BAMALGORITHMS_H #define BAMALGORITHMS_H -#include -#include -#include -#include -#include -#include -#include -#include +#include "api/algorithms/Sort.h" -namespace BamTools { -namespace Algorithms { - -// ------------------------------------------------------- -// Built-in function objects for comparing BamAlignments - -typedef std::binary_function BamAlignmentComparer; - -// Algorithms::SortByName -// compare alignments by name (default comparison is std::less ) -template