35 #ifndef OPENMS_KERNEL_FEATUREHANDLE_H
36 #define OPENMS_KERNEL_FEATUREHANDLE_H
114 UInt64 getMapIndex()
const;
118 void setMapIndex(
UInt64 i);
121 void setCharge(ChargeType charge);
124 ChargeType getCharge()
const;
127 void setWidth(WidthType width);
130 WidthType getWidth()
const;
142 std::binary_function<FeatureHandle, FeatureHandle, bool>
196 #endif // OPENMS_KERNEL_FEATUREHANDLE_H
float width_
Width of the feature (FWHM)
Definition: FeatureHandle.h:154
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:55
bool operator()(FeatureHandle const &left, FeatureHandle const &right) const
Definition: FeatureHandle.h:181
void setMapIndex(UInt64 i)
Set the map index.
Size setUniqueId()
Assigns a new, valid unique id. Always returns 1.
Definition: UniqueIdInterface.h:151
Comparator by map and unique id.
Definition: FeatureHandle.h:141
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Int charge_
Charge of the feature.
Definition: FeatureHandle.h:152
A basic LC-MS feature.
Definition: BaseFeature.h:56
Int ChargeType
Charge type.
Definition: FeatureHandle.h:69
friend std::ostream & operator<<(std::ostream &os, const Peak2D &point)
Print the contents to a stream.
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:71
A base class defining a common interface for all classes having a unique id.
Definition: UniqueIdInterface.h:52
UInt64 map_index_
Index of the element's container.
Definition: FeatureHandle.h:150
FeatureHandleMutable_ & asMutable() const
Override (most of all) constness.
Definition: FeatureHandle.h:174
Representation of a Peak2D, RichPeak2D or Feature .
Definition: FeatureHandle.h:58
float WidthType
Feature width type.
Definition: FeatureHandle.h:71
Helper class returned by FeatureHandle::asMutable(), which see.
Definition: FeatureHandle.h:164
int Int
Signed integer type.
Definition: Types.h:96
UInt64 getUniqueId() const
Non-mutable access to unique id - returns the unique id.
Definition: UniqueIdInterface.h:110