Main Page | Class Hierarchy | Class List | File List | Class Members

AnnotationScore.hpp

00001 
00002 // Copyright (c) 2003, The Institute for Genomic Research (TIGR), Rockville,
00003 // Maryland, U.S.A.  All rights reserved.
00005 bool AnnotationScore::operator<=(const AnnotationScore& score) const {
00006   return _val <= score._val;
00007 }
00008 
00009 bool AnnotationScore::operator>=(const AnnotationScore& score) const {
00010   return _val >= score._val;
00011 }
00012 
00013 bool AnnotationScore::operator>(const AnnotationScore& score) const {
00014   return _val > score._val;
00015 }
00016 
00017 bool AnnotationScore::operator==(const AnnotationScore& score) const {
00018   return _val == score._val;
00019 }
00020 
00021 AnnotationScore operator*(const AnnotationScore& score, double val) {
00022   return AnnotationScore( (score._val*val ));
00023 }