BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Attributes | List of all members
BALL::Experiment< PeakListType > Class Template Reference

#include <BALL/NMR/experiment.h>

Inheritance diagram for BALL::Experiment< PeakListType >:
BALL::ShiftModule BALL::UnaryProcessor< Composite > BALL::UnaryFunctor< Composite, Processor::Result > BALL::SimpleExperiment1D

Public Types

Typedefs
typedef PeakListType::PeakType PeakType
 The peak type. More...
 
- Public Types inherited from BALL::UnaryFunctor< Composite, Processor::Result >
typedef Processor::Result result_type
 
typedef Composite argument_type
 
typedef Compositeargument_reference
 
typedef const Compositeconst_argument_reference
 
typedef Compositeargument_pointer
 
typedef const Compositeconst_argument_pointer
 

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)
 
- Public Member Functions inherited from BALL::ShiftModule
 ShiftModule ()
 
 ShiftModule (Parameters &parameters, const String &name="")
 
 ShiftModule (const ShiftModule &module)
 
virtual ~ShiftModule ()
 
virtual void clear ()
 
const ShiftModuleoperator= (const ShiftModule &module)
 
void setName (const String &name)
 
const StringgetName () const
 
void setParameters (Parameters &parameters)
 
const ParametersgetParameters () const
 
virtual void init ()
 
virtual bool start ()
 
virtual bool finish ()
 
bool isValid () const
 
- Public Member Functions inherited from BALL::UnaryProcessor< Composite >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual Processor::Result operator() (Composite &)
 

Protected Attributes

PeakListType peak_list_
 
PeakType default_peak_
 
- Protected Attributes inherited from BALL::ShiftModule
String module_name_
 
Parametersparameters_
 
bool valid_
 

Additional Inherited Members

- Static Public Attributes inherited from BALL::ShiftModule
static const char * PROPERTY__SHIFT
 
static const char * PROPERTY__EXPERIMENTAL__SHIFT
 

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 ( )

Default Constructor

Definition at line 91 of file experiment.h.

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

Copy constructor

Definition at line 99 of file experiment.h.

template<typename PeakListType >
BALL::Experiment< PeakListType >::~Experiment ( )
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

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

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

Definition at line 125 of file experiment.h.

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.