ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/cuffcompare/gtf_tracking.h
(Generate patch)
# Line 181 | Line 181
181                          return (ovlen==b.ovlen)? betterRef(mrna, b.mrna) : (ovlen>b.ovlen);
182                  else return rank<b.rank;
183          }
184    bool operator>(COvLink& b) {
185                if (rank==b.rank)
186                        return (ovlen==b.ovlen)? betterRef(b.mrna, mrna) : (ovlen<b.ovlen);
187                else return rank>b.rank;
188        }
184      bool operator==(COvLink& b) {
185                  return (rank==b.rank && mrna==b.mrna);
186          }
# Line 337 | Line 332
332          char getBestCode() {
333                  return (ovls.Count()>0) ? ovls[0]->code : 0 ;
334      }
340        bool operator>(CTData& b) { return (mrna > b.mrna); }
335          bool operator<(CTData& b) { return (mrna < b.mrna); }
336          bool operator==(CTData& b) { return (mrna==b.mrna); }
337   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines