Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

RandomCoilShiftProcessor Class Reference
[Shift modules]

Random coil shift assignment processor. More...

#include <randomCoilShiftProcessor.h>

Inheritance diagram for RandomCoilShiftProcessor:

ShiftModule UnaryProcessor< Composite > UnaryFunctor< Composite, Processor::Result > List of all members.

Public Member Functions

Constructors and Destructors
 RandomCoilShiftProcessor () throw ()
 Default constructor.
 RandomCoilShiftProcessor (const RandomCoilShiftProcessor &processor) throw ()
 Copy constructor.
virtual ~RandomCoilShiftProcessor () throw ()
 Destructor.
Accessors
virtual void init () throw ()
 Initialize the module.
Processor specific functions.
virtual Processor::Result operator() (Composite &composite) throw ()
 Application method.

Static Public Attributes

Enums and Constants
const char * PROPERTY__RANDOM_COIL_SHIFT
 A symbolic name for the random coil contribution to the chemical shift.

Protected Attributes

StringHashMap< float > shift_map_

Detailed Description

Random coil shift assignment processor.


Constructor & Destructor Documentation

RandomCoilShiftProcessor::RandomCoilShiftProcessor  )  throw ()
 

Default constructor.

RandomCoilShiftProcessor::RandomCoilShiftProcessor const RandomCoilShiftProcessor processor  )  throw ()
 

Copy constructor.


Member Function Documentation

virtual void RandomCoilShiftProcessor::init  )  throw () [virtual]
 

Initialize the module.

This method fails if no Parameters object was assigned or the parameter file does not contain the proper section (RandomCoilShifts). If it terminates correctly, the module is valid.

See also:
isValid

Reimplemented from ShiftModule.

virtual Processor::Result RandomCoilShiftProcessor::operator() Composite composite  )  throw () [virtual]
 

Application method.

If current object is a Atom of kind Hydrogen its random coil shift has to be looked up in rc_table. Get Hydrogens residue name append ":" and its name, the lookup entry is reconstruced. If this entry is found within the table the randomcoil shift is added to the Hydrogens chemical shift. If this entry is not found the random coil shift is set to 1000 and added as well to the Hydrogens chemical shift, to mark that Hydrogen not to have a random coil shift table entry.

Reimplemented from UnaryProcessor< Composite >.


Member Data Documentation

const char* RandomCoilShiftProcessor::PROPERTY__RANDOM_COIL_SHIFT [static]
 

A symbolic name for the random coil contribution to the chemical shift.

See also:
ShiftModule::PROPERTY__SHIFT