OpenMS
Loading...
Searching...
No Matches
MzPAFPeakAnnotations Struct Reference

Multiple mzPAF annotations for a single peak. More...

#include <OpenMS/CHEMISTRY/MzPAF.h>

Collaboration diagram for MzPAFPeakAnnotations:
[legend]

Public Member Functions

bool empty () const
 Check if there are any annotations.
 
size_t size () const
 Get number of annotations.
 
bool operator== (const MzPAFPeakAnnotations &other) const
 Equality comparison.
 
bool operator!= (const MzPAFPeakAnnotations &other) const
 

Public Attributes

std::vector< MzPAFAnnotationannotations
 List of alternative annotations.
 

Detailed Description

Multiple mzPAF annotations for a single peak.

Represents comma-separated alternative annotations for a peak. Example: b2,y4^2 has two annotations.

Member Function Documentation

◆ empty()

bool empty ( ) const
inline

Check if there are any annotations.

◆ operator!=()

bool operator!= ( const MzPAFPeakAnnotations other) const
inline

◆ operator==()

bool operator== ( const MzPAFPeakAnnotations other) const

Equality comparison.

◆ size()

size_t size ( ) const
inline

Get number of annotations.

Member Data Documentation

◆ annotations

std::vector<MzPAFAnnotation> annotations

List of alternative annotations.