massdatacombinerinterface.cpp
Go to the documentation of this file.
/////////////////////// StdLib includes
/////////////////////// Qt includes
/////////////////////// pappsomspp includes
/////////////////////// Local includes
#include "massdatacombinerinterface.h"
namespace pappso
{
MassDataCombinerInterface::MassDataCombinerInterface(int decimal_places)
: m_decimalPlaces(decimal_places)
{
}
MassDataCombinerInterface::~MassDataCombinerInterface()
{
}
void
MassDataCombinerInterface::setDecimalPlaces(int value)
{
m_decimalPlaces = value;
}
int
MassDataCombinerInterface::getDecimalPlaces() const
{
return m_decimalPlaces;
}
MapTrace &
MassDataCombinerInterface::combine(MapTrace &map_trace,
Iterator begin,
Iterator end)
{
for(Iterator iterator = begin; iterator != end; ++iterator)
combine(map_trace, *(*iterator));
return map_trace;
}
} // namespace pappso
pappso::MapTrace
Definition: maptrace.h:33
pappso::MassDataCombinerInterface::Iterator
std::vector< const Trace * >::const_iterator Iterator
Definition: massdatacombinerinterface.h:35
pappso::MassDataCombinerInterface::combine
virtual MapTrace & combine(MapTrace &map_trace, Iterator begin, Iterator end)
Definition: massdatacombinerinterface.cpp:45
pappso::MassDataCombinerInterface::getDecimalPlaces
int getDecimalPlaces() const
Definition: massdatacombinerinterface.cpp:38
pappso::MassDataCombinerInterface::m_decimalPlaces
int m_decimalPlaces
Number of decimals to use for the keys (x values)
Definition: massdatacombinerinterface.h:44
pappso::MassDataCombinerInterface::setDecimalPlaces
void setDecimalPlaces(int value)
Definition: massdatacombinerinterface.cpp:31
pappso::MassDataCombinerInterface::MassDataCombinerInterface
MassDataCombinerInterface(int decimal_places=-1)
Definition: massdatacombinerinterface.cpp:19
pappso::MassDataCombinerInterface::~MassDataCombinerInterface
virtual ~MassDataCombinerInterface()
Definition: massdatacombinerinterface.cpp:25
massdatacombinerinterface.h
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39