libpappsomspp
Library for mass spectrometry
|
#include <massspectrumcombiner.h>
Public Member Functions | |
MassSpectrumCombiner () | |
Construct an uninitialized instance. More... | |
MassSpectrumCombiner (int decimal_places) | |
MassSpectrumCombiner (std::vector< pappso_double > bins, int decimalPlaces=-1) | |
MassSpectrumCombiner (MassSpectrumCombinerCstSPtr other) | |
MassSpectrumCombiner (const MassSpectrumCombiner &other) | |
MassSpectrumCombiner (const MassSpectrumCombiner &&other) | |
virtual | ~MassSpectrumCombiner () |
Destruct the instance. More... | |
void | setBins (std::vector< pappso_double > bins) |
const std::vector< pappso_double > & | getBins () const |
std::size_t | binCount () const |
QString | binsAsString () const |
![]() | |
MassDataCombinerInterface (int decimal_places=-1) | |
virtual | ~MassDataCombinerInterface () |
void | setDecimalPlaces (int value) |
int | getDecimalPlaces () const |
virtual MapTrace & | combine (MapTrace &map_trace, Iterator begin, Iterator end) |
virtual MapTrace & | combine (MapTrace &map_trace, const Trace &trace) const =0 |
virtual MapTrace & | combine (MapTrace &map_trace_out, const MapTrace &map_trace_in) const =0 |
Protected Member Functions | |
std::vector< pappso_double >::iterator | findBin (pappso_double mz) |
Find the bin that will contain mz . More... | |
Protected Attributes | |
std::vector< pappso_double > | m_bins |
![]() | |
int | m_decimalPlaces = -1 |
Number of decimals to use for the keys (x values) More... | |
Additional Inherited Members | |
![]() | |
using | Iterator = std::vector< const Trace * >::const_iterator |
Definition at line 28 of file massspectrumcombiner.h.
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | ) |
Construct an uninitialized instance.
Definition at line 28 of file massspectrumcombiner.cpp.
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | int | decimal_places | ) |
Definition at line 33 of file massspectrumcombiner.cpp.
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | std::vector< pappso_double > | bins, |
int | decimalPlaces = -1 |
||
) |
Definition at line 39 of file massspectrumcombiner.cpp.
References m_bins.
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | MassSpectrumCombinerCstSPtr | other | ) |
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | const MassSpectrumCombiner & | other | ) |
pappso::MassSpectrumCombiner::MassSpectrumCombiner | ( | const MassSpectrumCombiner && | other | ) |
|
virtual |
std::size_t pappso::MassSpectrumCombiner::binCount | ( | ) | const |
Definition at line 109 of file massspectrumcombiner.cpp.
References m_bins.
QString pappso::MassSpectrumCombiner::binsAsString | ( | ) | const |
|
protected |
Find the bin that will contain mz
.
Definition at line 117 of file massspectrumcombiner.cpp.
References m_bins, and pappso::mz.
const std::vector< pappso_double > & pappso::MassSpectrumCombiner::getBins | ( | ) | const |
Definition at line 102 of file massspectrumcombiner.cpp.
References m_bins.
void pappso::MassSpectrumCombiner::setBins | ( | std::vector< pappso_double > | bins | ) |
|
protected |
Definition at line 48 of file massspectrumcombiner.h.
Referenced by MassSpectrumCombiner(), ~MassSpectrumCombiner(), binCount(), binsAsString(), pappso::MassSpectrumMinusCombiner::combine(), pappso::MassSpectrumPlusCombiner::combine(), findBin(), getBins(), pappso::MassSpectrumMinusCombiner::operator=(), pappso::MassSpectrumPlusCombiner::operator=(), and setBins().