BALL::Experiment< PeakListType > Class Template Reference
[NMR spectra and related classes]

#include <BALL/NMR/experiment.h>

Inheritance diagram for BALL::Experiment< PeakListType >:
Inheritance graph
[legend]

List of all members.

Public Types

Typedefs

typedef PeakListType::PeakType PeakType
 The peak type.

Public Member Functions

Constructors and Destructors

 Experiment ()
 Experiment (const Experiment &experiment)
virtual ~Experiment ()
Accessors

const PeakListType & getPeakList () const
const PeakTypegetDefaultPeak () const
void setDefaultPeak (const PeakType &peak)

Protected Attributes

PeakListType peak_list_
PeakType default_peak_

Detailed Description

template<typename PeakListType>
class BALL::Experiment< PeakListType >

Class describing a certain type of NMR experiment. This class (and its subclasses) are used to describe how a list of peaks is derived from the shifts calculated for a system.

Definition at line 34 of file experiment.h.


Member Typedef Documentation

template<typename PeakListType>
typedef PeakListType::PeakType BALL::Experiment< PeakListType >::PeakType

The peak type.

Definition at line 45 of file experiment.h.


Constructor & Destructor Documentation

template<typename PeakListType >
BALL::Experiment< PeakListType >::Experiment (  )  [inline]

Default Constructor

Definition at line 91 of file experiment.h.

template<typename PeakListType >
BALL::Experiment< PeakListType >::Experiment ( const Experiment< PeakListType > &  experiment  )  [inline]

Copy constructor

Definition at line 99 of file experiment.h.

template<typename PeakListType >
BALL::Experiment< PeakListType >::~Experiment (  )  [inline, virtual]

Destructor

Definition at line 107 of file experiment.h.


Member Function Documentation

template<typename PeakListType >
const Experiment< PeakListType >::PeakType & BALL::Experiment< PeakListType >::getDefaultPeak (  )  const [inline]

Return the default peak. This peak can be assigned a default width and intensity that is assigned to all extracted peaks in the peak list. This is the default behaviour and can be overridden in derived classes.

Definition at line 119 of file experiment.h.

template<typename PeakListType >
const PeakListType & BALL::Experiment< PeakListType >::getPeakList (  )  const [inline]

Return the peak list

Definition at line 113 of file experiment.h.

template<typename PeakListType>
void BALL::Experiment< PeakListType >::setDefaultPeak ( const PeakType peak  ) 

Assign the default peak.

See also:
getDefaultPeak

Member Data Documentation

template<typename PeakListType>
PeakType BALL::Experiment< PeakListType >::default_peak_ [protected]

Definition at line 87 of file experiment.h.

template<typename PeakListType>
PeakListType BALL::Experiment< PeakListType >::peak_list_ [protected]

Definition at line 86 of file experiment.h.

Generated by  doxygen 1.6.3