|
bool | operator== (const PeptideHit &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const PeptideHit &rhs) const |
| Inequality operator. More...
|
|
std::set< String > | extractProteinAccessionsSet () const |
| extracts the set of non-empty protein accessions from peptide evidences More...
|
|
|
| PeptideHit () |
| Default constructor. More...
|
|
| PeptideHit (double score, UInt rank, Int charge, const AASequence &sequence) |
| Values constructor that copies sequence. More...
|
|
| PeptideHit (double score, UInt rank, Int charge, AASequence &&sequence) |
| Values constructor that moves sequence R-value. More...
|
|
| PeptideHit (const PeptideHit &source) |
| Copy constructor. More...
|
|
| PeptideHit (PeptideHit &&) noexcept |
| Move constructor. More...
|
|
virtual | ~PeptideHit () |
| Destructor. More...
|
|
PeptideHit & | operator= (const PeptideHit &source) |
| Assignment operator. More...
|
|
PeptideHit & | operator= (PeptideHit &&) noexcept |
| Move assignment operator. More...
|
|
|
const AASequence & | getSequence () const |
| returns the peptide sequence More...
|
|
AASequence & | getSequence () |
| returns the mutable peptide sequence More...
|
|
void | setSequence (const AASequence &sequence) |
| sets the peptide sequence More...
|
|
void | setSequence (AASequence &&sequence) |
| sets the peptide sequence More...
|
|
Int | getCharge () const |
| returns the charge of the peptide More...
|
|
void | setCharge (Int charge) |
| sets the charge of the peptide More...
|
|
const std::vector< PeptideEvidence > & | getPeptideEvidences () const |
| returns information on peptides (potentially) identified by this PSM More...
|
|
void | setPeptideEvidences (const std::vector< PeptideEvidence > &peptide_evidences) |
| set information on peptides (potentially) identified by this PSM More...
|
|
void | setPeptideEvidences (std::vector< PeptideEvidence > &&peptide_evidences) |
|
void | addPeptideEvidence (const PeptideEvidence &peptide_evidence) |
| adds information on a peptide that is (potentially) identified by this PSM More...
|
|
double | getScore () const |
| returns the PSM score More...
|
|
void | setScore (double score) |
| sets the PSM score More...
|
|
void | setAnalysisResults (std::vector< PepXMLAnalysisResult > aresult) |
| set information on (search engine) sub scores associated with this PSM More...
|
|
void | addAnalysisResults (const PepXMLAnalysisResult &aresult) |
| add information on (search engine) sub scores associated with this PSM More...
|
|
const std::vector< PepXMLAnalysisResult > & | getAnalysisResults () const |
| returns information on (search engine) sub scores associated with this PSM More...
|
|
UInt | getRank () const |
| returns the PSM rank More...
|
|
void | setRank (UInt newrank) |
| sets the PSM rank More...
|
|
std::vector< PeptideHit::PeakAnnotation > & | getPeakAnnotations () |
| returns the fragment annotations More...
|
|
const std::vector< PeptideHit::PeakAnnotation > & | getPeakAnnotations () const |
|
void | setPeakAnnotations (std::vector< PeptideHit::PeakAnnotation > frag_annotations) |
| sets the fragment annotations More...
|
|
| MetaInfoInterface () |
| Constructor. More...
|
|
| MetaInfoInterface (const MetaInfoInterface &rhs) |
| Copy constructor. More...
|
|
| MetaInfoInterface (MetaInfoInterface &&) noexcept |
| Move constructor. More...
|
|
| ~MetaInfoInterface () |
| Destructor. More...
|
|
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
| Assignment operator. More...
|
|
MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
| Move assignment operator. More...
|
|
void | swap (MetaInfoInterface &rhs) |
| Swap contents. More...
|
|
bool | operator== (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
const DataValue & | getMetaValue (const String &name) const |
| Returns the value corresponding to a string, or DataValue::EMPTY if not found. More...
|
|
DataValue | getMetaValue (const String &name, const DataValue &default_value) const |
| Returns the value corresponding to a string, or a default value (e.g.: DataValue::EMPTY) if not found. More...
|
|
const DataValue & | getMetaValue (UInt index) const |
| Returns the value corresponding to the index, or DataValue::EMPTY if not found. More...
|
|
DataValue | getMetaValue (UInt index, const DataValue &default_value) const |
| Returns the value corresponding to the index, or a default value (e.g.: DataValue::EMPTY) if not found. More...
|
|
bool | metaValueExists (const String &name) const |
| Returns whether an entry with the given name exists. More...
|
|
bool | metaValueExists (UInt index) const |
| Returns whether an entry with the given index exists. More...
|
|
void | setMetaValue (const String &name, const DataValue &value) |
| Sets the DataValue corresponding to a name. More...
|
|
void | setMetaValue (UInt index, const DataValue &value) |
| Sets the DataValue corresponding to an index. More...
|
|
void | removeMetaValue (const String &name) |
| Removes the DataValue corresponding to name if it exists. More...
|
|
void | removeMetaValue (UInt index) |
| Removes the DataValue corresponding to index if it exists. More...
|
|
void | addMetaValues (const MetaInfoInterface &from) |
| function to copy all meta values from one object to this one More...
|
|
void | getKeys (std::vector< String > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
void | getKeys (std::vector< UInt > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
bool | isMetaEmpty () const |
| Returns if the MetaInfo is empty. More...
|
|
void | clearMetaInfo () |
| Removes all meta values. More...
|
|
Representation of a peptide hit.
It contains the fields score, score_type, rank, and sequence.