7 #ifndef BALL_NMR_PEAKLIST_H
8 #define BALL_NMR_PEAKLIST_H
10 #ifndef BALL_NMR_PEAK_H
14 #ifndef BALL_COMMON_LIMITS_H
25 template <
typename PT>
27 :
public std::list<PT>
63 : std::list<
PT>(peak_list)
83 Iterator it = std::list<PT>::begin();
84 for (; it != std::list<PT>::end(); ++it)
86 it->setIntensity(it->getIntensity() * x);
97 for (; it != std::list<PT>::end(); ++it)
99 max =
std::max(max, it->getIntensity());
112 for (; it != std::list<PT>::end(); ++it)
114 min =
std::min(min, it->getIntensity());
141 #endif // BALL_NMR_PEAKLIST_H