File: HoleXY.cpp

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,148 kB
  • sloc: cpp: 77,259; python: 331; sh: 103; makefile: 41
file content (12 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#include <pbdata/reads/HoleXY.hpp>

bool HoleXY::operator<(const HoleXY &rhs) const { return *this < rhs.xy; }

bool HoleXY::operator<(const int16_t xyP[2]) const
{
    if (xy[0] == xyP[0]) {
        return xy[1] < xyP[1];
    } else {
        return xy[0] < xyP[0];
    }
}