40 #include <OpenMS/OpenMSConfig.h>
113 UInt64 getMapIndex()
const;
A basic LC-MS feature.
Definition: BaseFeature.h:59
Helper class returned by FeatureHandle::asMutable(), which see.
Definition: FeatureHandle.h:164
FeatureHandleMutable_(const FeatureHandleMutable_ &)
Representation of a Peak2D, RichPeak2D or Feature .
Definition: FeatureHandle.h:60
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:148
FeatureHandleMutable_ & asMutable() const
Override (most of all) constness.
Definition: FeatureHandle.h:172
float WidthType
Feature width type.
Definition: FeatureHandle.h:70
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:68
~FeatureHandle() override
Destructor.
ChargeType getCharge() const
Returns the charge.
float width_
Width of the feature (FWHM)
Definition: FeatureHandle.h:152
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:150
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:55
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:51
UInt64 getUniqueId() const
Non-mutable access to unique id - returns the unique id.
Definition: UniqueIdInterface.h:104
Size setUniqueId()
Assigns a new, valid unique id. Always returns 1.
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
Comparator by map and unique id.
Definition: FeatureHandle.h:141
bool operator()(FeatureHandle const &left, FeatureHandle const &right) const
Definition: FeatureHandle.h:179