libpappsomspp
Library for mass spectrometry
|
#include <massdatacombinerinterface.h>
Public Types | |
using | Iterator = std::vector< const Trace * >::const_iterator |
Public Member Functions | |
MassDataCombinerInterface (int decimal_places=-1) | |
virtual | ~MassDataCombinerInterface () |
void | setDecimalPlaces (int value) |
int | getDecimalPlaces () const |
void | setFilterResampleKeepXRange (const FilterResampleKeepXRange &range) |
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 |
virtual MapTrace & | combine (MapTrace &map_trace, Iterator begin, Iterator end) |
Protected Attributes | |
int | m_decimalPlaces = -1 |
Number of decimals to use for the keys (x values) More... | |
bool | m_isApplyXRangeFilter = false |
FilterResampleKeepXRange | m_filterXRange |
Definition at line 23 of file massdatacombinerinterface.h.
using pappso::MassDataCombinerInterface::Iterator = std::vector<const Trace *>::const_iterator |
Definition at line 39 of file massdatacombinerinterface.h.
pappso::MassDataCombinerInterface::MassDataCombinerInterface | ( | int | decimal_places = -1 | ) |
Definition at line 19 of file massdatacombinerinterface.cpp.
|
virtual |
Definition at line 25 of file massdatacombinerinterface.cpp.
|
pure virtual |
Implemented in pappso::TraceMinusCombiner, pappso::TracePlusCombiner, and pappso::MassSpectrumCombiner.
Referenced by combine().
|
virtual |
|
pure virtual |
Implemented in pappso::TraceMinusCombiner, pappso::TracePlusCombiner, and pappso::MassSpectrumCombiner.
int pappso::MassDataCombinerInterface::getDecimalPlaces | ( | ) | const |
Definition at line 37 of file massdatacombinerinterface.cpp.
References m_decimalPlaces.
void pappso::MassDataCombinerInterface::setDecimalPlaces | ( | int | value | ) |
Definition at line 30 of file massdatacombinerinterface.cpp.
References m_decimalPlaces.
void pappso::MassDataCombinerInterface::setFilterResampleKeepXRange | ( | const FilterResampleKeepXRange & | range | ) |
Definition at line 44 of file massdatacombinerinterface.cpp.
References m_filterXRange, and m_isApplyXRangeFilter.
|
protected |
Number of decimals to use for the keys (x values)
Definition at line 44 of file massdatacombinerinterface.h.
Referenced by pappso::TraceMinusCombiner::combine(), pappso::TracePlusCombiner::combine(), pappso::MassSpectrumPlusCombiner::combineNoFilteringStep(), pappso::MassSpectrumMinusCombiner::combineNoFilteringStep(), getDecimalPlaces(), and setDecimalPlaces().
|
protected |
Definition at line 48 of file massdatacombinerinterface.h.
Referenced by pappso::TracePlusCombiner::combine(), pappso::MassSpectrumCombiner::combine(), and setFilterResampleKeepXRange().
|
protected |
Definition at line 46 of file massdatacombinerinterface.h.
Referenced by pappso::TracePlusCombiner::combine(), pappso::MassSpectrumCombiner::combine(), and setFilterResampleKeepXRange().