35 #ifndef OPENMS_KERNEL_BASEFEATURE_H 36 #define OPENMS_KERNEL_BASEFEATURE_H 43 class PeptideIdentification;
76 SIZE_OF_ANNOTATIONSTATE
79 static const std::string NamesOfAnnotationState[SIZE_OF_ANNOTATIONSTATE];
104 QualityType getQuality()
const;
107 void setQuality(QualityType q);
110 std::binary_function<BaseFeature, BaseFeature, bool>
127 bool operator()(
const QualityType& left,
const QualityType& right)
const 136 WidthType getWidth()
const;
138 void setWidth(WidthType fwhm);
141 const ChargeType& getCharge()
const;
144 void setCharge(
const ChargeType& ch);
156 const std::vector<PeptideIdentification>& getPeptideIdentifications()
const;
159 std::vector<PeptideIdentification>& getPeptideIdentifications();
162 void setPeptideIdentifications(
const std::vector<PeptideIdentification>& peptides);
184 #endif // OPENMS_KERNEL_BASEFEATURE_H bool operator()(const BaseFeature &left, const QualityType &right) const
Definition: BaseFeature.h:117
Definition: BaseFeature.h:72
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:55
Int ChargeType
Type of charge values.
Definition: BaseFeature.h:65
Compare by quality.
Definition: BaseFeature.h:109
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
QualityType getQuality() const
Non-mutable access to the overall quality.
A basic LC-MS feature.
Definition: BaseFeature.h:56
bool operator()(const QualityType &left, const BaseFeature &right) const
Definition: BaseFeature.h:122
Definition: BaseFeature.h:74
QualityType quality_
Overall quality measure of the feature.
Definition: BaseFeature.h:170
bool operator()(const QualityType &left, const QualityType &right) const
Definition: BaseFeature.h:127
Definition: BaseFeature.h:73
WidthType width_
Width (FWHM) for the feature. The default value is 0.0, a feature finding algorithm can compute this ...
Definition: BaseFeature.h:176
Definition: BaseFeature.h:75
bool operator()(const BaseFeature &left, const BaseFeature &right) const
Definition: BaseFeature.h:112
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
A 2-dimensional raw data point or peak with meta information.
Definition: RichPeak2D.h:53
float WidthType
Type of feature width/FWHM (RT)
Definition: BaseFeature.h:67
AnnotationState
state of identification, use getIDState() to query it
Definition: BaseFeature.h:70
std::vector< PeptideIdentification > peptides_
Peptide PeptideIdentifications belonging to the feature.
Definition: BaseFeature.h:179
int Int
Signed integer type.
Definition: Types.h:103
ChargeType charge_
Charge of the peptide represented by this feature. The default value is 0, which represents an unknow...
Definition: BaseFeature.h:173