14 #include <OpenMS/OpenMSConfig.h>
87 UInt64 getMapIndex()
const;
A basic LC-MS feature.
Definition: BaseFeature.h:33
Helper class returned by FeatureHandle::asMutable(), which see.
Definition: FeatureHandle.h:138
FeatureHandleMutable_(const FeatureHandleMutable_ &)
Representation of a Peak2D, RichPeak2D or Feature .
Definition: FeatureHandle.h:34
FeatureHandle(UInt64 map_index, const BaseFeature &feature)
Constructor from map index and basic feature.
bool operator!=(const FeatureHandle &i) const
Equality operator.
bool operator==(const FeatureHandle &i) const
Equality operator.
UInt64 map_index_
Index of the element's container.
Definition: FeatureHandle.h:122
FeatureHandleMutable_ & asMutable() const
Override (most of all) constness.
Definition: FeatureHandle.h:146
float WidthType
Feature width type.
Definition: FeatureHandle.h:44
void setMapIndex(UInt64 i)
Set the map index.
FeatureHandle & operator=(const FeatureHandle &rhs)
Assignment operator.
void setWidth(WidthType width)
Sets the width (FWHM)
FeatureHandle(const FeatureHandle &rhs)
Copy constructor.
WidthType getWidth() const
Returns the width (FWHM)
Int ChargeType
Charge type.
Definition: FeatureHandle.h:42
~FeatureHandle() override
Destructor.
ChargeType getCharge() const
Returns the charge.
float width_
Width of the feature (FWHM)
Definition: FeatureHandle.h:126
FeatureHandle(UInt64 map_index, const Peak2D &point, UInt64 element_index)
Constructor with map index, element index and position.
void setCharge(ChargeType charge)
Sets the charge.
Int charge_
Charge of the feature.
Definition: FeatureHandle.h:124
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:29
friend std::ostream & operator<<(std::ostream &os, const Peak2D &point)
Print the contents to a stream.
A base class defining a common interface for all classes having a unique id.
Definition: UniqueIdInterface.h:25
UInt64 getUniqueId() const
Non-mutable access to unique id - returns the unique id.
Definition: UniqueIdInterface.h:78
Size setUniqueId()
Assigns a new, valid unique id. Always returns 1.
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:51
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Comparator by map and unique id.
Definition: FeatureHandle.h:115
bool operator()(FeatureHandle const &left, FeatureHandle const &right) const
Definition: FeatureHandle.h:153