#include <shiftModule.h>
Inheritance diagram for ShiftModule:
Public Member Functions | |
Constructors and Destructors | |
ShiftModule () throw () | |
Default Constructor. | |
ShiftModule (Parameters ¶meters, const String &name="") throw () | |
Detailed constructor. | |
ShiftModule (const ShiftModule &module) throw () | |
Copy constructor. | |
virtual | ~ShiftModule () throw () |
Destructor. | |
virtual void | clear () throw () |
Clear method. | |
Assignment | |
const ShiftModule & | operator= (const ShiftModule &module) throw () |
Assignment operator. | |
Accessors | |
void | setName (const String &name) throw () |
Set the modules name. | |
const String & | getName () const throw () |
Return the module name. | |
void | setParameters (Parameters ¶meters) throw () |
Set the parameters. | |
const Parameters * | getParameters () const throw () |
Return a pointer to the parameters. | |
virtual void | init () throw () |
Parameter initalization. | |
Processor related methods | |
virtual bool | start () throw () |
Start method. | |
virtual bool | finish () throw () |
Finish method. | |
Predicates | |
bool | isValid () const throw () |
Return the module state. | |
Static Public Attributes | |
Enums and Constants | |
const char * | PROPERTY__SHIFT |
Named property to store the shift values. | |
Protected Attributes | |
String | module_name_ |
Parameters * | parameters_ |
bool | valid_ |
NMR shift models typically consist of a number of different contributions (e.g. ring current, ansisotopy, etc.). Each of these contributions is implemented in a ShiftModule. Several of these ShiftModules can then be combined to a complete ShiftModel . Since ShiftModules are derived from UnaryProcessor , they can be applied to arbitrary kernel data structures.
|
Clear method. Clear the name and the pointer to the parameters. Reimplemented in ShiftModel. |
|
Finish method. This method aborts, if the module is not correctly initialized.
Reimplemented from UnaryProcessor< Composite >. Reimplemented in AnisotropyShiftProcessor, EFShiftProcessor, HaighMallionShiftProcessor, HBondShiftProcessor, JohnsonBoveyShiftProcessor, and ShiftModel. |
|
Parameter initalization. Use this method to implement the extraction and initialization of the module's parameters. init is called by ShiftModel as soon as the ShiftModule is constructed and parameters and name are assigned.
Reimplemented in AnisotropyShiftProcessor, EFShiftProcessor, HaighMallionShiftProcessor, HBondShiftProcessor, JohnsonBoveyShiftProcessor, and RandomCoilShiftProcessor. |
|
Return the module state. The module is valid if init was executed successfully.
Reimplemented in ShiftModel. |
|
Set the parameters. After the assignment, the state of the module is {invalid}, so it is required to run init .
|
|
Start method. This method aborts, if the module is not correctly initialized.
Reimplemented from UnaryProcessor< Composite >. Reimplemented in CreateSpectrumProcessor, EFShiftProcessor, SimpleExperiment1D, HBondShiftProcessor, JohnsonBoveyShiftProcessor, and ShiftModel. |
|
Named property to store the shift values. Use this string constant to access the shift values stored in the single atoms.
|