7 #ifndef BALL_NMR_EXPERIMENT_H
8 #define BALL_NMR_EXPERIMENT_H
10 #ifndef BALL_NMR_PEAKLIST_H
14 #ifndef BALL_NMR_SHIFTMODULE_H
18 #ifndef BALL_KERNEL_EXPRESSION_H
33 template <
typename PeakListType>
44 typedef typename PeakListType::PeakType
PeakType;
69 const PeakListType& getPeakList()
const;
77 const PeakType& getDefaultPeak()
const;
82 void setDefaultPeak(
const PeakType& peak);
90 template <
typename PeakListType>
98 template <
typename PeakListType>
101 peak_list_(experiment.peak_list_),
102 default_peak_(experiment.default_peak_)
106 template <
typename PeakListType>
112 template <
typename PeakListType>
118 template <
typename PeakListType>
121 return default_peak_;
124 template <
typename PeakListType>
127 default_peak_ = peak;
202 void setExpression(
const String& expression);
214 #endif // BALL_NMR_EXPERIMENT_H
#define BALL_CREATE(name)
Experiment< PeakList1D > Experiment1D
void setDefaultPeak(const PeakType &peak)
Experiment< PeakList3D > Experiment3D
const PeakType & getDefaultPeak() const
const PeakListType & getPeakList() const
PeakListType::PeakType PeakType
The peak type.