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 
30 void
32 {
33  m_decimalPlaces = value;
34 }
35 
36 
37 int
39 {
40  return m_decimalPlaces;
41 }
42 
43 
44 MapTrace &
46  Iterator begin,
47  Iterator end)
48 {
49  for(Iterator iterator = begin; iterator != end; ++iterator)
50  combine(map_trace, *(*iterator));
51 
52  return map_trace;
53 }
54 
55 
56 } // namespace pappso
std::vector< const Trace * >::const_iterator Iterator
virtual MapTrace & combine(MapTrace &map_trace, Iterator begin, Iterator end)
int m_decimalPlaces
Number of decimals to use for the keys (x values)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39