libpappsomspp
Library for mass spectrometry
massdatacombinerinterface.cpp
Go to the documentation of this file.
1 
2 /////////////////////// StdLib includes
3 
4 
5 /////////////////////// Qt includes
6 
7 
8 /////////////////////// pappsomspp includes
9 
10 
11 /////////////////////// Local includes
13 
14 
15 namespace pappso
16 {
17 
18 
20  : m_decimalPlaces(decimal_places)
21 {
22 }
23 
24 
26 {
27 }
28 
29 void
31 {
32  m_decimalPlaces = value;
33 }
34 
35 
36 int
38 {
39  return m_decimalPlaces;
40 }
41 
42 
43 void
45  const FilterResampleKeepXRange &range)
46 {
47  m_filterXRange = range;
48  m_isApplyXRangeFilter = true;
49 }
50 
51 
52 MapTrace &
54  Iterator begin,
55  Iterator end)
56 {
57  for(Iterator iterator = begin; iterator != end; ++iterator)
58  combine(map_trace, *(*iterator));
59 
60  return map_trace;
61 }
62 
63 
64 } // namespace pappso
std::vector< const Trace * >::const_iterator Iterator
int m_decimalPlaces
Number of decimals to use for the keys (x values)
void setFilterResampleKeepXRange(const FilterResampleKeepXRange &range)
virtual MapTrace & combine(MapTrace &map_trace, const Trace &trace) const =0
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39