Initial check in of c++ short read programming library. These classes give functional...
[htsworkflow.git] / htswanalysis / src / SRLib / loci.h
1 #include <string>
2
3 #ifndef LOCI
4 #define LOCI
5
6 using namespace std;
7
8 class Loci {
9   public:
10     string chr;
11     unsigned int pos;
12
13     Loci(string chr, unsigned int pos);
14     Loci(const Loci& l);
15     Loci& operator=(const Loci& l);
16
17     bool operator<(const Loci& a) const;
18     bool operator<=(const Loci& a) const;
19     bool operator>=(const Loci& a) const;
20     bool operator>(const Loci& a) const;
21 };
22
23 #endif