35 #ifndef OPENMS_METADATA_PEPTIDEHIT_H 
   36 #define OPENMS_METADATA_PEPTIDEHIT_H 
   61     class OPENMS_DLLAPI ScoreMore
 
   65       template <
typename Arg>
 
   68         return a.getScore() > b.getScore();
 
   77       template <
typename Arg>
 
   80         return a.getScore() < b.getScore();
 
  108     bool operator==(
const PeptideHit & rhs) 
const;
 
  111     bool operator!=(
const PeptideHit & rhs) 
const;
 
  120     UInt getRank() 
const;
 
  126     Int getCharge() 
const;
 
  129     const std::vector<String> & getProteinAccessions() 
const;
 
  132     void setProteinAccessions(
const std::vector<String> & accessions);
 
  138     void setRank(
UInt newrank);
 
  141     void setSequence(
const AASequence & sequence);
 
  144     void setCharge(
Int charge);
 
  147     void addProteinAccession(
const String & accession);
 
  150     void setAABefore(
char acid);
 
  152     char getAABefore() 
const;
 
  155     void setAAAfter(
char acid);
 
  157     char getAAAfter() 
const;
 
  176 #endif // OPENMS_METADATA_PEPTIDEHIT_H 
A more convenient string class. 
Definition: String.h:56
UInt rank_
the position(rank) where the hit appeared in the hit list 
Definition: PeptideHit.h:165
Representation of a peptide/protein sequence. 
Definition: AASequence.h:84
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:66
char aa_before_
Amino acid before the sequence. 
Definition: PeptideHit.h:168
std::vector< String > corresponding_protein_accessions_
the accessions of the corresponding proteins 
Definition: PeptideHit.h:170
Representation of a peptide hit. 
Definition: PeptideHit.h:54
DoubleReal score_
the score of the peptide hit 
Definition: PeptideHit.h:164
Int charge_
the charge of the peptide 
Definition: PeptideHit.h:166
Lesser predicate for scores of hits. 
Definition: PeptideHit.h:74
int Int
Signed integer type. 
Definition: Types.h:100
char aa_after_
Amino acid after the sequence. 
Definition: PeptideHit.h:169
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:78
AASequence sequence_
the amino acid sequence of the peptide hit 
Definition: PeptideHit.h:167