  | 
  
    OpenMS
    2.5.0
    
   | 
 
 
 
  
  
 
Go to the documentation of this file.
   88     class OPENMS_DLLAPI ScoreMore
 
   92       template <
typename Arg>
 
   95 #pragma clang diagnostic push 
   96 #pragma clang diagnostic ignored "-Wfloat-equal" 
   97         if (a.getScore() != b.getScore())
 
   98 #pragma clang diagnostic pop
 
  100           return a.getScore() > b.getScore();
 
  102         return a.getAccession() > b.getAccession();
 
  111       template <
typename Arg>
 
  114 #pragma clang diagnostic push 
  115 #pragma clang diagnostic ignored "-Wfloat-equal" 
  116         if (a.getScore() != b.getScore())
 
  117 #pragma clang diagnostic pop
 
  119           return a.getScore() < b.getScore();
 
  121         return a.getAccession() < b.getAccession();
 
  164     double getScore() 
const;
 
  167     UInt getRank() 
const;
 
  170     const String & getSequence() 
const;
 
  173     const String & getAccession() 
const;
 
  176     String getDescription() 
const;
 
  179     double getCoverage() 
const;
 
  182     void setScore(
const double score);
 
  185     void setRank(
UInt newrank);
 
  188     void setSequence(
const String & sequence);
 
  191     void setAccession(
const String & accession);
 
  194     void setDescription(
const String & description);
 
  197     void setCoverage(
const double coverage);
 
  200     const std::set<std::pair<Size, ResidueModification> >& getModifications() 
const;
 
  203     void setModifications(std::set<std::pair<Size, ResidueModification> >& mods);
 
  
double coverage_
coverage of the protein based upon the matched peptide sequences
Definition: ProteinHit.h:211
 
Lesser predicate for scores of hits.
Definition: ProteinHit.h:108
 
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:112
 
size_t operator()(const ProteinHit *p)
Definition: ProteinHit.h:78
 
A more convenient string class.
Definition: String.h:58
 
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
 
Representation of a protein hit.
Definition: ProteinHit.h:57
 
double score_
the score of the protein hit
Definition: ProteinHit.h:207
 
size_t operator()(const ProteinHit &p)
Definition: ProteinHit.h:69
 
Definition: ProteinHit.h:75
 
const String & getAccession() const
returns the accession of the protein
 
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
 
static const double COVERAGE_UNKNOWN
Definition: ProteinHit.h:61
 
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
 
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:93
 
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
 
std::set< std::pair< Size, ResidueModification > > modifications_
modified positions in a protein
Definition: ProteinHit.h:212
 
Hash of a ProteinHit based on its accession only!
Definition: ProteinHit.h:66
 
String sequence_
the amino acid sequence of the protein hit
Definition: ProteinHit.h:210
 
String accession_
the protein identifier
Definition: ProteinHit.h:209
 
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: ProteinHit.h:208