|
OpenMS
2.6.0
|
Go to the documentation of this file.
82 position_(p.position_),
83 intensity_(p.intensity_)
88 position_(retention_time),
173 if (
this == &rhs)
return *
this;
184 #pragma clang diagnostic push
185 #pragma clang diagnostic ignored "-Wfloat-equal"
187 #pragma clang diagnostic pop
203 struct IntensityLess :
205 std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
231 public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
240 return left.
getRT() < right;
245 return left < right.
getRT();
257 public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
ChromatogramPeak(const ChromatogramPeak &p)
Copy constructor.
Definition: ChromatogramPeak.h:81
ChromatogramPeak(const PositionType retention_time, const IntensityType intensity)
Constructor with position and intensity.
Definition: ChromatogramPeak.h:87
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:259
ChromatogramPeak & operator=(const ChromatogramPeak &rhs)
Assignment operator.
Definition: ChromatogramPeak.h:171
bool operator()(const PositionType &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:269
bool operator()(IntensityType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:217
void setPos(CoordinateType pos)
Alias for setRT()
Definition: ChromatogramPeak.h:133
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:233
CoordinateType getMZ() const
Alias for getRT()
Definition: ChromatogramPeak.h:139
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:112
PositionType position_
The data point position.
Definition: ChromatogramPeak.h:282
const PositionType & getPosition() const
Non-mutable access to the position.
Definition: ChromatogramPeak.h:151
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
~ChromatogramPeak()
Destructor.
Definition: ChromatogramPeak.h:100
Comparator by RT position.
Definition: ChromatogramPeak.h:230
CoordinateType getPos() const
Alias for getRT()
Definition: ChromatogramPeak.h:127
bool operator()(ChromatogramPeak const &left, CoordinateType right) const
Definition: ChromatogramPeak.h:238
bool operator()(CoordinateType left, CoordinateType right) const
Definition: ChromatogramPeak.h:248
bool operator()(IntensityType left, IntensityType right) const
Definition: ChromatogramPeak.h:222
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess.
Definition: ChromatogramPeak.h:256
bool operator()(const ChromatogramPeak &left, const PositionType &right) const
Definition: ChromatogramPeak.h:264
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:53
DPosition< 1 > PositionType
Position type.
Definition: ChromatogramPeak.h:65
bool operator()(const PositionType &left, const PositionType &right) const
Definition: ChromatogramPeak.h:274
bool operator==(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:182
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
CoordinateType getRT() const
Non-mutable access to RT.
Definition: ChromatogramPeak.h:115
void setMZ(CoordinateType rt)
Alias for setRT()
Definition: ChromatogramPeak.h:145
bool operator()(ChromatogramPeak const &left, IntensityType right) const
Definition: ChromatogramPeak.h:212
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
IntensityType intensity_
The data point intensity.
Definition: ChromatogramPeak.h:284
IntensityType getIntensity() const
Non-mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:110
void setRT(CoordinateType rt)
Mutable access to RT.
Definition: ChromatogramPeak.h:121
bool operator!=(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:191
bool operator()(ChromatogramPeak const &left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:207
double CoordinateType
Coordinate type.
Definition: ChromatogramPeak.h:67
PositionType & getPosition()
Mutable access to the position.
Definition: ChromatogramPeak.h:157
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561
bool operator()(CoordinateType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:243
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: ChromatogramPeak.h:163
double IntensityType
Intensity type.
Definition: ChromatogramPeak.h:63