|
| | DimMZ () |
| |
| std::unique_ptr< DimBase > | clone () const override |
| | Copy derived objects to avoid slicing when dealing with pointers to DimBase.
|
| |
| ValueType | map (const Peak1D &p) const override |
| |
| ValueType | map (const Peak2D &p) const override |
| |
| ValueType | map (const ChromatogramPeak &) const override |
| |
| ValueType | map (const MSExperiment::ConstAreaIterator &it) const override |
| |
| ValueType | map (const MobilityPeak1D &) const override |
| |
| ValueType | map (const MobilityPeak2D &p) const override |
| |
| ValueType | map (const MSSpectrum &spec, const Size index) const override |
| | obtain value from a certain point in a spectrum
|
| |
| ValueType | map (const MSChromatogram &chrom, const Size) const override |
| | obtain value from a certain point in a chromatogram
|
| |
| ValueType | map (const Mobilogram &, const Size) const override |
| | obtain value from a certain point in a mobilogram
|
| |
| ValueTypes | map (const MSSpectrum &spec) const override |
| |
| ValueTypes | map (const MSChromatogram &) const override |
| |
| ValueType | map (const BaseFeature &bf) const override |
| |
| ValueType | map (const PeptideIdentification &pi) const override |
| |
| RangeBase | map (const RangeAllType &rm) const override |
| | Return the min/max (range) for a certain dimension.
|
| |
| RangeBase & | map (RangeAllType &rm) const override |
| | Return the min/max (range) for a certain dimension (i.e. a reference to the base class of rm)
|
| |
| void | setRange (const RangeBase &in, RangeAllType &out) const override |
| | Set the min/max (range) in out for a certain dimension.
|
| |
| void | fromXY (const ValueType in, Peak1D &p) const override |
| | set the MZ of a Peak1D
|
| |
| void | fromXY (const ValueType, ChromatogramPeak &) const override |
| | set the MZ of a ChromatogramPeak (throws)
|
| |
| void | fromXY (const ValueType, MobilityPeak1D &) const override |
| | set the MZ of a MobilityPeak1D (throws)
|
| |
| void | fromXY (const ValueType in, MobilityPeak2D &p) const override |
| | set the MZ of a MobilityPeak2D (throws)
|
| |
| | DimBase ()=delete |
| | No default c'tor.
|
| |
| | DimBase (DIM_UNIT unit) |
| | Custom c'tor with unit.
|
| |
| DimBase & | operator= (const DimBase &rhs)=default |
| | Assignment operator.
|
| |
| virtual | ~DimBase () noexcept=default |
| | D'tor (needs to be virtual; we are holding pointers to base in DimMapper)
|
| |
| bool | operator== (const DimBase &rhs) const |
| | Equality.
|
| |
| std::string_view | getDimName () const |
| | Name of the dimension, e.g. 'RT [s]'.
|
| |
| std::string_view | getDimNameShort () const |
| | Name of the dimension, e.g. 'RT'.
|
| |
| DIM_UNIT | getUnit () const |
| | The unit of the dimension.
|
| |
| String | formattedValue (const ValueType value) const |
| | Creates a short string representation with "UNIT: value", where value has a predefined precision (see valuePrecision())
|
| |
| String | formattedValue (ValueType value, const String &prefix) const |
| | like formattedValue() but with a custom unit prefix instead of the default one for the dim, e.g. "myText: 45.32"
|
| |
| int | valuePrecision () const |
| | return the recommended precision for the current unit (2 digits for RT, 8 for m/z, etc)
|
| |
Dimension implementation for m/z values.
This class implements the DimBase interface for the mass-to-charge ratio dimension. It provides methods to access m/z values from various data structures and convert between m/z values and generic dimension values.
- See also
- DimBase