|
OpenMS
2.5.0
|
Go to the documentation of this file.
83 position_(p.position_),
84 intensity_(p.intensity_)
89 position_(retention_time),
174 if (
this == &rhs)
return *
this;
185 #pragma clang diagnostic push
186 #pragma clang diagnostic ignored "-Wfloat-equal"
188 #pragma clang diagnostic pop
204 struct IntensityLess :
206 std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
232 public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
241 return left.
getRT() < right;
246 return left < right.
getRT();
258 public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
ChromatogramPeak(const ChromatogramPeak &p)
Copy constructor.
Definition: ChromatogramPeak.h:82
ChromatogramPeak(const PositionType retention_time, const IntensityType intensity)
Constructor with position and intensity.
Definition: ChromatogramPeak.h:88
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:260
ChromatogramPeak & operator=(const ChromatogramPeak &rhs)
Assignment operator.
Definition: ChromatogramPeak.h:172
bool operator()(const PositionType &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:270
bool operator()(IntensityType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:218
void setPos(CoordinateType pos)
Alias for setRT()
Definition: ChromatogramPeak.h:134
bool operator()(const ChromatogramPeak &left, const ChromatogramPeak &right) const
Definition: ChromatogramPeak.h:234
CoordinateType getMZ() const
Alias for getRT()
Definition: ChromatogramPeak.h:140
void setIntensity(IntensityType intensity)
Mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:113
PositionType position_
The data point position.
Definition: ChromatogramPeak.h:283
const PositionType & getPosition() const
Non-mutable access to the position.
Definition: ChromatogramPeak.h:152
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
~ChromatogramPeak()
Destructor.
Definition: ChromatogramPeak.h:101
Comparator by RT position.
Definition: ChromatogramPeak.h:231
CoordinateType getPos() const
Alias for getRT()
Definition: ChromatogramPeak.h:128
bool operator()(ChromatogramPeak const &left, CoordinateType right) const
Definition: ChromatogramPeak.h:239
bool operator()(CoordinateType left, CoordinateType right) const
Definition: ChromatogramPeak.h:249
bool operator()(IntensityType left, IntensityType right) const
Definition: ChromatogramPeak.h:223
Comparator by position. As this class has dimension 1, this is basically an alias for RTLess.
Definition: ChromatogramPeak.h:257
bool operator()(const ChromatogramPeak &left, const PositionType &right) const
Definition: ChromatogramPeak.h:265
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:54
DPosition< 1 > PositionType
Position type.
Definition: ChromatogramPeak.h:66
bool operator()(const PositionType &left, const PositionType &right) const
Definition: ChromatogramPeak.h:275
bool operator==(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:183
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
CoordinateType getRT() const
Non-mutable access to RT.
Definition: ChromatogramPeak.h:116
void setMZ(CoordinateType rt)
Alias for setRT()
Definition: ChromatogramPeak.h:146
bool operator()(ChromatogramPeak const &left, IntensityType right) const
Definition: ChromatogramPeak.h:213
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
IntensityType intensity_
The data point intensity.
Definition: ChromatogramPeak.h:285
IntensityType getIntensity() const
Non-mutable access to the data point intensity (height)
Definition: ChromatogramPeak.h:111
void setRT(CoordinateType rt)
Mutable access to RT.
Definition: ChromatogramPeak.h:122
bool operator!=(const ChromatogramPeak &rhs) const
Equality operator.
Definition: ChromatogramPeak.h:192
bool operator()(ChromatogramPeak const &left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:208
double CoordinateType
Coordinate type.
Definition: ChromatogramPeak.h:68
PositionType & getPosition()
Mutable access to the position.
Definition: ChromatogramPeak.h:158
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561
bool operator()(CoordinateType left, ChromatogramPeak const &right) const
Definition: ChromatogramPeak.h:244
void setPosition(PositionType const &position)
Mutable access to the position.
Definition: ChromatogramPeak.h:164
double IntensityType
Intensity type.
Definition: ChromatogramPeak.h:64